POST /channel-price-lists.json
Body Required
-
Channel
-
Enabled
Default value is
true
. -
externalId string | null
External
-
Price list
POST
/channel-price-lists.json
curl \
-X POST http://api.example.com/v1/channel-price-lists.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"enabled":true,"externalId":"string","priceListId":42}'
Request example
{
"channelId": 42,
"enabled": true,
"externalId": "string",
"priceListId": 42
}
Response examples (200)
{
"channelId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"enabled": true,
"externalId": "string",
"id": 42,
"priceListId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00"
}