Anchor to LocationAddPayloadLocation
payloadLocation Add Payload
Return type for mutation.
Anchor to FieldsFields
- location (Location)
- userErrors ([LocationAddUserError!]!)
- 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?
Anchor to Mutations with this payloadMutations with this payload
- 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?