GET
/
collections-path
curl --request GET \
  --url https://api.fabric.inc/v3/collections-path \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "78184766610c0e32a86d8757",
      "name": "ABC",
      "localizedProperties": {
        "en-US": {
          "name": "Color"
        },
        "en-IN": {
          "name": "Colour"
        }
      },
      "level": 2,
      "ancestors": [
        {
          "id": "53184766610c0e32a86d875",
          "name": "XYZ",
          "localizedProperties": {
            "en-US": {
              "name": "Color"
            },
            "en-IN": {
              "name": "Colour"
            }
          },
          "level": 1
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

S2S access token (JWT) from fabric Identity service (during Login)

Headers

x-fabric-tenant-id
string

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.

Example:

"517fa9dfd42d8b00g1o3k312"

x-fabric-request-id
string

Unique request ID

Example:

"263e731c-45c8-11ed-b878-0242ac120002"

Query Parameters

locales
string

Comma-separated locale codes of category. The service throws a 400 error if locale isn't supported. Standard locales can be found at https://www.rfc-editor.org/rfc/rfc5646. The recommended way to get the locale is by invoking multi-channel service

Example:

"fr-CA, en-US"

ids
string

Navigation path for the collection IDs, starting from the root category.

Example:

"64184766610c0e32a86d8758"

Response

200
application/json

OK

Navigation path for the given collection