PUT /customer-addresses/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
addressLineOne string | null
Address line one
-
addressLineTwo string | null
Address line two
-
city string | null
City
-
country string | null
Country
-
createdAt string(date-time)
Created at
-
Customer
-
id integer(int32)
Id
-
name string | null
Name
-
state string | null
State
-
updatedAt string(date-time)
Updated at
-
zip string | null
Zip
PUT /customer-addresses/{id}.json
curl \
-X PUT http://api.example.com/v1/customer-addresses/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}