Fulfilment type
What one warehouse sends of a sales order.
Fields
id
The fulfilment's MAX id.
number
String
The fulfilment's number in MAX, for example DL-2026-00398. Null until MAX gives it one:
when picking starts or when it ships.
status
The fulfilment's status.
salesOrderId
The MAX id of the fulfilment's sales order.
warehouseId
The MAX id of the warehouse the goods leave.
warehouse
The warehouse the goods leave.
- Requires the
warehouse.readpermission. Without it, the field is null with aFORBIDDEN_ROLEerror at its path (extensions.permission). - In that case the rest of the response is returned.
carrier
The carrier route the fulfilment ships with. Null when it names none. For a route that the catalogue does not hold, the codes stand in for the names.
shippedAt
When the fulfilment shipped. Null until it does.
parcels
The boxes, with their tracking numbers, in order. Empty when the fulfilment has no box yet or shipped without a known number.
A tracking number finds the recipient's address at the carrier, so it has the access rules of the customer's data:
- Requires the
partner.readpermission and the order's customer in your API key's partner scope. Without them, null withFORBIDDEN_ROLEorFORBIDDEN_SCOPEat this path. The rest of the fulfilment is returned. - Null, without an error, once the customer is erased.
Priced as 2 parcels, however many it holds.
Costs 2 points plus 2 × one parcel's selection.
lines
Arguments:
first:Intafter:Stringlast:Intbefore:String
The fulfilment's lines: what of each order item it sends, in the order they were added. A line an order edit cut to zero is left out.
A connection, paged with first/after or last/before, at most 250 a page. For the next
page, send the same query with after set to pageInfo.endCursor, while
pageInfo.hasNextPage is true. A cursor is only valid for the fulfilment it came from.
Null, with an error at its path, when its page cannot be read, for example because of a cursor of another parent. The rest of the response is returned.
A page costs 2 + first (or last) × the cost of one node.
createdAt
When the fulfilment was created in MAX.