API ReferenceCommerceProducts & inventoryCatalog GraphQLSKU groupMutationsetSkuGroupChannelAssociationMode
setSkuGroupChannelAssociationMode
View as MarkdownSet the channel association mode for a SKU Group.
mutation
Requires commerce.product:write.
Set the channel association mode for a SKU Group.
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
idString!required — SKU Group IDinputMutationSetSkuGroupChannelAssociationModeInput!requiredmodeString!required — The channel association mode for this SKU Group. Can be ALL (uses active channels registered to the store) or SELECTIVE (uses custom channel associations).
Possible returns
SKUGroupSKUGroup
Last updated on
How is this guide?