query GetScxItemSalesChannelDataByItemId($salesChannelId: String!, $itemId: ID!) {
GetScxItemSalesChannelDataByItemId(salesChannelId: $salesChannelId, itemId: $itemId) {
salesChannelId
itemId
channelCategoryId
minimumStockLevel
maximumStockLevel
}
}{
"salesChannelId": "string",
"itemId": "id"
}{
"data": {
"GetScxItemSalesChannelDataByItemId": {
"salesChannelId": "id",
"itemId": "id",
"channelCategoryId": "id",
"minimumStockLevel": "value",
"maximumStockLevel": "value"
}
}
}GetScxItemSalesChannelDataByItemId
Delivers the base data of an item for an SCX seller (sales channel): the channel category and the minimum and maximum stock level. Without stored base data, the category and both stock levels are null. Errors: SALES_CHANNEL_ID_INVALID (400, malformed sales channel id), SCX_SALES_CHANNEL_NOT_FOUND (404, unknown, deleted, deactivated or non-SCX sales channel), SCX_ITEM_NOT_FOUND (404, the item does not exist).
GetScxItemSalesChannelDataByItemId(salesChannelId: String!, itemId: ID!): ScxItemSalesChannelData!Arguments
Returns
Id of the sales channel (the seller account) the base data belongs to. Opaque, tenant-local composite identifier (not a UUID).
ID of the item.
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.
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.
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.
query GetScxItemSalesChannelDataByItemId($salesChannelId: String!, $itemId: ID!) {
GetScxItemSalesChannelDataByItemId(salesChannelId: $salesChannelId, itemId: $itemId) {
salesChannelId
itemId
channelCategoryId
minimumStockLevel
maximumStockLevel
}
}{
"salesChannelId": "string",
"itemId": "id"
}{
"data": {
"GetScxItemSalesChannelDataByItemId": {
"salesChannelId": "id",
"itemId": "id",
"channelCategoryId": "id",
"minimumStockLevel": "value",
"maximumStockLevel": "value"
}
}
}Was this page helpful?