SellAuth

Domains

Get Domains

Retrieves the domains.

GET
/v1/shops/{shopId}/domains

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/domains" \
  -H "Authorization: Bearer <token>"

[]

Create Domain

Creates a new domain.

POST
/v1/shops/{shopId}/domains

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/domains" \
  -H "Authorization: Bearer <token>"

Get Domain

Retrieves a specific domain.

GET
/v1/shops/{shopId}/domains/{domainId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

domainIdRequiredinteger
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/domains/{domainId}" \
  -H "Authorization: Bearer <token>"

{
  "message": "Domain not found"
}

Delete Domain

Deletes a specific domain.

DELETE
/v1/shops/{shopId}/domains/{domainId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

domainIdRequiredinteger
curl -X DELETE "https://api.sellauth.com/v1/shops/{shopId}/domains/{domainId}" \
  -H "Authorization: Bearer <token>"