1. Domains
  • Welcome to the Cold Mail Reseller API
  • Get Started
    • Overview
    • Authentication
    • Quick Start
  • Core Concepts
    • Users
    • Domains
    • DNS Management
    • Subscriptions
    • Pre-Warmup
    • Domain Renewal
    • Mailbox Warmup
    • OAuth Exports
    • Platform Exports
    • Mailboxes
    • Sandbox API
    • 1+ Year Subscriptions
  • 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 Domain
        GET
      • List Available Aged Domains
        GET
      • Order Aged Domains
        POST
      • Get Domains by User
        GET
      • Check Domain Availability
        POST
      • Check Single Domain Availability
        POST
      • Check Workspace Existence
        POST
      • Set Domain Forwarding
        POST
      • Set Email Forwarding
        POST
      • Delete Domains
        DELETE
    • 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
      • Delete Warmup Subscription
    • Orders
      • Get Order Status
      • Get Order Details
      • Create Order
      • Create Order (JSON)
      • Create Mailbox Order (JSON)
      • Process Order
    • Subscriptions
      • 1+ Year Subscription
        • Recreate Subscription
      • Get Subscriptions
      • Renew Subscriptions
      • Cancel Subscription
      • Toggle Auto-Renewal
    • Exports
      • Platform Exports
        • Get Platform Credentials
        • Get Platform Workspaces
        • Add Platform Credential
        • Export Mailboxes to Platform
        • Update Platform Credential
        • 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
      • DNS Events
      • Subscription Events
      • Prewarmup Events
      • Mailbox Warmup Events
      • Mailbox Events
      • Domain Events
  • Schemas
    • Error
    • Success
    • MessageResponse
    • User
    • Domain
    • ErrorResponse
    • Mailbox
    • Subscription
    • DnsRecord
    • Error Response
    • Pagination Meta
    • Action Error Response
    • PrewarmupOrderResult
    • OrderCreationResult
  1. Domains

Order Aged Domains

POST
/orders/aged-domains
Place an order for aged (aftermarket) domains from our inventory.
Same request shape as POST /orders/json but every domain is sourced from our own aged-domain inventory rather than registered fresh at a registrar. Domains are priced from the partner's aged-domain configuration and carry the remainder of the previous owner's registration term. The years field in each domain object is accepted for payload parity but ignored.
Domains are atomically reserved from inventory. If any requested domain cannot be reserved, the whole request fails with 409 and no partial reservation is made.
Pass confirm: true to queue the order for immediate payment processing. Without it, the order is created (201) but not charged or provisioned until you call POST /orders/process-order.
Google export: wrap googleOauthRoute, clientId, and appName inside a google object.
Microsoft export: pass microsoftOauthRoute at the top level.

Example#

{
  "billingCycle": "MONTHLY",
  "serviceProvider": "GOOGLE",
  "domains": [{ "domain": "fastgrowth.io" }],
  "mailboxes": {
    "fastgrowth.io": [
      { "username": "alex", "firstName": "Alex", "lastName": "Smith" }
    ]
  },
  "confirm": true,
  "google": {
    "googleOauthRoute": "https://accounts.google.com/o/oauth2/v2/auth?client_id=...",
    "clientId": "123456789.apps.googleusercontent.com",
    "appName": "MySendingApp"
  }
}

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

🟢200Order Created and Queued (confirm=true)
application/json
Returned when confirm: true — the order is created and immediately queued for processing. metadata maps each requested domain to its status; domains that were skipped (restricted phrases, workspace validation failure) appear here with a reason.
Bodyapplication/json

🟢201Order Created (confirm omitted)
🟠400Validation Error
🟠401Unauthorized
🟠404Not Found
🟠409Domain Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://customers.coldmailreseller.com/api/v1/integration/orders/aged-domains?userId=H8M9JV2S9HMPYFQW393AZHQVD4XM' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "billingCycle": "MONTHLY",
    "serviceProvider": "GOOGLE",
    "domains": [
        {
            "domain": "fastgrowth.io",
            "years": 1
        }
    ],
    "mailboxes": {
        "fastgrowth.io": [
            {
                "username": "alex",
                "firstName": "Alex",
                "lastName": "Smith"
            }
        ]
    },
    "confirm": true,
    "google": {
        "googleOauthRoute": "https://accounts.google.com/o/oauth2/v2/auth?client_id=123.apps.googleusercontent.com&redirect_uri=https://app.example.com/callback&scope=https://mail.google.com/&response_type=code",
        "clientId": "123456789-abc.apps.googleusercontent.com",
        "appName": "MySendingApp"
    },
    "microsoftOauthRoute": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=...&redirect_uri=https://app.example.com/callback&scope=Mail.ReadWrite"
}'
Response Response Example
200 - Example 1
{
    "status": 200,
    "message": "Order created and queued for processing",
    "data": {
        "orderId": "H8M9JV2S9HMPYFQW393AZHQVD4XM",
        "metadata": {}
    }
}
Modified at 2026-09-24 04:45:37
Previous
List Available Aged Domains
Next
Get Domains by User
Built with