{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-upsert-multiple-channels-currency-assignments-req-schema.json", "title": "UpsertMultipleChannelsCurrencyAssignmentsReq", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/bigcommerce-currency-assignments-api-openapi.yml#/components/schemas/UpsertMultipleChannelsCurrencyAssignmentsReq", "type": "array", "items": { "$ref": "#/$defs/CurrencyRequiredWithChannelId" }, "x-internal": false, "$defs": { "ChannelId": { "type": "integer", "format": "int64", "description": "The ID of the channel.", "x-internal": false }, "CurrencyRequiredWithChannelId": { "type": "object", "description": "Details about currency assignments for a specific channel.", "properties": { "channel_id": { "$ref": "#/$defs/ChannelId" }, "enabled_currencies": { "$ref": "#/$defs/EnabledCurrencies" }, "default_currency": { "$ref": "#/$defs/DefaultCurrency" } }, "required": [ "channel_id", "enabled_currencies", "default_currency" ], "x-internal": false }, "DefaultCurrency": { "type": "string", "description": "Default currency for the channel in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three character alphabetic format. Will be used on storefront when other currencies cannot.", "x-internal": false }, "EnabledCurrencies": { "type": "array", "description": "Currencies that are enabled for the specified channel in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) three character alphabetic format.", "items": { "type": "string" }, "x-internal": false } } }