Preorders

Cancel a preorder

Changed on

Refunds the reservation fee in full, cancels the preorder, and returns the canceled preorder. Any checkout cart opened from the preorder is disabled by the same write. The preorder is marked canceled only once the refund has landed, so a 200 means the money is back and a failure leaves the preorder as it stands. Canceling is safe to repeat: a payment already refunded is skipped and the cancelation date does not move. A preorder that has converted to an order cannot be canceled here. The buyer is never expanded on this response.

post/preorders/{preorder}/cancel

Request

  • Base URL: https://api.ekho.com
  • URL: https://api.ekho.com/preorders/{preorder}/cancel
  • Auth: HTTP bearer

Path parameters

preorderstring required
Example:m3Vt8sQjRk2dLw9pXb4C

Response

The preorder as it stands after the cancelation.

Example response

{
  "data": {
    "id": "m3Vt8sQjRk2dLw9pXb4C"
  }
}

Changes

    • breaking

      the //// response's property type changed from string to integer for status

    • info

      added the required property // to the response with the status