Skip to main content
PATCH
Update Domain Settings
Modifies settings for custom domains, such as marking a domain as the primary checkout host or toggling active routing states.

Authorizations

string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

string
required
The unique UUID of the shop.
number
required
The unique ID of the domain record.

Request Body (JSON)

boolean
Toggle whether traffic is routed to this domain.
boolean
Set as the primary root address of the storefront.