marketDelete
BETA: markets can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.
Deletes a market. Its code is free again right away, and it is removed from the channels that sell it. A default market can't be deleted: not the tenant's default market, and not a channel's default market. Make another market the default first.
Errors: MARKET_DELETE_ERROR, MARKET_NOT_FOUND_ERROR if the market doesn't exist, MARKET_DELETE_REFUSED_ERROR for the tenant's or a channel's default market, TENANT_NOT_FOUND_ERROR if the tenant doesn't exist.
AUTH: Role=[configuration.OWNER]
marketDelete(
id: String!
): Boolean!
Arguments
marketDelete.id ● String! non-null scalar
Id of the market to delete.
Type
Boolean scalar
The Boolean scalar type represents true or false.