Skip to main content
POST
/
price-lists
Create price list
curl --request POST \
  --url https://api.fabric.inc/v3/price-lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>' \
  --data '{
  "name": "US price list",
  "isDefault": false,
  "currency": "USD",
  "startAt": "2021-05-04T09:23:51.459Z",
  "endAt": "2021-06-09T09:23:51.459Z"
}'
{
  "id": 1000003,
  "name": "US price list",
  "isDefault": false,
  "currency": "USD",
  "channelId": "12",
  "startAt": "2021-05-04T09:23:51.459Z",
  "endAt": "2021-06-09T09:23:51.459Z",
  "createdAt": "2019-08-20T14:15:22.000Z",
  "updatedAt": "2019-08-20T14:15:22.000Z",
  "isDeleted": false
}

Authorizations

Authorization
string
header
required

Headers

x-fabric-tenant-id
string
required
Required string length: 24
x-fabric-channel-id
string
Example:
x-client-id
string
x-fabric-request-id
string
Example:

Body

application/json
name
string
required
Example:
isDefault
boolean
required
Example:
currency
string<iso-4217>
required
Example:
startAt
string<date-time>
Example:
endAt
string<date-time>
Example:

Response

id
integer
required
Example:
name
string
required
Example:
isDefault
boolean
required
Example:
currency
string<iso-4217>
required
Example:
createdAt
string<date-time>
required
Example:
updatedAt
string<date-time>
required
Example:
isDeleted
boolean
required
Example:
channelId
string
Example:
startAt
string<date-time>
Example:
endAt
string<date-time>
Example: