commerce/admin/locationtypes
Use the Location Types resource to manage the types of locations your tenant maintains, such as warehouses, physical storefronts, and kiosks.
JSON Example
LocationType Properties
Property | Description |
---|---|
code |
type: string The unique identifier of the object. |
name |
type: string The user supplied name that appears in Admin. You can use this field for identification purposes. |
Operations
Operation Name | Request URI | Description |
---|---|---|
AddLocationType | POST %3fresponseFields%3d%7bresponseFields%7d |
Creates a new location type based on the information specified in the request. |
DeleteLocationType | DELETE %7blocationTypeCode%7d |
Deletes the location type specified in the request. |
GetLocationType | GET %7blocationTypeCode%7d%3fresponseFields%3d%7bresponseFields%7d |
Retrieves the details of the location type specified in the request. |
GetLocationTypes | GET |
Retrieve a list of all location types defined for the tenant. |
UpdateLocationType | PUT %7blocationTypeCode%7d%3fresponseFields%3d%7bresponseFields%7d |
Updates the name of a defined location type. |