Skip to main content

Authorize Vendor Return

POST 

/api/vendor-returns/:vendorReturn/authorize

Authorize a DRAFT vendor return: locks it for editing and reserves the stock. A stock allocation is created for each product line so the goods awaiting return shipment cannot be sold or allocated elsewhere. Status moves from draft to authorized.

Authentication: Requires Bearer token.

Fails with 422 when:

  • the return is not in draft status
  • the return has no lines
  • any line's quantity exceeds the remaining returnable quantity for its purchase order line

Request

Responses

OK

Response Headers
    Content-Type