input WholesaleOrderAutoAllocateInput
Fields
| Field | Type | Description |
|---|---|---|
order_id | String! | Public API order ID for the wholesale order to update. |
prioritized_location_ids | [String!] | List of public API prioritized location IDs identifying related records. |
sort_lots | WholesaleSortBinByLotsDate | Sort lots for this wholesale order auto allocate. |
location_type | WholesaleLocationType | Location type for this wholesale order auto allocate. |
sort_stock | WholesaleSortBinByStock | Sort stock for this wholesale order auto allocate. |
prioritize_largest_uom | Boolean | Whether wholesale auto-allocation should prefer the largest UOM first. |
lot_expires_in_days | Int | Lot expires in days as a numeric value. |
Referenced By
Example
{
"order_id": "T3JkZXI6MTIzNA==",
"prioritized_location_ids": ["Q2FsbDoxMjM0", "Q2FsbDo1Njc4"],
"sort_lots": "2026-07-09T15:30:00Z",
"location_type": "Pick Bin",
"sort_stock": "CREATED_AT_DESC",
"prioritize_largest_uom": true,
"lot_expires_in_days": 30
}