CancelRequested
Used by
Fields
idstring (uuid)requiredcancelledbooleanrequiredone of: false
statusstringrequiredone of: draft · pending · confirmed · in_transit · delivered · cancelled · exception · failed
The shipment's status now (the carrier has the parcel).
cancelRequestobjectrequiredidstring (uuid)requiredstatestringrequiredone of: open · declined · return_ordered · cancelled
open — IDS reviews it; declined — the delivery goes on; return_ordered — IDS arranged a stop / return to the sender with the carrier; cancelled — IDS cancelled the label.
requestedAtstring (date-time)requiredchannelstringrequiredone of: api · dashboard
evidencestringrequiredone of: scan · pickup_completed · dropped_off
Why it is held: the carrier scanned the parcel, the pickup is completed, or the seller handed it in.
decidedAtstring (date-time)requirednullablerefundobjectrequiredstatusstringrequiredone of: refunded · not_applicable · not_eligible · blocked_pickup_window · pending_review · refund_due
refund_due (CXL) — paid on the platform: the platform refunds its buyer this amount on its original payment and confirms it (POST /shipments/{id}/refunds/{refundId}/confirm). A repeated cancel after that confirmation answers refunded with target platform_payment — never refund it again.
refundedbooleanrequiredamountnumberamountMinorintegerThe amount beside it in minor units (cents).
currencystringreasonstringtargetstringone of: balance · test_wallet · platform_payment
CXL: where the money goes back.
refundIdstring (uuid)CXL: target platform_payment — the refund (to confirm while refund_due).