AI ready
Open in Claude (opens in a new tab)View as Markdown

Get an order

GET/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)Required

    The order's id.

  • Clouduxe-VersionstringOptional

    The 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}$

Returns

200OK The order.

  • objectstringRequired

    The object's type. Always "order".

  • idstring (uuid)Required

    The order's id.

  • statusstringRequired

    placed (invoiced, not paid), paid (provisioning has started), held (paid, waiting for a review before set-up), completed (every service is ready) or cancelled.

    One ofplacedpaidheldcompletedcancelled
  • itemsarray of OrderItemRequired

    The order's services.

    Show 10 child attributesHide 10 child attributes
    • idstring (uuid)Required

      The item's id.

    • planIdstringRequired

      The plan's id.

    • billingCycleMonthsintegerRequired

      The billing cycle in months.

    • hostnamestring or nullRequired

      The hostname ordered, or null.

    • labelstring or nullRequired

      The label ordered, or null.

    • priceobjectRequired

      The item's price per cycle, excluding GST.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • serviceIdstring (uuid) or nullRequired

      The service made for this item, or null until it exists.

    • actionIdstring (uuid) or nullRequired

      The provision action for this item, or null before payment.

    • referencestring or nullRequired

      Your 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 100
    • metadataobjectRequired

      Your own key-value data on this object.

      max 20 keys
  • subtotalobjectRequired

    The items' total before discount and tax.

    Show 2 child attributesHide 2 child attributes
    • amountintegerRequired

      The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

      min -9007199254740991, max 9007199254740991
    • currencystringRequired

      The ISO 4217 currency code, upper case.

      pattern ^[A-Z]{3}$
  • discountobjectRequired

    The coupon's discount.

    Show 2 child attributesHide 2 child attributes
    • amountintegerRequired

      The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

      min -9007199254740991, max 9007199254740991
    • currencystringRequired

      The ISO 4217 currency code, upper case.

      pattern ^[A-Z]{3}$
  • taxobjectRequired

    GST, where it applies.

    Show 2 child attributesHide 2 child attributes
    • amountintegerRequired

      The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

      min -9007199254740991, max 9007199254740991
    • currencystringRequired

      The ISO 4217 currency code, upper case.

      pattern ^[A-Z]{3}$
  • totalobjectRequired

    subtotal minus discount plus tax: what was paid.

    Show 2 child attributesHide 2 child attributes
    • amountintegerRequired

      The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

      min -9007199254740991, max 9007199254740991
    • currencystringRequired

      The ISO 4217 currency code, upper case.

      pattern ^[A-Z]{3}$
  • couponCodestring or nullRequired

    The coupon applied, or null.

  • invoiceIdstring (uuid) or nullRequired

    The order's invoice.

  • referencestring or nullRequired

    Your 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 100
  • metadataobjectRequired

    Your own key-value data on this object.

    max 20 keys
  • createdAtstring (date-time)Required

    When the order was placed.

  • paidAtstring (date-time) or nullRequired

    When it was paid, or null.

  • completedAtstring (date-time) or nullRequired

    When its last service became ready, or null.

  • cancelledAtstring (date-time) or nullRequired

    When it was cancelled, or null.

  • livemodebooleanRequired

    True 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.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.