Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID
x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is an optional field. The default US channel is 12 while the default Canada channel is 13.
Body
Request payload for creating or updating a location. Includes identity, configuration, service capabilities, and operational metadata.
A merchant-defined unique identifier for the location.
23
The display name or identifier for the location.
"Seattle Store"
Indicates whether the location is active for order fulfillment. true
Location is active. false
Location is inactive.
true
The physical address associated with the location.
Classification of the location (for example, Distribution Center, Store).
"DC"
The maximum operational capacity and allocation limits for the location.
Custom attributes used to define and categorize the location. These can also be used for filtering and routing logic.
{ "brand": "WHBM", "channel": "Frontline" }
A list of daily operating hours for the location.
Geographic coordinates of the location in GeoJSON format. Coordinates are in [longitude, latitude]
format with longitude in [-180, 180] and latitude in [-90, 90].
{
"type": "Point",
"coordinates": [-122.3493, 47.6205]
}
Custom key-value attributes associated with the location. Used to store optional metadata.
{ "isReturns": "true" }
List of shipping carriers supported by the location.
A map of fulfillment methods that are currently active at the location.
{ "ShipToHome": "true" }
Transfer configuration for routing inventory to or from this location.
Response
OK
Response object containing details about a specific location, including its configuration, operational status, capacity, and service attributes.
A merchant-defined unique identifier used to reference the location.
23
The display name of the location, typically shown in the User Interface and reports.
"Seattle Store"
A system-generated globally unique identifier for the location.
"9372919a8219e8"
Indicates whether the location is currently active for order fulfillment. true
Location is active. false
Location is inactive.
true
The physical address associated with the location.
The type or classification of the location (for example, DC for Distribution Center, Store).
"DC"
Capacity limits and allocation settings that define how many orders the location can fulfill.
Custom service-level attributes associated with the location. Often used for filtering or routing (for example, by brand or channel).
{ "brand": "WHBM", "channel": "Frontline" }
A list of shipping zones associated with the location for delivery or operational routing.
The timestamp of when the location record was created, in ISO 8601 UTC format.
"2022-05-25T07:58:30.996Z"
The timestamp of the most recent update to the location record, in ISO 8601 UTC format.
"2022-05-25T07:58:30.996Z"
Weekly schedule detailing the hours during which the location operates.
The geographical coordinates of the location in GeoJSON format. Must follow the format [longitude, latitude]
, where longitude ∈ [-180, 180] and latitude ∈ [-90, 90].
{
"type": "Point",
"coordinates": [-122.3493, 47.6205]
}
Custom key-value metadata or flags associated with the location.
{ "isReturns": "true" }
A list of shipping carriers supported by this location for outbound or inbound logistics.
A map of fulfillment methods currently active and supported by this location (for example, ShipToHome, Pickup).
{ "ShipToHome": "true" }
Transfer configuration settings for inventory movement related to this location.