post https://{environment}.joinforage.app/api/orders//cancel/
A POST
request to /orders/{order_ref}/cancel/
cancels an existing Order
.
An Order
can only be canceled if its status
is draft
.
Cancel an Order
to prevent it from being submitted for capture in the future, while still maintaining a record of the Order
on Forage's server.
On success, the API responds with the canceled Order
object.
Errors documentation
Consult the Forage Errors reference for a comprehensive list of possible error codes.