POST /customer-addresses.json
Body Required
-
addressLineOne string | null
Address line one
-
addressLineTwo string | null
Address line two
-
city string | null
City
-
country string | null
Country
-
Customer
-
name string | null
Name
-
state string | null
State
-
zip string | null
Zip
POST /customer-addresses.json
curl \
-X POST http://api.example.com/v1/customer-addresses.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"addressLineOne":"string","addressLineTwo":"string","city":"string","country":"string","customerId":42,"name":"string","state":"string","zip":"string"}'
Request example
{
"addressLineOne": "string",
"addressLineTwo": "string",
"city": "string",
"country": "string",
"customerId": 42,
"name": "string",
"state": "string",
"zip": "string"
}
Response examples (200)
{
"addressLineOne": "string",
"addressLineTwo": "string",
"city": "string",
"country": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"customerId": 42,
"id": 42,
"name": "string",
"state": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"zip": "string"
}