Order
Get /status { "orderId": 1, }
Use Pharmacy Order Number or your (Clinic) order reference
Returns the status of the order.
The OrderId is not valid or does not exist in CloudRx System.
Unauthorized
Forbidden
Not Found
CloudRx system is in fault state.
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 /status { "orderId": 1, "clinicOrderId": "abc1234", "clinicCode": "cl1234", }
Use Pharmacy Order Number
Your (Clinic) order reference
Clinic Code.
Returns the status of the order.
The OrderId is not valid or does not exist in CloudRx System.
Unauthorized
Forbidden
Not Found
CloudRx system is in fault state.
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"
}
]
Get /status { "orderId": "abc1234", }
Clinic Order Number
Returns the status of the order.
The OrderId is not valid or does not exist in CloudRx System.
Unauthorized
Forbidden
Not Found
CloudRx system is in fault state.
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 /status-date-range { "startDate": "2020-01-01", "endDate": "2020-01-03" }
Date Dispatched as Start Date
Date Dispatched as End Date
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
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.
Order Model used for Creating new order.
Gets or sets.
Returns orderId on successfull creation of the order.
Model Validation Errors.
Unauthorized
Forbidden
CloudRx system is in fault state.
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
}
Returns orderId on successfull creation of the order.
Model Validation Errors.
Unauthorized
Forbidden
CloudRx system is in fault state.
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
}
Order Model used for Creating new order.
Gets or sets.
Returns orderId on successfull creation of the order.
Model Validation Errors.
Unauthorized
Forbidden
CloudRx system is in fault state.
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
}