price_id (required)price_id values from the /packages endpoint.provider (required)"scaledmail" ā Domains purchased through ScaledMail"other" ā Domains from external providers like Porkbun, Namecheap, or DNSimplequantity (optional)domains (required)/purchased-domains.domain (required)"example.com"redirect (optional)"profile_picture": "link1.com"profile_picture inside each alias.first_name and last_name"first_name": "John",
"last_name": "Doe"aliases array directly"aliases": [
{
"first_name": "User1",
"last_name": "Test",
"alias": "alias1",
"profile_picture": "link1.com"
}
]aliases array is provided, the system will not auto-generate aliases.hosting (conditionally required)provider = "other"."scaledmail" as the provider.curl --location --request POST 'https://server.scaledmail.com/api/v1/create-order/?organization_id&provider&coupon' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data-raw '{
"hosting": {
"provider": "Hosting Provier Name Here",
"username": "username",
"password": "password"
},
"sequencer": {
"provider": "Sequencer Name Here",
"username": "username",
"password": "password"
},
"domains": [
{
"domain": "scaledmail.net",
"first_name": "Dean",
"last_name": "Fiacoo",
"redirect": "scaledmail.com"
},
{
"domain": "scaledmail.us",
"first_name": "Dean",
"last_name": "Fiacoo"
},
{
"domain": "scaledmail.org",
"first_name": "Dean",
"last_name": "Fiacoo"
},
{
"domain": "scaledmail.io",
"first_name": "Dean",
"last_name": "Fiacoo"
}
]
}'{}