Admin APISales Channels
Delete a sales channel
The web channel is the storefront and cannot be deleted. Orders and
carts from the channel keep their records only if the database allows
it; a channel that orders reference answers 409. Emits the
sales_channel.deleted webhook.
Authorization
bearer_auth AuthorizationBearer <token>
Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.
In: header
Path Parameters
store_id*string
Store id
Format
uuidchannel_id*string
Sales channel id
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/sales-channels/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}