1. Orders
  • Welcome to the Cold Mail Reseller API
  • Get Started
    • Overview
    • Authentication
    • Quick Start
  • Core Concepts
    • Users
    • Domains
    • DNS Management
    • Mailboxes
    • Subscriptions
    • Pre-Warmup
    • Domain Renewal
    • 1+ Year Subscriptions
    • Mailbox Warmup
    • Platform Exports
    • OAuth Exports
    • Sandbox API
  • API Reference
    • Users
      • List Users
      • Get User
      • Create User
      • Update User
      • Delete User
    • Geo
      • List Countries
      • List States
    • Domains
      • Domain Renewal
        • Get Domain Renewal Prices
        • Renew Domains
        • Toggle Domain Auto-Renew
      • Get Domains by User
      • Check Domain Availability
      • Check Single Domain Availability
      • Check Workspace Existence
      • Set Domain Forwarding
      • Set Email Forwarding
      • Delete Domains
    • DNS
      • Get DNS Records
      • Add DNS Records
      • Update DNS Record
      • Update Nameservers
      • Delete DNS Record
    • Mailboxes
      • List Mailboxes
      • Get Mailboxes by User
      • Get Mailbox
      • Get Admin Mailbox Details
      • Update Mailbox Details
      • Delete Mailbox
    • Mailbox Warmup
      • Add Warmup to Mailbox
      • Toggle Warmup
      • Update Warmup Settings
      • Set Warmup Status
      • Disable Warmup
    • Orders
      • Get Order Status
        GET
      • Get Order Details
        GET
      • Create Order
        POST
      • Create Order (JSON)
        POST
      • Create Mailbox Order (JSON)
        POST
      • Process Order
        POST
    • Subscriptions
      • 1+ Year Subscription
        • Recreate Subscription
      • Get Subscriptions
      • Renew Subscriptions
      • Cancel Subscription
      • Toggle Auto-Renewal
    • Exports
      • Platform Exports
        • Get Platform Credentials
        • Add Platform Credential
        • Export Mailboxes to Platform
        • Remove Platform Credential
      • OAuth Exports
        • Perform OAuth
        • Add Client ID to Domains
    • Pre-Warmup
      • Sandbox
        • Get Sandbox Pre-warmup Domains
        • Order Sandbox Pre-warmup
        • Reset Sandbox Pre-warmup
      • Get Pre-warmup Domains
      • Order Pre-warmup
    • Placement Test
      • Create Placement Order
      • Get Placement Reports
  • Resources
    • Errors
    • Rate Limits
    • Pagination
    • Sandbox
    • MCP
  • Webhooks
    • Overview
    • Events
      • Domain Events
      • Mailbox Events
      • Subscription Events
      • Prewarmup Events
      • Mailbox Warmup Events
  • Schemas
    • Error
    • Success
    • MessageResponse
    • User
    • Domain
    • ErrorResponse
    • Mailbox
    • Subscription
    • DnsRecord
    • Error Response
    • Pagination Meta
    • Action Error Response
    • PrewarmupOrderResult
    • OrderCreationResult
  1. Orders

Create Order (JSON)

POST
/orders/json
Creates a new order for domain registration and mailbox setup.

✅ Confirmed Orders (confirm: true)#

When confirm is set to true:
Order will be created and automatically queued for processing
Your wallet must have sufficient balance to cover the order cost
Processing begins immediately after creation
Returns 200 OK on success

⏸️ Unconfirmed Orders (confirm: false)#

When confirm is set to false:
Order will be created but not processed
To process the order later, use the Process Order endpoint
Useful for reviewing order details before committing
Returns 201 OK on success

Partial Success Response#

If the request contains multiple domains or mailbox entries, some items may be processed successfully while others fail validation.

What Happens#

The order may still be created successfully
Successful items will be included in the order
Failed items will be returned in the metadata field
Each failed item contains the reason for failure

Common Failure Reasons in metadata#

Workspace validation failed : The order could not be completed because the request failed during processing, as the domain is already associated with an existing Google Workspace account.
Contains restricted phrase : The order could not be completed because it contains restricted phrase(s) that may violate intellectual property, promote violence, or involve illegal activities.

Important Notes#

Wallet Balance: Ensure sufficient balance in your wallet when using confirm: true
Service Provider: For Google mailboxes, the google object is required. For Microsoft mailboxes, microsoftOauthRoute is required

Email Warmup (onWarmup)#

Mark any mailbox with "onWarmup": true to enroll it in email warmup automatically after provisioning.
{
  "mailboxes": {
    "example.com": [
      { "username": "alice", "firstName": "Alice", "lastName": "Smith", "onWarmup": true },
      { "username": "bob", "firstName": "Bob", "lastName": "Jones", "onWarmup": false }
    ]
  }
}

Request

Authorization
API Key
Add parameter in header
cmr-x-api-key
Example:
cmr-x-api-key: ********************
or
Query Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Order created and queued for processing (confirm=true)
Bodyapplication/json

🟢201Created
🟠401Unauthorized
🟠422Validation Error
🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://customers.coldmailreseller.com/api/v1/integration/orders/json?userId=H8M9JV2S9HMPYFQW393AZHQVD4XM' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "billingCycle": "MONTHLY",
    "domains": [
        {
            "domain": "acmecorp.com",
            "years": 1
        }
    ],
    "mailboxes": {
        "acmecorp.com": [
            {
                "username": "alice",
                "firstName": "Alice",
                "lastName": "Johnson",
                "onWarmup": true
            }
        ]
    },
    "serviceProvider": "GOOGLE",
    "autoRenew": true,
    "confirm": true,
    "google": {
        "googleOauthRoute": "string",
        "clientId": "string",
        "appName": "string"
    },
    "microsoftOauthRoute": "https://yourapp.com/oauth/microsoft/callback"
}'
Response Response Example
200 - Example 1
{
    "status": 200,
    "message": "Order created and queued for processing",
    "data": {
        "orderId": "ord_R8K2LQPZA9XM",
        "metadata": {
            "property1": "Success",
            "property2": "Success"
        }
    },
    "actionId": "ACT_7a078272-0fa7-4db4-a85b-c78697dacea1"
}
Modified at 2026-08-06 06:20:56
Previous
Create Order
Next
Create Mailbox Order (JSON)
Built with