Support

updateSkuGroup

View as Markdown

Update an existing SKU Group.

mutation

Requires commerce.product:write.

Update an existing SKU Group.

Required headers

HeaderRequiredDescription
x-store-idYesID 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

  • id String! required
  • input MutationUpdateSkuGroupInput! required
    • description String optional
    • htmlDescription String optional
    • label String optional
    • metafields [UpsertMetafieldInput!] optional
      • key String! required
      • namespace String! required
      • type String! required
      • value String! required
    • name String optional
    • shortLabel String optional — Deprecated: Use channel-specific overrides for short labels.
    • status String optional — The status of the SKU, one of DRAFT, ACTIVE, ARCHIVED.

Possible returns

  • SKUGroup SKUGroup

Last updated on

How is this guide?