Admin API / Types

CreateApiClientInput

Input

The storefront API client to create.

input CreateApiClientInput

Input fields

FieldTypeDescription
idempotencyKeyString!A client-generated key, 1 to 200 characters after trim. A repeat with the same key and input within 24 hours returns the first client and a null apiKey. The same key with another input returns IdempotencyConflictError.
nameString!A label for the owner, 1 to 100 characters after trim. Customers see the store name, not this label.
redirectUris[URL!]!The origins that sign-in can return to: 1 to 10 origins, such as https://shop.example.com. Sign-in returns to any page of an origin. An origin is https and a host name, with no port other than 443, no path, no query, no fragment and no user information. The host cannot be an IP address or a name in a District domain. The exception is one label below a District Hosting domain, such as https://{label}.ondistrict.net. A repeated origin counts once.