v1 is deprecated. Please move to API v2 (recommended). v1 keeps working until March 31, 2027, then it stops. See Moving from v1.

Orders

Get order

Get one order with its parts per provider, their domains and its add-ons.

GEThttps://server.scaledmail.com/api/v1/orders/:uuid
Token access
Read
Rate limit
120 read calls per minute per token

Every live domain of the order is listed, so a big order gives a big answer. For mailboxes and passwords use GET /domains or GET /mailboxes/:domain.

Path parameters

  • uuidstringrequired

    The order id (sub_...), as id in GET /orders. A few older orders have an id that starts with rec.

Headers

  • Authorizationstringrequired

    Bearer <your API token>. Any token works (Read or Read and write).

Query parameters

  • organization_idstringrequired

    Your workspace id (org_...). Must be a workspace this token was made for.

Response (200)

  • idstringrequired

    The order id (sub_...).

  • testbooleanrequired

    true for a test order.

  • amountnumberrequired

    Price of one invoice, in US dollars.

  • created_atstringrequired

    When the order was made (ISO 8601, UTC).

  • sub_idstringrequired

    Id of the billing subscription behind this order. For an order that is not paid by card it is a placeholder.

  • submit_atstringrequired

    When the domains and mailboxes were sent (ISO 8601, UTC). Empty text if not yet.

  • tagstringrequired

    Your label for the order. Empty text if none.

  • statusenumrequired

    Pending Form: paid, domains and mailboxes not sent yet. Active. Cancellation Request Received: cancelled, still running until the end of the paid period. Cancelled: ended.

    One of: Active Pending Form Cancellation Request Received Cancelled

  • descriptionstringoptional

    What the order holds, like 1 * SM - Google.

  • invoicesany[]required

    Always an empty list.

  • total_domainsintegerrequired

    Domains on the order, all providers.

  • packagesobject[]required

    One entry per mailbox provider in the order.

    Show child fields
    • idstringrequired

      Id of this part of the order (a UUID).

    • notestringrequired

      Always empty text.

    • payment_idstringrequired

      The order id (sub_...).

    • created_atstringrequired

      When this part was made (ISO 8601, UTC).

    • total_domainsintegerrequired

      Domains in this part.

    • typeenumrequired

      The mailbox provider.

      One of: Google Outlook SMTP

    • quantityintegerrequired

      Size of this part: mailboxes for Google, domains for Outlook and SMTP.

    • statusenumrequired

      Where this part is in the setup.

      One of: Pending Form Submitted Provisioning Active Cancelling Cancelled

    • domainsobject[]required

      The live domains of this part, A to Z.

      Show child fields
      • idstringrequired

        The domain's id (a UUID).

      • namestringrequired

        The domain name.

      • statusstringrequired

        Always empty text. Use GET /domains for domain status.

  • addonsobject[]required

    Reporting add-ons on this order.

    Show child fields
    • idstringrequired

      The add-on's id (a UUID).

    • payment_idstringrequired

      The order id (sub_...).

    • statusenumrequired

      Add-on status.

      One of: Active Paused Cancelled

  • payment_provider"stripe"required

    Always stripe, also for an order that is not paid by card.

  • billing_monthsintegerrequired

    Months one invoice covers: 1, 3, 6 or 12. amount is one invoice.

Responses

  • 200OK. The order is in this workspace.
  • 404Not found. No order with this id in this workspace.
  • 401No token. The Authorization header is missing or not Bearer <token>.
  • 429Busy. Too many large reads are running for this workspace at once. Wait for the Retry-After seconds.
  • 429Rate limited. More than 120 read calls in a minute. Wait for the Retry-After seconds.