Support

addAttributeValuesToSku

View as Markdown

Add Attribute Value(s) to an existing SKU.

mutation

Requires commerce.product:write.

Add Attribute Value(s) to an existing SKU.

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 MutationAddAttributeValuesToSkuInput! required
    • attributeValueIds [String!]! required

Possible returns

  • SKU SKU — A SKU represents a stock keeping unit (SKU) in the catalog.

Last updated on

How is this guide?