Create price list
Create a price list. Based on the currency code you define for a price list, you will be able to create or update prices under the price list for the defined currency code only.
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.
24
x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is a required field.
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
The inputs to create or update price lists.
The name of the price list.
Available options to designate the price list as default include:
true
: This price list is designated as the default price list.false
: This price list isn't designated as the default price list.
The currency code defined for the price list.
The start time when the price list becomes active. If no value is specified, the current date is used as the start time.
The end time of the price list. If startAt
is specified, then `endAt becomes mandatory.
Response
The details of the price list.
The price list ID associated with the item generated using the create price list endpoint.
The name of the price list.
true
: This price list is designated as the default price list.false
: This price list isn't designated as the default price list.
The currency code of the price list.
The timestamp of when the price list was created.
The timestamp of when the price list was last updated.
true
: The price list is deleted.false
: The price list isn't deleted.
The sales channel.
Start time for the price list to be active. If no value is sent, the current date will be set as the start date.
The end time of price list. The end time must be specified if the price list's start time is provided.
Was this page helpful?