GET
/
inventory-networks
curl --request GET \
  --url https://api.fabric.inc/v3/inventory-networks \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-channel-id: <x-fabric-channel-id>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "pagination": {
    "limit": 10,
    "offset": 1,
    "count": 1000
  },
  "data": [
    {
      "code": "DC",
      "name": "Distribution Center",
      "safetyStock": 10,
      "description": "network-mar6th",
      "lowStock": 10,
      "rule": {
        "locationData.type": "Store",
        "locationData.attributes.safetyStock": 10,
        "locationData.isActive": true,
        "productData.attributes.brand": "ABC",
        "productData.attributes.isSoldOnline": true
      },
      "createdAt": "2022-08-01T18:03:28.483Z",
      "updatedAt": "2022-08-01T18:03:28.483Z"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

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

Headers

x-fabric-tenant-id
string
required

Merchant's 24-character tenant ID

x-fabric-channel-id
string
required

Sales channel ID

x-fabric-request-id
string

Unique request ID

Query Parameters

offset
integer
default: 0

Number of records to skip before returning all records. Default is 0 when no value is specified.

limit
integer
default: 10

Maximum number of results per page. Default is 10 when no value is specified.

Response

200 - application/json
pagination
object

Pagination response

data
object[]