Skip to main content

marketCreate

BETA: markets can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.

Creates a market in the current tenant. The tenant's first market becomes its default market.

Errors: MARKET_CREATE_ERROR, MARKET_CODE_ALREADY_EXISTS_ERROR if the tenant already has a market with this code, TENANT_NOT_FOUND_ERROR if the tenant doesn't exist.

AUTH: Role=[configuration.OWNER]

marketCreate(
input: MarketCreateInput!
): Market!

Arguments​

marketCreate.input ● MarketCreateInput! non-null input​

The new market.

Type​

Market object​

BETA: markets can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.

A market: a name with one currency. Prices and other fixed amounts belong to a market. Exactly one market of a tenant is its default market.