POST
/
{storeId}
/
customdomain
curl --request POST \
  --url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/customdomain \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "example.com"
}'
{
  "id": "623d3455ec3c4b3548eb4a322",
  "name": "example.com",
  "connected": "true",
  "createdAt": "2022-03-25T03:17:44.092Z",
  "updatedAt": "2022-06-10T07:51:12.510Z"
}

Path Parameters

storeId
string
required

Store ID for this resource request

Body

application/json
name
string
required

Name

Response

201 - application/json
id
string

Unique identifier for the resource

name
string

Name

connected
boolean

Connect the custom domain

createdAt
string

Created date

updatedAt
string

Updated date