Create an address for a customer
POST
https://api.tamio.com/v2/customers/address/create/{uuid}
Adds a new billing or shipping address to an existing customer.
Path Parameters
uuid
string*
UUID of the customer
Body Parameters
name
string*
Contact first name
last_name
string
Contact last name
country
string*
Two-letter ISO country code
address
string*
Street address
city
string*
City
company
string
Company name
postcode
string
Postal/zip code
state
string
State or province
email
string
Contact email address
phone
string
Contact phone number
vat
string
VAT identification number (billing addresses only)
locale
string
Preferred language/locale
is_company
boolean
Whether the billing entity is a company
representative
string
Authorized representative name (for company billing)
shipping_address
boolean
Set to true to create a shipping address instead of a billing address
Example
{
"name": "John",
"last_name": "Doe",
"country": "de",
"address": "123 Main St",
"city": "Berlin",
"postcode": "10115",
"email": "[email protected]",
"phone": "+49123456789",
"locale": "de",
"is_company": false,
"shipping_address": false
}
Responses
200
Address created successfully
Address created successfully
status
integer
customer
Customer
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
1002 | Customer not found |
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string