Skip to main content

Update Vendor Return

PUT 

/api/vendor-returns/:vendorReturn

Update a DRAFT vendor return. Returns that have been authorized, shipped, completed, or voided cannot be edited.

Authentication: Requires Bearer token.

Accepts the same fields as Create Vendor Return. On update, supplier_id, warehouse_id, and return_date are optional - omitted values keep their current value. When a lines array is provided it REPLACES the full existing line set; omit lines entirely to leave them unchanged.

The same validation invariants apply as on create: all lines must belong to a single purchase order, and per-line quantities cannot exceed the returnable (received minus already returned) quantity.

Request

Responses

OK

Response Headers
    Content-Type