latestOpenAPI 3.0.32026-08-084947174.1 KB

f9302ec2ef8a

Accounts

Update Account

Updates an existing account. Only provided fields will be updated.

patch/accounts/{id}

Path parameters

idstring uuid required

Resource UUID

Request body

namestring required

Name of the account

websitestring

Website URL for the account

Example request

{
  "billing_address": {
    "administrative_area": {
      "id": "123e4567-e89b-12d3-a456-426614174000"
    },
    "country": {
      "id": "123e4567-e89b-12d3-a456-426614174000"
    }
  }
}

Response

Updated

Example response

{
  "data": {
    "billing_address": {
      "administrative_area": {
        "id": "123e4567-e89b-12d3-a456-426614174000"
      },
      "country": {
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
    }
  }
}