v5
latestOpenAPI 3.0.02026-08-04811,0021.1 MBOrder
Partially cancel an order
If your customer returns or ask for refund for some part of their purchase you can you this endpoint to cancel the corresponding points/cashback for that purchase
orderID
This is the exact same ID used when sending the order to BonifiQ. Usually is the ID from the origin plataform.
ValueToRefund
The purchase value being refunded. It should be less than the order total value.
CancelKey
This field allows to create idempotency. It can be any unique string such an ID for the cancellation. If you try to cancel the same order using the same CancelKey the cancellation will fail.
post/v1/pvt/Order/{orderId}/partialcancel
Path parameters
orderIdstring required