inventory
with-materials actions for PurchaseOrderViewset.
POST .../purchaseorder/with-materials/ creates a PurchaseOrder and its materials in one atomic request.
PATCH .../purchaseorder/{id}/with-materials/ updates the PurchaseOrder and replaces its materials set as a whole: a row with an id updates that stored PurchaseOrderMaterial, a row without one creates a new one, and any stored row absent from the list is deleted.
delete/api/inventory/purchaseorder/{id}/
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
idinteger required
A unique integer value identifying this purchase order.
Response
No response body
Changes
No recorded changes to this operation across all 50 revisions of this API.