GET
/
inventory-counters
curl --request GET \
  --url https://api.fabric.inc/v3/inventory-counters \
  --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": [
    {
      "id": "38271022e832a1",
      "name": "onHand",
      "code": "onHand"
    }
  ]
}

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 if no value is provided.

limit
integer
default: 10

Maximum number of records returned per page. Default is 10 if no value is provided.

Response

200 - application/json
pagination
object

Pagination response

data
object[]