Anchor to locationAddlocation
mutationlocation Add
Requires access scope.
Adds a new Location where 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 Arguments
Arguments
- Anchor to inputinput•Location
Add Input! required The properties of the location to add.
Was this section helpful?
- Anchor to locationlocation•Location
The location that was added.
- Anchor to userErrorsuser•[Location
Errors Add User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?