GET
/
inventory-counters
/
{counterCode}
curl --request GET \
  --url https://api.fabric.inc/v3/inventory-counters/{counterCode} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-channel-id: <x-fabric-channel-id>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "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

Path Parameters

counterCode
string
required

Counter code

Response

200 - application/json
id
string

fabric system-generated counter ID

name
string

Counter name

code
string
required

Counter code