Support

addReferencesToSku

View as Markdown

Add references to an existing SKU.

mutation

Requires commerce.product:write.

Add references 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 MutationAddReferencesToSkuInput! required
    • references [CreateReferenceInput!]! required
      • origin String! required
      • value String! required

Possible returns

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

Last updated on

How is this guide?