addReferencesToLocation
View as MarkdownAdd references to an existing location.
mutation
Requires commerce.product:write.
Add references to an existing location.
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID 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
idString!requiredinputMutationAddReferencesToLocationInput!requiredreferences[CreateReferenceInput!]!requiredoriginString!requiredvalueString!required
Possible returns
LocationLocation— A location represents the physical location of an inventory.
Last updated on
How is this guide?