Sales channels
The Sema service supports different sales channels. Sales channels allow product pricing and availability to be customized. For example, a product could be priced differently through the retail and wholesaler sales channels.
Endpoints¶
GET sema/sales-channels
Headers¶
Header | Required | Example | Description |
---|---|---|---|
Authorization | YES | Authorization: Bearer xxxx.yyyy.zzzz |
Contains token as received from login |
Path Parameters¶
None
Query Parameters¶
None
Sample request¶
1 | curl --header "Authorization: Bearer <token>" http://localhost:3001/sema/sales-channels |
Sample Response¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | { "salesChannels": [ { "id": 2, "name": "walkup", "description": null }, { "id": 3, "name": "reseller", "description": null } ] } |