Skip to main content
POST
Book a delivery in against an order, posting accepted quantities through the inventory ledger.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Book a delivery in against an order, posting accepted quantities through the inventory ledger. Pass the dispatch it answers and its paperwork is carried across and the two documents point at each other; the quantities are always the storekeeper's own.

p_lines
string<jsonb>
required
p_purchase_order_id
string<uuid>
required
p_carrier
string<text>
p_delivery_note_number
string<text>
p_dispatch_id
string<uuid>
p_notes
string<text>
p_received_at
string<timestamp with time zone>
p_warehouse_id
string<uuid>
p_waybill_number
string<text>

Response

200

OK