Passa al contenuto principale

OrderCanCancel

Whether an order can be cancelled

order_idintegerrequired

Id of the order (GET /api/v3/orders/{order_id})

can_cancelbooleanrequired

Whether the order can be cancelled with DELETE /api/v3/orders/{order_id}: not when it is completed, closed or cancelled, or when one of its purchases does not allow it

OrderCanCancel
{
"order_id": 0,
"can_cancel": true
}