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: OWNER
claimStorefrontOrigin(
  input: ClaimStorefrontOriginInput!
): ClaimStorefrontOriginPayload!

Arguments

ArgumentTypeDescription
inputClaimStorefrontOriginInput!The origin to claim.

Return type

ClaimStorefrontOriginPayload!