Orders
Get order
Get one order with its parts per provider, their domains and its add-ons.
https://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
uuidstringrequiredThe order id (
sub_), as. . . idinGET /orders. A few older orders have an id that starts withrec.
Headers
AuthorizationstringrequiredBearer <your API token>. Any token works (Read or Read and write).
Query parameters
organization_idstringrequiredYour workspace id (
org_). Must be a workspace this token was made for.. . .
Response (200)
idstringrequiredThe order id (
sub_).. . . testbooleanrequiredtruefor a test order.amountnumberrequiredPrice of one invoice, in US dollars.
created_atstringrequiredWhen the order was made (ISO 8601, UTC).
sub_idstringrequiredId of the billing subscription behind this order. For an order that is not paid by card it is a placeholder.
submit_atstringrequiredWhen the domains and mailboxes were sent (ISO 8601, UTC). Empty text if not yet.
tagstringrequiredYour label for the order. Empty text if none.
statusenumrequiredPending 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:
ActivePending FormCancellation Request ReceivedCancelleddescriptionstringoptionalWhat the order holds, like
1 * SM - Google.invoicesany[]requiredAlways an empty list.
total_domainsintegerrequiredDomains on the order, all providers.
packagesobject[]requiredOne entry per mailbox provider in the order.
ShowHide child fields
idstringrequiredId of this part of the order (a UUID).
notestringrequiredAlways empty text.
payment_idstringrequiredThe order id (
sub_).. . . created_atstringrequiredWhen this part was made (ISO 8601, UTC).
total_domainsintegerrequiredDomains in this part.
typeenumrequiredThe mailbox provider.
One of:
GoogleOutlookSMTPquantityintegerrequiredSize of this part: mailboxes for Google, domains for Outlook and SMTP.
statusenumrequiredWhere this part is in the setup.
One of:
Pending FormSubmittedProvisioningActiveCancellingCancelleddomainsobject[]requiredThe live domains of this part, A to Z.
ShowHide child fields
idstringrequiredThe domain's id (a UUID).
namestringrequiredThe domain name.
statusstringrequiredAlways empty text. Use
GET /domainsfor domain status.
addonsobject[]requiredReporting add-ons on this order.
ShowHide child fields
idstringrequiredThe add-on's id (a UUID).
payment_idstringrequiredThe order id (
sub_).. . . statusenumrequiredAdd-on status.
One of:
ActivePausedCancelled
payment_provider"stripe"requiredAlways
stripe, also for an order that is not paid by card.billing_monthsintegerrequiredMonths one invoice covers: 1, 3, 6 or 12.
amountis one invoice.
Responses
- 200OK. The order is in this workspace.
- 404Not found. No order with this id in this workspace.
- 401No token. The
Authorizationheader is missing or notBearer <token>. - 429Busy. Too many large reads are running for this workspace at once. Wait for the
Retry-Afterseconds. - 429Rate limited. More than 120 read calls in a minute. Wait for the
Retry-Afterseconds.
