Support

removePricesFromOptionValue

View as Markdown

Remove prices from an existing OptionValue.

mutation

Requires commerce.product:write.

Remove prices from an existing OptionValue.

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 MutationRemovePricesFromOptionValueInput! required
    • priceIds [String!]! required

Possible returns

  • OptionValue OptionValue

Last updated on

How is this guide?