PUT
/
organizations
/
{id}
/
billing-addresses
/
{billingAddressId}
Update Organization Billing Address
curl --request PUT \
  --url https://{deploymentHost}/organizations/{id}/billing-addresses/{billingAddressId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "company": "<string>",
  "address_line_1": "<string>",
  "address_line_2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "postal_code": "<string>",
  "country": "<string>",
  "is_default": true
}'
{
  "status": 200,
  "message": "",
  "data": {
    "billing_address": {
      "id": "billing_123456789",
      "name": "Updated Office Location",
      "company": "Acme Corporation Ltd",
      "address_line_1": "789 Updated Street",
      "address_line_2": "Floor 5",
      "city": "Los Angeles",
      "state": "CA",
      "postal_code": "90210",
      "country": "US",
      "is_default": true,
      "created_at": "2024-01-15T19:30:00Z",
      "updated_at": "2024-01-15T20:00:00Z"
    }
  },
  "session": {
    "signin_attempts": [],
    "signins": [
      {
        "id": "signin_987654321",
        "user_id": "user_456789123",
        "created_at": "2024-01-01T12:00:00Z"
      }
    ],
    "signup_attempts": [],
    "active_signin": {
      "id": "signin_987654321",
      "user_id": "user_456789123",
      "created_at": "2024-01-01T12:00:00Z"
    }
  },
  "errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Path Parameters

id
string
required

Organization ID

billingAddressId
string
required

Billing Address ID to update

Body

application/json

Response

200
application/json

Billing address updated successfully

The response is of type object.