Create location
Creates a location with all of its details, such as location number, name, address, operating hours, operation type, location coordinates, and so on.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
Location details
Location address details
Custom location attributes
coordinate details of the location in Geo Json format
true indicates location is active<br />false indicates location is inactive.
Unique number to identify the location
Name of the location
Operating hours of the location
JSON attributes on which locations are allowed to filter
Type of inventory location
Response
This object contains location details
Location address details
Location attribute object
coordinate details of the location in Geo Json format
Date on which the location is created
Unique location identifier
true indicates location is active<br />false indicates location is inactive.
Unique number to identify the location
Location name
Operating hours of the location
JSON attributes on which locations are allowed to filter
Location type
Date on which the location is updated
Was this page helpful?