Skip to main content

marketUpdate

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

Updates a market. The code and the currency can never change. isDefault: true makes this market the tenant's default market; that needs configuration.OWNER.

Errors: MARKET_UPDATE_ERROR, MARKET_NOT_FOUND_ERROR if the market doesn't exist, TENANT_NOT_FOUND_ERROR if the tenant doesn't exist.

AUTH: Role=[configuration.OWNER,configuration.EDITOR]

marketUpdate(
id: String!
input: MarketUpdateInput!
): Market!

Arguments​

marketUpdate.id ● String! non-null scalar​

Id of the market to update.

marketUpdate.input ● MarketUpdateInput! non-null input​

The fields to change. Only the fields you send change.

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.