Typescript (SDK)
Domains
Assign a domain to a site
Routes the domain to a storefront: attaches it to the given site and writes the edge routing record. Reassigning moves it.
POST
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
application/json
Prefix id of the site to route this domain to.
Response
The assigned domain
Available options:
pending, ssl_pending, active, error, null 
