Pharmacy
Order-status
Update Order Status

Update Order Status

Update the status of an order.

Overview

  • Method: PATCH
  • Path: /pharmacy/order-status/update-order-status/<orderId>
  • Tags: pharmacy

Parameters

No parameters required.

Request Body

  • Content Type: application/json
  • Required: Yes

Fields

FieldTypeRequiredDetails
statusobjectYes
notesstringNo
trackingNumberstringNo
estimatedDeliverystringNo

Responses

200

Successful response

Content Type: application/json

{
  "orderId": "string",
  "status": "string",
  "previousStatus": "string",
  "notes": "string",
  "trackingNumber": "string",
  "estimatedDelivery": "string",
  "updatedBy": "string",
  "updated_at": "string"
}

400

Bad Request

Content Type: application/json

{}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X PATCH \
  https://api.pillexa.com/pharmacy/order-status/update-order-status/<orderId> \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'