GET
/
location-zones
/
zone-name
/
{zoneName}
Get Zone by Name
curl --request GET \
  --url https://api.fabric.inc/v3/location-zones/zone-name/{zoneName} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "zoneId": "9372919a8219e8",
  "zoneName": "US_LOCATIONS",
  "zoneType": "ABSOLUTE",
  "description": "Specific zone for US Locations",
  "locations": [
    {
      "priority": 1,
      "locationNumber": 23
    }
  ],
  "tiers": [
    {
      "sort": "+location.createdAt",
      "filters": [
        {
          "group": "GroupA",
          "field": "location.locationNum",
          "condition": "EQ"
        }
      ],
      "tier": 123
    }
  ],
  "createdAt": "2022-05-12T09:30:31.198Z",
  "updatedAt": "2022-05-12T09:30:31.198Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

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.

x-fabric-request-id
string

Unique request ID

x-fabric-channel-id
string

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.

Path Parameters

zoneName
string
required

Merchant-specified unique number to identify the zone

Response

200
application/json

Zone

Zone response