Order

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

get

Get /status { "orderId": 1, }

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : CloudRx Order Service
  • : CloudRx Product Service
  • : CloudRx Sms Service
  • : CloudRx Shipping Service
Query parameters
orderIdinteger · int32Optional

Use Pharmacy Order Number or your (Clinic) order reference

Responses
200

Returns the status of the order.

application/json
get
/api/v1/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:
Available scopes:
  • : CloudRx Order Service
  • : CloudRx Product Service
  • : CloudRx Sms Service
  • : CloudRx Shipping Service
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
/api/v1/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:
Available scopes:
  • : CloudRx Order Service
  • : CloudRx Product Service
  • : CloudRx Sms Service
  • : CloudRx Shipping Service
Query parameters
orderIdstringOptional

Clinic Order Number

Responses
200

Returns the status of the order.

application/json
get
/api/v1/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:
Available scopes:
  • : CloudRx Order Service
  • : CloudRx Product Service
  • : CloudRx Sms Service
  • : CloudRx Shipping Service
Query parameters
startDatestring · date-timeOptional

Date Dispatched as Start Date

endDatestring · date-timeOptional

Date Dispatched as End Date

Responses
200

OK

application/json
get
/api/v1/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:
Available scopes:
  • : CloudRx Order Service
  • : CloudRx Product Service
  • : CloudRx Sms Service
  • : CloudRx Shipping Service
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
/api/v1/Order/create-with-clinic

Create order in the CloudRx system from the HL7 message.

put
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : CloudRx Order Service
  • : CloudRx Product Service
  • : CloudRx Sms Service
  • : CloudRx Shipping Service
Body
stringOptional
Responses
200

Returns orderId on successfull creation of the order.

application/json
put
/api/v1/Order/create-with-hl7message

Create order for the customer.

put
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : CloudRx Order Service
  • : CloudRx Product Service
  • : CloudRx Sms Service
  • : CloudRx Shipping Service
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
/api/v1/Order/create

Last updated