Update your account settings
Changes your account settings. Send only the settings you want to change; the others are left as they are. Sending country replaces your profile location with that country.
This doesn't change your seller profile: your seller country and selling currency stay as they are. A seller's account country must stay their seller country.
Returns your settings after the change, in the same shape as GET /v1/account/settings.
Requires the account:write scope.
Body
- Type: stringcountrymin length:2max length:2
Your account country, as a two-letter ISO 3166-1 alpha-2 code, e.g.
FR. It replaces your profile location with that country and is your default delivery country while your cart is empty. Must be a country CardNexus delivers to. Omit to leave it unchanged. - Type: stringenumcurrency
The currency cardnexus.com shows prices in for you, as an ISO 4217 code. Omit to leave it unchanged.
values- U
S D - E
U R - C
A D - A
E D - A
U D - B
R L - C
H F - C
N Y
- U
- Type: stringenumlanguage
The language cardnexus.com is shown in for you. Omit to leave it unchanged.
values- en
English.
- fr
French.
- de
German.
- it
Italian.
- es
Spanish.
- en
- Type: stringenummarket
Price Region Which market prices cardnexus.com shows you:
eu(Europe) orna(North America). Omit to leave it unchanged.values- eu
Europe.
- na
North America — the United States and Canada.
- eu
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
curl https://public-api.cardnexus.com/v1/account/settings \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"country": "",
"currency": "USD",
"marketPriceRegion": "eu",
"language": "en"
}'
{
"country": "FR",
"defaultDeliveryCountry": {
"country": "FR",
"source": "profile"
},
"currency": "EUR",
"marketPriceRegion": "eu",
"language": "fr"
}