cURL
curl --request POST \ --url http://sandbox.mintlify.com/catalog/sales-channels \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": "872981cb-d498-44de-967e-e7a170e0b416", "name": "Landing Page", "metadata": {}, "externalCode": "700031450" } '
{ "id": "872981cb-d498-44de-967e-e7a170e0b416", "name": "Landing Page", "metadata": {}, "createdAt": "2024-05-19T13:58:03.418Z", "updatedAt": "2024-05-20T10:12:45.123Z", "externalCode": "700031450" }
Creates a new sales channel with the given parameters.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"872981cb-d498-44de-967e-e7a170e0b416"
"Landing Page"
{}
"700031450"
Sales channel response
"2024-05-19T13:58:03.418Z"
"2024-05-20T10:12:45.123Z"