Support

updateSkuPriceCurrencyCode

View as Markdown

Update the currency code for an existing price. This updates the currency code for both value and compareAtValue.

mutation

Requires commerce.product:write.

Update the currency code for an existing price. This updates the currency code for both value and compareAtValue.

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 MutationUpdateSkuPriceCurrencyCodeInput! required
    • currencyCode String! required

Possible returns

  • SKUPrice SKUPrice — Represents the cost of a SKU

Last updated on

How is this guide?