Support

removeMetafieldsFromAttribute

View as Markdown

Remove metafields from an existing Attribute.

mutation

Requires commerce.product:write.

Remove metafields from an existing Attribute.

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 MutationRemoveMetafieldsFromAttributeInput! required
    • metafields [RemoveMetafieldInput!]! required
      • key String! required
      • namespace String! required

Possible returns

  • Attribute Attribute — A SKU is comprised of a combination of multiple attributes

Last updated on

How is this guide?