POST /vendor-addresses.json
Body Required
-
addressLineOne string | null
Address line one
-
addressLineTwo string | null
Address line two
-
city string | null
City
-
country string | null
Country
-
name string | null
Name
-
state string | null
State
-
Vendor
-
zip string | null
Zip
POST
/vendor-addresses.json
curl \
-X POST http://api.example.com/v1/vendor-addresses.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"addressLineOne":"string","addressLineTwo":"string","city":"string","country":"string","name":"string","state":"string","vendorId":42,"zip":"string"}'
Request example
{
"addressLineOne": "string",
"addressLineTwo": "string",
"city": "string",
"country": "string",
"name": "string",
"state": "string",
"vendorId": 42,
"zip": "string"
}
Response examples (200)
{
"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"
}