Update Organization Address
PATCH/v1/organizations/{organization_id}/address
Update the address for an organization
Body ParametersJSON
line2: optional string
Second line of the street address (suite, unit, building). Omit to leave unchanged, send null to clear, or send a value to set it.
maxLength255
state: optional string
State, province, or region. Omit to leave unchanged, send null to clear, or send a value to set it.
maxLength255
Update Organization Address
curl https://api.nirvanalabs.io/v1/organizations/$ORGANIZATION_ID/address \
-X PATCH \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $NIRVANA_LABS_API_KEY" \
-d '{
"city": "San Francisco",
"country": "US",
"line1": "123 Main St",
"line2": "Suite 400",
"postal_code": "94105",
"state": "CA",
"tax_id": "EU372000000",
"tax_id_type": "eu_vat"
}'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"city": "San Francisco",
"country": "US",
"created_at": "2025-01-01T00:00:00Z",
"line1": "123 Main St",
"line2": "Suite 400",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"postal_code": "94105",
"state": "CA",
"tax_id": "EU372000000",
"tax_id_type": "eu_vat",
"updated_at": "2025-01-01T00:00:00Z"
}Returns Examples
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"city": "San Francisco",
"country": "US",
"created_at": "2025-01-01T00:00:00Z",
"line1": "123 Main St",
"line2": "Suite 400",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"postal_code": "94105",
"state": "CA",
"tax_id": "EU372000000",
"tax_id_type": "eu_vat",
"updated_at": "2025-01-01T00:00:00Z"
}