GENERAL INFORMATION
Purpose
Use this endpoint to retrieve approved initial-distribution proposals that are still valid. Each proposal moves a quantity of one SKU from a source location to a destination location.
How the data is used
The response can be used to synchronize approved initial-distribution decisions with your source system. Results are paginated and ordered consistently so that you can process them in batches.
Best practices
- Use an ISO 8601 UTC value for
FromConfirmedDateTime. - Start with
Offset=0and increaseOffsetbyLimitwhilemoreRecordsAvailableistrue. - Process every page before advancing the confirmation-date watermark for the next synchronization.
- Use
idorreferenceas a stable identifier when preventing duplicate processing.
Common pitfalls
- Omitting
OffsetorLimit. Both paging parameters are required. - Advancing the synchronization watermark before all pages have been processed.
- Treating expired proposals as missing data. Proposals whose
timeToLivehas passed are not returned.
TECHNICAL INFORMATION
Authentication
Bearer token, information on page POST /Token
Headers
| Name | Description | Example |
|---|---|---|
| X-Tenant | Tenant code supplied by WAIR | TENANT |
Query parameters
| Name | Description | Example |
|---|---|---|
| FromConfirmedDateTime | Optional. Returns proposals reviewed at or after this date and time. When omitted, the API uses approximately the previous 24 hours. | 2026-09-17T00:00:00Z |
| Offset | Required zero-based number of proposals to skip. | 0 |
| Limit | Required maximum number of proposals to return. | 100 |
Example request:
?FromConfirmedDateTime=2026-09-17T00:00:00Z&Offset=0&Limit=100
Body example
No request body required.
RESPONSE
Status codes
200 OK— The proposals were retrieved successfully. Theproposalsarray can be empty.400 Bad Request— A required paging parameter is missing or the request cannot be parsed.401 Unauthorized— The bearer token is missing, expired, or invalid.500 Internal Server Error— An unexpected error occurred while processing the request.
Body example
{
"proposals": [
{
"id": 1001,
"fromLocationId": "WAREHOUSE-01",
"toLocationId": "STORE-014",
"fromLocationGLN": "9876543219876",
"toLocationGLN": "9876543211238",
"skuId": "STYLE-001-BLUE-M",
"reason": "Initial store allocation",
"quantity": 12,
"sentQuantity": 0,
"receivedQuantity": 0,
"reference": "71ff7006-23f8-4960-8c4d-ce654772f54c",
"timeToLive": "2026-09-25T12:00:00Z",
"reviewedDateTime": "2026-09-18T08:00:00Z",
"reviewedByUsername": "integration-user",
"initialDistributionId": 42,
"tenantId": 1,
"dateCreated": "2026-09-17T10:00:00Z",
"dateModified": "2026-09-18T08:00:00Z"
}
],
"offset": 0,
"limit": 100,
"moreRecordsAvailable": false
}
Field information
| Field | Description |
|---|---|
| proposals | Approved initial-distribution proposals in this page. |
| id | Unique numeric identifier of the proposal. |
| fromLocationId | Identifier of the source location. |
| toLocationId | Identifier of the destination location. |
| fromLocationGLN | GLN of the source location, when available. |
| toLocationGLN | GLN of the destination location, when available. |
| skuId | Identifier of the SKU to distribute. |
| reason | Recorded reason for the proposal. Can be null. |
| quantity | Proposed quantity. |
| sentQuantity | Quantity recorded as sent. |
| receivedQuantity | Quantity recorded as received. |
| reference | Unique reference associated with the proposal. |
| timeToLive | Date and time until which the proposal remains valid. |
| reviewedDateTime | Date and time at which the proposal was reviewed. Can be null. |
| reviewedByUsername | User or process that reviewed the proposal. Can be null. |
| initialDistributionId | Identifier of the related initial distribution. |
| tenantId | Tenant identifier included in the proposal result. |
| dateCreated | Date and time at which the proposal was created. |
| dateModified | Date and time at which the proposal was last modified. |
| offset | Offset value used for the request. |
| limit | Limit value used for the request. |
| moreRecordsAvailable | Indicates whether another page is available. |