Admin API / Types

ApiClient

Object

An 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 ApiClient

Fields

FieldTypeDescription
createdAtDateTime!
When the client was created.
deletedAtDateTime
When deleteApiClient deleted the client, or null for a live client.
idID!
The client ID. The District SDK reads it as DISTRICT_CLIENT_ID.
nameString!
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.

Returned by