PUT /vendor-addresses/{id}.json

PUT /vendor-addresses/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

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

  • vendorId integer(int32) Required

    Vendor

  • zip string | null

    Zip

PUT /vendor-addresses/{id}.json
curl \
 --request PUT 'http://api.example.com/v1/vendor-addresses/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"addressLineOne":"string","addressLineTwo":"string","city":"string","country":"string","createdAt":"2025-05-04T09:42:00Z","id":42,"name":"string","state":"string","updatedAt":"2025-05-04T09:42:00Z","vendorId":42,"zip":"string"}'
Request examples
{
  "addressLineOne": "string",
  "addressLineTwo": "string",
  "city": "string",
  "country": "string",
  "createdAt": "2025-05-04T09:42:00Z",
  "id": 42,
  "name": "string",
  "state": "string",
  "updatedAt": "2025-05-04T09:42:00Z",
  "vendorId": 42,
  "zip": "string"
}