curl --request POST \
--url https://qwoty.app/api/addresses \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "<string>",
"type": "<string>",
"address_line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>",
"name": "<string>",
"address_line2": "<string>",
"state": "<string>",
"contact_id": "<string>",
"comment": "<string>",
"id_crm": "<string>",
"id_erp": "<string>",
"id_accounting": "<string>"
}
'{
"success": true,
"data": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"workspace_id": "706eb564-6c4a-4e18-841c-bdd79be6bca7",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "billing",
"name": "Siège social",
"address_line1": "12 Rue de la Paix",
"address_line2": null,
"city": "Paris",
"state": null,
"postal_code": "75001",
"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-01-15T10:30:00Z"
}
}
Create a new address linked to a customer
curl --request POST \
--url https://qwoty.app/api/addresses \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "<string>",
"type": "<string>",
"address_line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>",
"name": "<string>",
"address_line2": "<string>",
"state": "<string>",
"contact_id": "<string>",
"comment": "<string>",
"id_crm": "<string>",
"id_erp": "<string>",
"id_accounting": "<string>"
}
'{
"success": true,
"data": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"workspace_id": "706eb564-6c4a-4e18-841c-bdd79be6bca7",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "billing",
"name": "Siège social",
"address_line1": "12 Rue de la Paix",
"address_line2": null,
"city": "Paris",
"state": null,
"postal_code": "75001",
"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-01-15T10:30: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""FR", "US", "DE")"Head office", "Warehouse")curl -X POST https://qwoty.app/api/addresses \
-H "Authorization: Bearer qwoty_your_token" \
-H "Content-Type: application/json" \
-d '{
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "billing",
"name": "Siège social",
"address_line1": "12 Rue de la Paix",
"city": "Paris",
"postal_code": "75001",
"country": "FR"
}'
true if the address was created{
"success": true,
"data": {
"id": "770e8400-e29b-41d4-a716-446655440002",
"workspace_id": "706eb564-6c4a-4e18-841c-bdd79be6bca7",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "billing",
"name": "Siège social",
"address_line1": "12 Rue de la Paix",
"address_line2": null,
"city": "Paris",
"state": null,
"postal_code": "75001",
"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-01-15T10:30:00Z"
}
}
Was this page helpful?