Countries
Update a country
Changes a country’s status, description or default address fields.
PATCH
cURL
Send the fields to change under
country. You can change status, description and the default_* fields such as default_state and default_city. The response holds the country’s values from before the change, so read the country again to see what is stored.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set
host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.Authorizations
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Path Parameters
The country's country_ id, as the listing returns it.
Body
application/json
Response
200 - application/json
The country's values from before the change, under country.