POST:currencies.json
Commerce APIPOST:currencies.json

POST:currencies.json

Description

Create shop currencies.

Permission bit: "currencies.create"

Topic: Currencies

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of CurrencyCreate

[
  {
    "conversion_fee": 5.5,
    "currency": "USD",
    "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