Skip to main content
Anchor to LocationAddUserError

LocationAddUserError

object

Requires read_locations access scope.

An error that occurs while adding a location.

•LocationAddUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•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.

Arguments

•LocationAddInput!
required

The properties of the location to add.



Was this section helpful?


Was this section helpful?