Order

Gets the status of the order with TrackingId and Dispatch Date.

get

Get /status { "orderId": 1, }

Authorizations
Query parameters
orderIdinteger · int32Optional

Use Pharmacy Order Number or your (Clinic) order reference

Responses
200

Returns the status of the order.

application/json
get
GET /api/v2/Order/status HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "clinicOrderId": "text",
  "pharmacyOrderId": "text",
  "orderStatus": "text",
  "dispatchDate": "2025-09-18T16:58:02.363Z",
  "trackingId": "text",
  "cancelReason": "text"
}

Gets the status of the order by using Pharmacy Order Number or Clinic Order Number and will need to provide Clinic Code. Either Pharmacy OrderNumber or Clinic Number should be provided. This Api call should also be used by the Clinic System Supplier where they would be sending scripts on behalf of Clinics.

get

Get /status { "orderId": 1, "clinicOrderId": "abc1234", "clinicCode": "cl1234", }

Authorizations
Query parameters
orderIdinteger · int32Optional

Use Pharmacy Order Number

clinicOrderIdstringOptional

Your (Clinic) order reference

clinicCodestringOptional

Clinic Code.

Responses
200

Returns the status of the order.

application/json
get
GET /api/v2/Order/status-with-clinic-code HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "clinicOrderId": "text",
    "pharmacyOrderId": "text",
    "orderStatus": "text",
    "dispatchDate": "2025-09-18T16:58:02.363Z",
    "trackingId": "text",
    "cancelReason": "text"
  }
]

Gets the status of the order by using Clinic Order Number with TrackingId and Dispatch Date.

get

Get /status { "orderId": "abc1234", }

Authorizations
Query parameters
orderIdstringOptional

Clinic Order Number

Responses
200

Returns the status of the order.

application/json
get
GET /api/v2/Order/status-clinic-ordernumber HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "clinicOrderId": "text",
  "pharmacyOrderId": "text",
  "orderStatus": "text",
  "dispatchDate": "2025-09-18T16:58:02.363Z",
  "trackingId": "text",
  "cancelReason": "text"
}

Get Order Status for a given date range. Maximum number of days you can get order status is set to 3.

get

Get /status-date-range { "startDate": "2020-01-01", "endDate": "2020-01-03" }

Authorizations
Query parameters
startDatestring · date-timeOptional

Date Dispatched as Start Date

endDatestring · date-timeOptional

Date Dispatched as End Date

Responses
200

OK

application/json
get
GET /api/v2/Order/status-date-range HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "clinicOrderId": "text",
  "pharmacyOrderId": "text",
  "orderStatus": "text",
  "dispatchDate": "2025-09-18T16:58:02.363Z",
  "trackingId": "text",
  "cancelReason": "text"
}

Create order for the customer and register the Clinic if it does not exist in the CloudRx System. This Api call should also be used by the Clinic System Supplier where they would be sending scripts on behalf of Clinics.

put
Authorizations
Body

Order Model used for Creating new order.

affiliateIdstring | nullableOptional

Gets or sets.

Responses
200

Returns orderId on successfull creation of the order.

application/json
put
PUT /api/v2/Order/create-with-clinic HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1024

{
  "customer": {
    "clinicAccountNumber": 1,
    "title": "Mr",
    "firstName": "text",
    "surname": "text",
    "dateOfBirth": "2025-09-18",
    "gender": "Male",
    "telephone": "text",
    "email": "text"
  },
  "homeAddress": {
    "address1": "text",
    "address2": "text",
    "city": "text",
    "county": "text",
    "postCode": "text",
    "countryCode": "text"
  },
  "deliveryAddress": {
    "address1": "text",
    "address2": "text",
    "city": "text",
    "county": "text",
    "postCode": "text",
    "countryCode": "text"
  },
  "prescription": {
    "clinicOrderId": "text",
    "clinicOrderValue": 1,
    "paymentType": "Account",
    "repeatsAllowed": 1,
    "courierCode": "RMT24",
    "currencyCode": "GBP"
  },
  "prescribedItems": [
    {
      "productId": 1,
      "dmdCode": 1,
      "pack": 1,
      "medication": "text",
      "dosageInstructions": "text",
      "quantity": 1
    }
  ],
  "prescribingDoctor": {
    "registrationNumber": "text",
    "prescriberName": "text"
  },
  "clinicInformation": {
    "clinicCode": "text",
    "name": "text",
    "address1": "text",
    "address2": "text",
    "address3": "text",
    "address4": "text",
    "postcode": "text",
    "countryCode": "text",
    "contactNumber": "text",
    "contactEmail": "text",
    "prescriberFeeTypeId": 0,
    "prescriberFee": 1
  },
  "affiliateId": "text"
}
{
  "orderId": 1
}

Create order in the CloudRx system from the HL7 message.

put
Authorizations
Body
stringOptional
Responses
200

Returns orderId on successfull creation of the order.

application/json
put
PUT /api/v2/Order/create-with-hl7message HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "orderId": 1
}

Create order for the customer.

put
Authorizations
Body

Order Model used for Creating new order.

affiliateIdstring | nullableOptional

Gets or sets.

Responses
200

Returns orderId on successfull creation of the order.

application/json
put
PUT /api/v2/Order/create HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1024

{
  "customer": {
    "clinicAccountNumber": 1,
    "title": "Mr",
    "firstName": "text",
    "surname": "text",
    "dateOfBirth": "2025-09-18",
    "gender": "Male",
    "telephone": "text",
    "email": "text"
  },
  "homeAddress": {
    "address1": "text",
    "address2": "text",
    "city": "text",
    "county": "text",
    "postCode": "text",
    "countryCode": "text"
  },
  "deliveryAddress": {
    "address1": "text",
    "address2": "text",
    "city": "text",
    "county": "text",
    "postCode": "text",
    "countryCode": "text"
  },
  "prescription": {
    "clinicOrderId": "text",
    "clinicOrderValue": 1,
    "paymentType": "Account",
    "repeatsAllowed": 1,
    "courierCode": "RMT24",
    "currencyCode": "GBP"
  },
  "prescribedItems": [
    {
      "productId": 1,
      "dmdCode": 1,
      "pack": 1,
      "medication": "text",
      "dosageInstructions": "text",
      "quantity": 1
    }
  ],
  "prescribingDoctor": {
    "registrationNumber": "text",
    "prescriberName": "text"
  },
  "clinicInformation": {
    "clinicCode": "text",
    "name": "text",
    "address1": "text",
    "address2": "text",
    "address3": "text",
    "address4": "text",
    "postcode": "text",
    "countryCode": "text",
    "contactNumber": "text",
    "contactEmail": "text",
    "prescriberFeeTypeId": 0,
    "prescriberFee": 1
  },
  "affiliateId": "text"
}
{
  "orderId": 1
}