Order

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

get

Get /status { "orderId": 1, }

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
orderIdinteger · int32Optional

Use Pharmacy Order Number or your (Clinic) order reference

Responses
chevron-right
200

Returns the status of the order.

application/json

Order Status Model.

clinicOrderIdstring · nullableOptional

Gets or sets.

pharmacyOrderIdstring · nullableOptional

Gets or sets.

orderStatusstring · nullableOptional

Gets or sets.

dispatchDatestring · date-time · nullableOptional

Gets or sets.

trackingIdstring · nullableOptional

Gets or sets.

cancelReasonstring · nullableOptional

Gets or sets.

get
/api/v2/Order/status

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
OAuth2clientCredentialsRequired
Token URL:
Query parameters
orderIdinteger · int32Optional

Use Pharmacy Order Number

clinicOrderIdstringOptional

Your (Clinic) order reference

clinicCodestringOptional

Clinic Code.

Responses
chevron-right
200

Returns the status of the order.

application/json

Order Status Model.

clinicOrderIdstring · nullableOptional

Gets or sets.

pharmacyOrderIdstring · nullableOptional

Gets or sets.

orderStatusstring · nullableOptional

Gets or sets.

dispatchDatestring · date-time · nullableOptional

Gets or sets.

trackingIdstring · nullableOptional

Gets or sets.

cancelReasonstring · nullableOptional

Gets or sets.

get
/api/v2/Order/status-with-clinic-code

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

get

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

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
orderIdstringOptional

Clinic Order Number

Responses
chevron-right
200

Returns the status of the order.

application/json

Order Status Model.

clinicOrderIdstring · nullableOptional

Gets or sets.

pharmacyOrderIdstring · nullableOptional

Gets or sets.

orderStatusstring · nullableOptional

Gets or sets.

dispatchDatestring · date-time · nullableOptional

Gets or sets.

trackingIdstring · nullableOptional

Gets or sets.

cancelReasonstring · nullableOptional

Gets or sets.

get
/api/v2/Order/status-clinic-ordernumber

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
OAuth2clientCredentialsRequired
Token URL:
Query parameters
startDatestring · date-timeOptional

Date Dispatched as Start Date

endDatestring · date-timeOptional

Date Dispatched as End Date

Responses
chevron-right
200

OK

application/json

Order Status Model.

clinicOrderIdstring · nullableOptional

Gets or sets.

pharmacyOrderIdstring · nullableOptional

Gets or sets.

orderStatusstring · nullableOptional

Gets or sets.

dispatchDatestring · date-time · nullableOptional

Gets or sets.

trackingIdstring · nullableOptional

Gets or sets.

cancelReasonstring · nullableOptional

Gets or sets.

get
/api/v2/Order/status-date-range

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
OAuth2clientCredentialsRequired
Token URL:
Body

Order Model used for Creating new order.

affiliateIdstring · nullableOptional

Gets or sets.

Responses
chevron-right
200

Returns orderId on successfull creation of the order.

application/json

Order Confirm Model.

orderIdinteger · int32Optional

Gets or sets.

put
/api/v2/Order/create-with-clinic

Create order in the CloudRx system from the HL7 message.

put
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Body
stringOptional
Responses
chevron-right
200

Returns orderId on successfull creation of the order.

application/json

Order Confirm Model.

orderIdinteger · int32Optional

Gets or sets.

put
/api/v2/Order/create-with-hl7message

Create order for the customer.

put
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Body

Order Model used for Creating new order.

affiliateIdstring · nullableOptional

Gets or sets.

Responses
chevron-right
200

Returns orderId on successfull creation of the order.

application/json

Order Confirm Model.

orderIdinteger · int32Optional

Gets or sets.

put
/api/v2/Order/create

Cancels an order with the specified order ID.

post

POST /cancel { "orderId": "123", "clinicCode": "ABC123", "cancelReason": "Patient requested cancellation" }

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
orderIdstringOptional

The order ID to cancel.

clinicCodestringOptional

The clinic code used to scope cancellation.

cancelReasonstringOptional

The reason for cancellation.

Responses
chevron-right
200

Returns success message.

application/json
stringOptional
post
/api/v2/Order/cancel

Last updated

Was this helpful?