Get All Warehouse Customers
curl --request GET \
--url https://production.trackstarhq.com/wms/warehouse-customers \
--header 'x-trackstar-access-token: <x-trackstar-access-token>' \
--header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
"data": [
{
"id": "warehouse_customer_id",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"name": "Customer Name"
}
],
"next_token": "next_token",
"total_count": 1
}
Headers
Your organization-level Trackstar API key.
Your user's access token for a specific integration (ShipHero, Extensiv, etc).
Query Parameters
The page token to use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.
Use this parameter to retrieve items filtered to a specific date range. For example, to get all items between 2023-03-10 and 2023-03-22, you would send created_date[gt]=2023-03-10T00:00:00Z&created_date[lt]=2023-03-22T00:00:00Z.
See the filtering docs for more. The date format must always be YYYY-MM-DDTHH:MM:SSZ. (Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
Same syntax as created_date
. (Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
(Format: %Y-%m-%dT%H:%M:%SZ
)
The maximum number of items to return. The default is 1000.
The ID of the customer associated with the resource
Response
See pagination for more details.
The number of items returned.
curl --request GET \
--url https://production.trackstarhq.com/wms/warehouse-customers \
--header 'x-trackstar-access-token: <x-trackstar-access-token>' \
--header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
"data": [
{
"id": "warehouse_customer_id",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"name": "Customer Name"
}
],
"next_token": "next_token",
"total_count": 1
}