POST /channel-price-lists.json

POST /channel-price-lists.json
application/json

Body Required

  • channelId integer(int32) Required

    Channel

  • enabled boolean | null Required

    Enabled

    Default value is true.

  • externalId string | null

    External

  • priceListId integer(int32) Required

    Price list

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • channelId integer(int32) Required

      Channel

    • createdAt string(date-time)

      Created at

    • enabled boolean | null Required

      Enabled

      Default value is true.

    • externalId string | null

      External

    • id integer(int32)

      Id

    • priceListId integer(int32) Required

      Price list

    • updatedAt string(date-time)

      Updated at

POST /channel-price-lists.json
curl \
 --request POST 'http://api.example.com/v1/channel-price-lists.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"channelId":42,"enabled":true,"externalId":"string","priceListId":42}'
Request examples
{
  "channelId": 42,
  "enabled": true,
  "externalId": "string",
  "priceListId": 42
}
Response examples (200)
{
  "channelId": 42,
  "createdAt": "2025-05-04T09:42:00Z",
  "enabled": true,
  "externalId": "string",
  "id": 42,
  "priceListId": 42,
  "updatedAt": "2025-05-04T09:42:00Z"
}