GoDaddy

removeOrderMetafields

View as Markdown

Remove metafields from an order by key

mutation

Requires one of commerce.order:create, commerce.order:update, commerce.order:cancel, or commerce.order:complete (use the scope that matches the operation).

Remove metafields from an order by key

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

  • orderId ID! required — Global ID in format Order_\<KSUID\>
  • keys [String!]! required — Keys of the metafields to remove

Possible returns

  • Order Order

Last updated on

How is this guide?

On this page