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

required
application/json
  • 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.

  • The currency cardnexus.com shows prices in for you, as an ISO 4217 code. Omit to leave it unchanged.

    values
    • USD
    • EUR
    • CAD
    • AED
    • AUD
    • BRL
    • CHF
    • CNY
  • 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.

  • Which market prices cardnexus.com shows you: eu (Europe) or na (North America). Omit to leave it unchanged.

    values
    • eu

      Europe.

    • na

      North America — the United States and Canada.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for patch/account/settings
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"
}