Domains

(ms.domains)

It lets you add a domain to your store.



Fields

ValueDescription
domain   
Type: string
Required
The name of domain.
attire.com
troubleshoot   
Type: string
Troubleshoot lets you get details of your domain and debug the issue with DNS configuration.
email   
Type: string
Provide a valid email id related to that domain.
dennis.richie@gmail.com
primary   
Type: string
Click on the button if you want to make the specific domain primary.
1
redirect_to_primary   
Type: string
Select the checkbox if you want to redirect the domain to primary domain.
1
cookie_life   
Type: number

Commands (Endpoints)

POST /api/1/entity/ms.domains   
Creates a new domain
DEL /api/1/entity/ms.domains/{resource_id}   
Deletes a domain
PUT /api/1/entity/ms.domains/{resource_id}   
Updates an existing domain
GET /api/1/entity/ms.domains/{resource_id}   
Retrieves a single domain
GET /api/1/entity/ms.domains   
Retrieves a list of domains