Get an order
/orders/{orderId}Use this to check an order's status and the services it made.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
orders:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
orderIdstring (uuid)RequiredThe order's id.
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK The order.
objectstringRequiredThe object's type. Always "order".
idstring (uuid)RequiredThe order's id.
statusstringRequiredplaced (invoiced, not paid), paid (provisioning has started), held (paid, waiting for a review before set-up), completed (every service is ready) or cancelled.
One ofplacedpaidheldcompletedcancelleditemsarray of OrderItemRequiredThe order's services.
Show 10 child attributesHide 10 child attributes
idstring (uuid)RequiredThe item's id.
planIdstringRequiredThe plan's id.
billingCycleMonthsintegerRequiredThe billing cycle in months.
hostnamestring or nullRequiredThe hostname ordered, or null.
labelstring or nullRequiredThe label ordered, or null.
priceobjectRequiredThe item's price per cycle, excluding GST.
Show 2 child attributesHide 2 child attributes
amountintegerRequiredThe amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.
min -9007199254740991, max 9007199254740991currencystringRequiredThe ISO 4217 currency code, upper case.
pattern ^[A-Z]{3}$
serviceIdstring (uuid) or nullRequiredThe service made for this item, or null until it exists.
actionIdstring (uuid) or nullRequiredThe provision action for this item, or null before payment.
referencestring or nullRequiredYour own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.
min length 1, max length 100metadataobjectRequiredYour own key-value data on this object.
max 20 keys
subtotalobjectRequiredThe items' total before discount and tax.
Show 2 child attributesHide 2 child attributes
amountintegerRequiredThe amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.
min -9007199254740991, max 9007199254740991currencystringRequiredThe ISO 4217 currency code, upper case.
pattern ^[A-Z]{3}$
discountobjectRequiredThe coupon's discount.
Show 2 child attributesHide 2 child attributes
amountintegerRequiredThe amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.
min -9007199254740991, max 9007199254740991currencystringRequiredThe ISO 4217 currency code, upper case.
pattern ^[A-Z]{3}$
taxobjectRequiredGST, where it applies.
Show 2 child attributesHide 2 child attributes
amountintegerRequiredThe amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.
min -9007199254740991, max 9007199254740991currencystringRequiredThe ISO 4217 currency code, upper case.
pattern ^[A-Z]{3}$
totalobjectRequiredsubtotal minus discount plus tax: what was paid.
Show 2 child attributesHide 2 child attributes
amountintegerRequiredThe amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.
min -9007199254740991, max 9007199254740991currencystringRequiredThe ISO 4217 currency code, upper case.
pattern ^[A-Z]{3}$
couponCodestring or nullRequiredThe coupon applied, or null.
invoiceIdstring (uuid) or nullRequiredThe order's invoice.
referencestring or nullRequiredYour own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.
min length 1, max length 100metadataobjectRequiredYour own key-value data on this object.
max 20 keyscreatedAtstring (date-time)RequiredWhen the order was placed.
paidAtstring (date-time) or nullRequiredWhen it was paid, or null.
completedAtstring (date-time) or nullRequiredWhen its last service became ready, or null.
cancelledAtstring (date-time) or nullRequiredWhen it was cancelled, or null.
livemodebooleanRequiredTrue for objects of your live account.
Every response
- 200OKThe order.
- 400Bad requestThe request is not valid. Codes: version_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
- 404Not foundNot found. Codes: not_found.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.