Skip to main content
PATCH
Update Scx Item Sales Channel Data

Authorizations

Authorization
string
header
required

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

Scopes

scxoffers.write
oauth2-authorization-code

Grants permission to write SCX offer data, such as refreshing attribute definitions.

scxoffers.write
oauth2-client-credentials

Grants permission to write SCX offer data, such as refreshing attribute definitions.

Headers

Idempotency-Key
string

Optional, client-generated key for deduplicating repeated write requests. A repeated request with the same key returns the originally recorded result instead of executing the effect again.

Required string length: 1 - 255
x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

salesChannelId
string
required

Sales channel id of the SCX seller/account. Opaque, tenant-local composite identifier (not a UUID); use the id returned by "GET /v2/sales-channels".

itemId
string<uuid>
required

ID of the item. Id of an item.

Example:

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

Body

application/json

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

channelCategoryId
string<uuid>

ID of the channel category to assign the item to. The category must belong to the marketplace channel of the seller and must be assignable. Omit to keep the category, send null to remove it. The REST schema does not mark this property as nullable, so clients generated from it may not be able to send null.

Example:

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

minimumStockLevel
number<decimal>

Minimum stock level of the item on this sales channel. Omit to keep the value, send null to store 0, which means no stock level. The REST schema does not mark this property as nullable, so clients generated from it may not be able to send null.

maximumStockLevel
number<decimal>

Maximum stock level of the item on this sales channel. Omit to keep the value, send null to store 0, which means no stock level. The REST schema does not mark this property as nullable, so clients generated from it may not be able to send null.

Response

The base data of the item as it is now.

The base data of an item for an SCX seller (sales channel): the channel category and the minimum and maximum stock level. It is also returned when no base data has been stored for the item yet; the category and both stock levels are null in that case.

salesChannelId
string
required

Id of the sales channel (the seller account) the base data belongs to. Opaque, tenant-local composite identifier (not a UUID).

itemId
string<uuid>
required

ID of the item.

Example:

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

channelCategoryId
string<uuid>

ID of the channel category the item is assigned to on this sales channel, or null if the item has no category on this sales channel.

Example:

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

minimumStockLevel
number<decimal>

Minimum stock level of the item on this sales channel, or null when no base data has been stored for the item yet; a stored value, including 0, is returned as stored.

maximumStockLevel
number<decimal>

Maximum stock level of the item on this sales channel, or null when no base data has been stored for the item yet; a stored value, including 0, is returned as stored.