cURL
curl --request POST \ --url https://api.example.com/v1/addresses \ --header 'Content-Type: application/json' \ --data ' { "rec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "rec_type": "customer", "type": "registration", "street": "<string>", "postal_code": "<string>", "city": "<string>", "country": "<string>", "number": "<string>", "additional": "<string>", "state": "<string>", "is_primary": false, "metadata": {} } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "rec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "rec_type": "<string>", "type": "<string>", "street": "<string>", "number": "<string>", "additional": "<string>", "postal_code": "<string>", "city": "<string>", "state": "<string>", "country": "<string>", "is_primary": true, "metadata": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
customer
user
company
registration
actual
operational
correspondence
billing
255
3 - 10
100
2
50
Address created successfully