Skip to main content
POST
Deactivates a sales channel for an item.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

itemId
string<uuid>
required

The ID of the item the specified sales channel will be deactivated for.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

salesChannelId
string
required

The sales channel that will be deactivated for the specified item. Tenant-local, composite identifier, not a UUID. Only specific sales channels are allowed for this operation and are specified in the sales channel endpoint (GET). The activation status of that sales channel for the item images remains unchanged to allow the original listing to be restored.

Response

The sales channel was successfully deactivated for the item. No content is returned. The operation is idempotent: deactivating a sales channel that is already inactive for the item is not an error and returns 204 as well.