The Bins and Locations API exposes the warehouse physical structure — bins (storage slots), locations (warehouses), the company warehouse context, and document sequence counters. All endpoints are scoped to the authenticated tenant.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CodexaCP/DG_BACK/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/bins
Returns a paginated list of bins for the tenant. Bins represent the individual storage slots or zones within a warehouse location. Authentication:Authorization: Bearer <token> (required).
Tenant company ID. Resolved from JWT claims if omitted.
Return only active bins. Defaults to
true.1-based page number. Defaults to
1.Records per page. Defaults to
20.Paginated list of bin summaries.
Current page.
Page size.
Total bins matching the filter.
Total pages.
GET /api/bins/
Returns full detail for a single bin including the company name and audit timestamps. Authentication:Authorization: Bearer <token> (required). The caller must have access to the bin’s owning company.
Bin unique identifier.
Bin ID.
Bin code.
Bin description.
Active status.
Blocked status.
Bin type.
Picking allowed flag.
Putaway allowed flag.
Owning company ID.
Owning company display name.
Creation timestamp.
Last update timestamp.
| Status | Meaning |
|---|---|
| 404 | Bin not found or not accessible by the caller’s company. |
GET /api/locations
Returns a paginated list of warehouse locations for the authenticated company. Locations represent physical warehouses or distribution centers. Authentication:Authorization: Bearer <token> (required).
Filter to active locations only. Defaults to
false.Filter to locations that allow receiving. Defaults to
false.Free-text search against location code, name, and city.
1-based page. Defaults to
1.Page size. Defaults to
20.Current page.
Page size.
Total matching locations.
Total pages.
GET /api/warehouse/locations
Returns the list of warehouse locations scoped to the authenticated company, ordered with the default location first. Authentication:Authorization: Bearer <token> (required).
List of warehouse location summaries with
code, name, isDefault, and allowReceiving.GET /api/warehouse/locations/
Returns detail for a single warehouse location including its bins. Authentication:Authorization: Bearer <token> (required).
Location ID.
GET /api/warehouse/setup-status
Returns the warehouse setup status for the company — whether default location and default bin have been configured. Authentication:Authorization: Bearer <token> (required).
Whether a default location has been set.
Whether a default bin has been set.
Default location code, if any.
Default bin code, if any.
GET /api/document-sequence
Returns the current document sequence counters registered for the company. Sequences track the last auto-generated number for document types such asITEM_CREATED, RECEIPT_CREATED, and SHIPMENT_CREATE.
Authentication: Authorization: Bearer <token> (required).
Tenant company ID.