Skip to main content
PUT
/
v1
/
accounts
/
{accountId}
/
billing
update the account's business info
curl --request PUT \
  --url https://api.sakari.io/v1/accounts/{accountId}/billing \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postalCode": "<string>"
  },
  "tax": {
    "type": "<string>",
    "id": "<string>"
  }
}
'
{
  "success": true,
  "data": {
    "name": "<string>",
    "email": "<string>",
    "address": {
      "line1": "<string>",
      "line2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "postalCode": "<string>"
    },
    "tax": {
      "type": "<string>",
      "id": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string
required

Account to apply operations to

Body

application/json
name
string
email
string
address
object
tax
object

Response

successful operation

success
boolean
required
data
object
required