confirm: true)confirm is set to true:200 OK on successconfirm: false)confirm is set to false:201 OK on successmetadata fieldWorkspace 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.confirm: truegoogle object is required. For Microsoft mailboxes, microsoftOauthRoute is requiredonWarmup)"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 }
]
}
}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"
}'{
"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"
}