Reject an easy-return request
Rejects a refund request that is open or waiting and has an easy-return record linked to an easy-return shipping provider. The request becomes rejected, the return code is cancelled at the carrier (unless another active request shares it) and the rejection is forwarded to Omnitron asynchronously.
Any other request is rejected with 406 (cancellation_request_100_9). See Easy-Return Rejection in the Cancellation Requests section. No request body is needed.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The UUID of the cancellation request. The numeric id is not accepted here.
The request was rejected. The response has no body.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No cancellation request exists with the given UUID, or it belongs to an order in 200 (waiting) status.
The request is well-formed but violates a business rule of cancellation requests. See the CancellationRequestBusinessError schema for the codes.
POST /api/v1/remote/1/cancellation_requests/{uuid}/reject_cancellation/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

