v1

latestOpenAPI 3.0.32026-08-0627425250.9 KB
Processes

Review a return process

Notify REVER when a return has been reviewed. Reviews must cover every line item of the process.

<u>Notes</u>:

  • Reviews of a return process must be done in full; unreviewed items will block processing.
  • Each quantity of the line_item_id needs to have a review line (if there's multiple quantity for the same line_item_id, they need to go on different review lines within the reviews array)
  • If an expected item was not received, set status as MISSING.
  • Optionally override the refund amount with refund_override.
post/v1/ops/ecommerce/review

Request body

process_idstring required

REVER process_id of the return you are reviewing

Example request

{
  "process_id": "retp_38Fv8eXCCjU7cG0XnrZ2DaWDqzj",
  "reviews": [
    {
      "line_item_id": "PD12341N32",
      "status": "APPROVED",
      "timestamp": "2019-08-24T14:15:22Z",
      "user": "warehouse-agent1@brand.com",
      "reject_reason": "The T-Shirt was used and broken",
      "show_reject_reason": true
    }
  ],
  "refund_override": {
    "amount": {
      "amount": "1200",
      "currency_code": "EUR"
    },
    "reason": "The order is partially broken",
    "requested": true
  }
}

Response

OK - Reviews submitted.

OpspbReviewItemsResponse required