PUT /vendor-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
-
id integer(int32)
Id
-
name string | null
Name
-
state string | null
State
-
updatedAt string(date-time)
Updated at
-
Vendor
-
zip string | null
Zip
PUT
/vendor-addresses/{id}.json
curl \
-X PUT http://api.example.com/v1/vendor-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","id":42,"name":"string","state":"string","updatedAt":"2024-05-04T09:42:00+00:00","vendorId":42,"zip":"string"}'
Request example
{
"addressLineOne": "string",
"addressLineTwo": "string",
"city": "string",
"country": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"name": "string",
"state": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"vendorId": 42,
"zip": "string"
}