Skip to content
Guides
API reference
stablesettings:update

Create store domain

POST/v1/stores/domains

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/stores/domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{  "id": "string",  "hostname": "string",  "status": "string",  "isPrimary": true,  "dnsRecords": [    {      "type": "string",      "name": "string",      "content": "string"    }  ]}