input WholesaleOrderAutoAllocateInput

Fields

FieldTypeDescription
order_idString!

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_lotsWholesaleSortBinByLotsDate

Sort lots for this wholesale order auto allocate.

location_typeWholesaleLocationType

Location type for this wholesale order auto allocate.

sort_stockWholesaleSortBinByStock

Sort stock for this wholesale order auto allocate.

prioritize_largest_uomBoolean

Whether wholesale auto-allocation should prefer the largest UOM first.

lot_expires_in_daysInt

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
}