Marketplace API / Types

Marketplace

Object

Storefront settings and metadata.

type Marketplace implements Node

Fields

FieldTypeDescription
activeAnnouncementAnnouncement
The latest active announcement, or null when none exists.
agoraAppIdNonEmptyString!
The Agora App ID this storefront's livestreams run on. Initialize the RTC engine with this value. Livestream tokens are signed against it, and a token signed for a different App ID cannot join a channel.
avatarImage
Storefront avatar, or null when none is set. Avatars are square images intended for display beside the storefront name.
brandMarketplaceBrand!
Storefront brand settings. Null values use District defaults.
chatChannelsEnabledBoolean!
Whether chat channels are on.
checkoutUrlURL!
Home of the store's hosted checkout. Checkout pages, such as a cart's url, are on its origin. The URL changes when the store's checkout host changes, for example when the store moves checkout to a custom domain.
commerceEnabledBoolean!
Whether members can sell. When false, no member can create a listing.
createdAtDateTime!
When the storefront was created.
dashboardUrlURL!
URL for managing the store. Open it directly. Unauthenticated users are redirected to sign in, and the dashboard checks their permissions.
descriptionString
The store description, or null when it is empty.
handleSlug!
The store's label in its District URLs.
hasMultipleSellersBoolean!
Whether the store hosts multiple sellers. When false, the store itself sells every product.
idID!
A globally unique ID. Treat this value as an opaque string.
livestreamsEnabledBoolean!
Whether members can go live. When false, no member can start or resume a livestream.
memberCountNonNegativeInt!
The number of active members, sellers included.
memberListEnabledBoolean!
Whether the storefront shows who its members are. socialLinks are the store's own and do not depend on this value.
nameString!
The storefront's name.
paymentsConfigMarketplacePaymentsConfig!
Payment capabilities.
sellerCountNonNegativeInt!
The number of active members who can sell.
settingsUrlURL!
URL for the authenticated user's store settings. Open it directly; unauthenticated users are redirected to sign in.
themeColorString
Color of the storefront's primary buttons, as #RRGGBB or #RRGGBBAA. Null uses the District default. It is independent of brand.accentColor.
urlURL!
Public storefront home page. Uses the store's verified storefront origin when one exists. Otherwise uses the custom domain when configured, and otherwise uses the District-hosted URL. The value changes when a storefront origin becomes verified or stops being verified.

Returned by