Skip to main content
POST
Activates 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 activated for.

Example:

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

salesChannelId
string
required

The sales channel that will be activated 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).

Body

application/json

Request model for ActivateSalesChannelForItem command endpoint. Route parameters bind from the route, query parameters from the query string, everything else from the body.

includeItemImages
boolean

Specifies whether all existing item images should be activated for the specified sales channel. Defaults to false when omitted. If the sales channel is already activated for the specified item, this setting has no effect. The activation of item images for a sales channel is retained even if the sales channel is deactivated for an item, in order to restore the original state when the channel is reactivated.

Response

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