Support

removeReferencesFromLocation

View as Markdown

Remove references from an existing location.

mutation

Requires commerce.product:write.

Remove references from an existing location.

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 MutationRemoveReferencesFromLocationInput! required
    • referenceIds [String!]! required

Possible returns

  • Location Location — A location represents the physical location of an inventory.

Last updated on

How is this guide?