Skip to main content
PUT
/
{shopId}
/
currencies
Update currencies
curl --request PUT \
  --url http://staging.qshop.ng/apiv2/{shopId}/currencies \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "currency": "60aa6cd79aed9f2aa1b677db",
    "isDisabled": false,
    "isRateAutomated": true
  },
  {
    "currency": "6175de676882441e3ba71caa",
    "isDisabled": true,
    "isRateAutomated": true
  },
  {
    "baseRate": 1,
    "currency": "6177255c938e558bd43b218e",
    "currencyRate": 10,
    "isDisabled": true
  }
]
'

Body

application/json
baseRate
number
Example:

1

currency
string
Example:

"60aa6cd79aed9f2aa1b677db"

currencyRate
number
Example:

10

isDisabled
boolean
Example:

false

isRateAutomated
boolean
Example:

true

Example:
[
{
"currency": "60aa6cd79aed9f2aa1b677db",
"isDisabled": false,
"isRateAutomated": true
},
{
"currency": "6175de676882441e3ba71caa",
"isDisabled": true,
"isRateAutomated": true
},
{
"baseRate": 1,
"currency": "6177255c938e558bd43b218e",
"currencyRate": 10,
"isDisabled": true
}
]

Response

200 - undefined