updateSkuGroup
View as MarkdownUpdate an existing SKU Group.
mutation
Requires commerce.product:write.
Update an existing 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!requiredinputMutationUpdateSkuGroupInput!requireddescriptionStringoptionalhtmlDescriptionStringoptionallabelStringoptionalmetafields[UpsertMetafieldInput!]optionalkeyString!requirednamespaceString!requiredtypeString!requiredvalueString!required
nameStringoptionalshortLabelStringoptional — Deprecated: Use channel-specific overrides for short labels.statusStringoptional — The status of the SKU, one ofDRAFT,ACTIVE,ARCHIVED.
Possible returns
SKUGroupSKUGroup
Last updated on
How is this guide?