Skip to main content
POST
Book a delivery in the background: the same arguments as receive_purchase_order, booked by the worker as the caller…

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Book a delivery in the background: the same arguments as receive_purchase_order, booked by the worker as the caller, all or nothing. For a delivery too large to wait for. Follow it on purchase_order_receipt_jobs; a refused booking there carries every row that needs fixing.

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