Skip to main content
mutation

Requires write_locations 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.

•LocationAddInput!
required

The properties of the location to add.


Was this section helpful?

Anchor to LocationAddPayload returnsLocationAddPayload returns

•Location

The location that was added.

•[LocationAddUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?