Skip to main content
POST
/
api
/
addresses
Create Address
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.

Authorization

Authorization
string
required
Bearer token. Format: Bearer qwoty_your_token

Request Body

customer_id
string
required
UUID of the customer this address belongs to
type
string
required
Address type. Allowed values: "billing", "shipping"
address_line1
string
required
Street address
city
string
required
City
postal_code
string
required
Postal/ZIP code
country
string
required
Country code (ISO 3166-1 alpha-2, e.g., "FR", "US", "DE")
name
string
Label for this address (e.g., "Head office", "Warehouse")
address_line2
string
Secondary address line (apartment, floor, etc.)
state
string
State or region
contact_id
string
UUID of the contact associated with this address
comment
string
Internal comment
id_crm
string
External CRM ID
id_erp
string
External ERP ID
id_accounting
string
External accounting ID

Examples

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"
  }'

Response

success
boolean
true if the address was created
data
object
The created address object (same shape as Get Address)
{
  "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"
  }
}