Pharmacy
Orders
Orders Cancel

Cancel Order

Cancel an order by external order ID

Overview

  • Method: POST
  • Path: /pharmacy/orders/orders/cancel
  • Tags: pharmacy

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "success": true,
  "orderId": "string",
  "externalOrderId": "string",
  "externalOrderSource": "string",
  "status": "string",
  "cancelledAt": "string",
  "message": "string"
}

400

Bad Request

Content Type: application/json

{}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  https://api.pillexa.com/pharmacy/orders/orders/cancel \
  -H "Content-Type: application/json" \