Account
Update current account
Changed onUpdates settings for the authenticated account. Accepts all parameters from Create Account plus the ones listed here.
put/accounts/me
Request
- Base URLhttps://your-subdomain.truust.io/2.0
- URLhttps://your-subdomain.truust.io/2.0/accounts/me
- AuthHTTP bearer
Request body
Example request
{
"name": "My Company",
"allow_shipping": 0,
"business_phone": "+34666999666",
"business_description": "Description of the business"
}Response
Updated account
Example response
{
"self": "/2.0/accounts/me",
"name": "My Company",
"currency": "EUR",
"country_code": "ES"
}Changes
- breaking
the request property
became required - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status
- breaking