Anchor to LocationAddUserErrorLocation
objectLocation Add User Error
Requires access scope.
An error that occurs while adding a location.
Anchor to FieldsFields
- code (LocationAddUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Location
Add User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- locationAdd (LocationAddPayload)
- •mutation
Adds a new
Locationwhere you can stock inventory and fulfill orders. Locations represent physical places like warehouses, retail stores, or fulfillment centers.The location requires a name and address with at least a country code. You can specify whether the location fulfills online orders, which determines if its inventory is available for online sales. You can also attach custom metafields to store additional information about the location.
- Anchor to inputinput•Location
Add Input! required The properties of the location to add.
Arguments
Was this section helpful?