Orders
List orders
List every order of the workspace, cancelled ones too, newest first.
https://server.scaledmail.com/api/v1/orders- Token access
- Read
- Rate limit
- 120 read calls per minute per token
The list is not paged. Use GET /orders/:uuid for the domains of one order.
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)
totalintegerrequiredHow many orders are listed.
paymentsobject[]requiredEvery order of the workspace, cancelled ones too, newest first. Not paged.
ShowHide child fields
idstringrequiredThe order id (
sub_).. . . amountnumberrequiredPrice of one invoice, in US dollars.
created_atstringrequiredWhen the order was made (ISO 8601, UTC).
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. Add-ons are not listed. Missing (or empty text for some ended orders) when there is nothing to show.billing_monthsintegerrequiredMonths one invoice covers: 1, 3, 6 or 12.
amountis one invoice.
Responses
- 200OK. Always, also when the workspace has no orders (
total: 0). - 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.
