Skip to main content
payload

Return type for locationAdd mutation.

•Location

The location that was added.

Show fields
•[LocationAddUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.

Show payload

Arguments

•LocationAddInput!
required

The properties of the location to add.

Show input fields


Was this section helpful?