Admin API / Types
ApiClient
ObjectAn API client of a storefront that the owner runs. Its publishable key reads the catalogue and carts from the Marketplace API and signs customers in on redirectUris.
type ApiClientFields
| Field | Type | Description |
|---|---|---|
createdAt | DateTime! | When the client was created. |
deletedAt | DateTime | When deleteApiClient deleted the client, or null for a live client. |
id | ID! | The client ID. The District SDK reads it as DISTRICT_CLIENT_ID. |
name | String! | A label for the owner. Customers see the store name, not this label. |
redirectUris | [URL!]! | The origins that sign-in can return to, each as a URL with an empty path, such as https://shop.example.com/. Sign-in returns to any page of an origin. |