curl --request PATCH \
--url https://qwoty.app/api/addresses/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"name": {},
"address_line1": "<string>",
"address_line2": {},
"city": "<string>",
"state": {},
"postal_code": "<string>",
"country": "<string>",
"contact_id": {},
"comment": {},
"id_crm": {},
"id_erp": {},
"id_accounting": {}
}
'{
"success": true,
"data": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "billing",
"name": "Nouveau siège",
"address_line1": "42 Avenue des Champs-Élysées",
"address_line2": null,
"city": "Paris",
"state": null,
"postal_code": "75008",
"country": "FR",
"contact_id": null,
"comment": null,
"id_crm": null,
"id_erp": null,
"id_accounting": null,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-24T14:00:00Z"
}
}
Partially update an address
curl --request PATCH \
--url https://qwoty.app/api/addresses/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"name": {},
"address_line1": "<string>",
"address_line2": {},
"city": "<string>",
"state": {},
"postal_code": "<string>",
"country": "<string>",
"contact_id": {},
"comment": {},
"id_crm": {},
"id_erp": {},
"id_accounting": {}
}
'{
"success": true,
"data": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "billing",
"name": "Nouveau siège",
"address_line1": "42 Avenue des Champs-Élysées",
"address_line2": null,
"city": "Paris",
"state": null,
"postal_code": "75008",
"country": "FR",
"contact_id": null,
"comment": null,
"id_crm": null,
"id_erp": null,
"id_accounting": null,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-24T14:00:00Z"
}
}
Documentation Index
Fetch the complete documentation index at: https://docs.qwoty.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer qwoty_your_token"billing", "shipping"null to unset.null to unset.null to unset.null to unset.null to unset.customer_id cannot be changed after creation.curl -X PATCH https://qwoty.app/api/addresses/770e8400-e29b-41d4-a716-446655440002 \
-H "Authorization: Bearer qwoty_your_token" \
-H "Content-Type: application/json" \
-d '{
"name": "Nouveau siège",
"address_line1": "42 Avenue des Champs-Élysées",
"city": "Paris",
"postal_code": "75008",
"country": "FR"
}'
true if the update succeeded{
"success": true,
"data": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "billing",
"name": "Nouveau siège",
"address_line1": "42 Avenue des Champs-Élysées",
"address_line2": null,
"city": "Paris",
"state": null,
"postal_code": "75008",
"country": "FR",
"contact_id": null,
"comment": null,
"id_crm": null,
"id_erp": null,
"id_accounting": null,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-24T14:00:00Z"
}
}
Was this page helpful?