POST:currencies.json
Commerce APIPOST:currencies.json

POST:currencies.json

Description

Modify shop currencies.

You cannot disable shop's primary currency.

Permission bit: "currencies.modify"

Topic: Currencies

Query Parameters

ids: Comma-separated array of String, required

List of currency ids. See also: Unique Identifiers

Example: ?ids=currency_id,currency_id


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of CurrencyModify

[
  {
    "conversion_fee": 5.5,
    "custom_exchange_rate": 5.1231237,
    "enabled": false,
    "format": {
      "decimal_separator": ".",
      "has_decimals": true,
      "pattern": "${} USD",
      "thousands_separator": ","
    }
  }
]

Response Body

Array of Currency

Response Body Type

Loading module