Admin API / Mutations
claimStorefrontOrigin
Claims a storefront origin and returns its verification token. The host of the origin must serve the token at wellKnownUrl. Requires the OWNER role or higher. One origin at a time can be claimed: while another origin is claimed, the claim is refused, so release that origin first. A repeated claim of the claimed origin returns the same token, so a claim is safe to retry.
Requires a client key with one of these scopes:
admin:storefront:manageRequires this member role or higher: OWNERclaimStorefrontOrigin(
input: ClaimStorefrontOriginInput!
): ClaimStorefrontOriginPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | ClaimStorefrontOriginInput! | The origin to claim. |