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>",
    "country": {
      "code": "<string>",
      "flag": "<string>",
      "dialing": "<string>",
      "name": "<string>",
      "aliass": [
        "<string>"
      ],
      "continent": "<string>",
      "supported": true,
      "alphaNumericSenderId": true,
      "taxTypes": [
        {
          "type": "<string>",
          "name": "<string>",
          "example": "<string>"
        }
      ]
    },
    "postalCode": "<string>"
  },
  "tax": {
    "type": "<string>",
    "id": "<string>"
  }
}'
{
  "success": true,
  "data": {
    "name": "<string>",
    "email": "<string>",
    "address": {
      "line1": "<string>",
      "line2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country": {
        "code": "<string>",
        "flag": "<string>",
        "dialing": "<string>",
        "name": "<string>",
        "aliass": [
          "<string>"
        ],
        "continent": "<string>",
        "supported": true,
        "alphaNumericSenderId": true,
        "taxTypes": [
          {
            "type": "<string>",
            "name": "<string>",
            "example": "<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

Response

200
application/json

successful operation

The response is of type object.