Create a location
Create a Location object. Supports online and physical location types.
Request
Example: "Bearer sk_1234567890ABCdefGHIjklMNOpqrSTUvwxYZ_1234567890-Ab_cdeFGHijkLMNopq"
This parameter accepts the Merchant API Secret key to authorise requests coming from the merchant's backend.
It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a Bearer token.
For more information, see: Authentication
Name of the location.
The name parameter's value must be unique across all locations.
Possible values: [online, physical]
Type of the location.
| Value | Description |
|---|---|
online | Represents an online store. |
physical | Represents a physical point of sale. |
Additional details of the location.
Domain address of the location. Required for online locations.
The domain parameter's value must be unique across all locations.
Response
Location created
Unique ID representing the location where merchants sells products.
For more information, see: Locations.
Name of the location.
The name parameter's value must be unique across all locations.
Possible values: [online, physical]
Type of the location.
| Value | Description |
|---|---|
online | Represents an online store. |
physical | Represents a physical point of sale. |
Additional details of the location.
Domain address of the location. Required for online locations.
The domain parameter's value must be unique across all locations.