Create price method
Create a price method that you can use to set up the SKU price. Price method can be created based on SKU quantity, dimension of the SKU, or any other strategy that aligns with the business.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
A unique identifier obtained from Copilot for the System app in the fabric ecosystem, essential for OpenID Connect authentication flows.
A unique request ID.
Body
A sample request to create price method.
The name of the price method.
QUANTITY_PRICING
, SQUARE_AREA_PRICING
, TABLE_PRICING_LENGTH_WIDTH
Response
Price method record detail
The ID of price method.
The name of the price method.
Record's creation time
Record's last updated time
true: Record is deleted<br>false: Record isn't deleted
Was this page helpful?