inventory

bulk action for PurchaseOrderEntryViewset: create a list of entries in one atomic request instead of one POST per row. Each row still runs through PurchaseOrderEntrySerializer / PurchaseOrderEntry.save() as usual, so the per-entry stock mutation side effect still fires per row.

get/api/inventory/purchaseorder-entry/{id}/

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idinteger required

A unique integer value identifying this purchase order entry.

Response

idinteger required
purchase_orderinteger nullable
purchase_order_materialinteger required
supplierstring required
order_idstring required
material_namestring required
amountinteger
entry_datestring nullable

Display string in the tenant's configured date_format, not an ISO-8601 value.

entry_date_isostring date nullable required
stock_locationinteger nullable
stock_location_namestring required
createdstring required

Display string in the tenant's configured date_format, not an ISO-8601 value.

Changes

    • breaking

      the response's property format changed from date to no format for status

    • info

      added the required property to the response with the status