Customers

Update a Facility

Partially update a Facility

patch/facilities/public/{facilityId}

Request

Path parameters

facilityIdinteger required

The facility id

Request body

attentionstring

The person or department to ship packages to at the facility

namestring

The name of the facility

Example request

{
  "address": {
    "address1": "137 Portland St.",
    "address2": "Unit 1",
    "city": "Boston",
    "country": "USA",
    "postal_code": "02114",
    "state": "MA",
    "erp_code": "B1234"
  },
  "attention": "Gordon Moore",
  "name": "Boston HQ",
  "salesperson": {
    "email": "careers@paperlessparts.com"
  }
}

Response

Successful response

account_idinteger
attentionstring
idinteger
namestring

Example response

{
  "account_id": 55123,
  "address": {
    "address1": "1 City Hall Sq.",
    "city": "Boston",
    "state": "MA",
    "postal_code": "02114",
    "country": "USA",
    "erp_code": "B1234"
  },
  "attention": "Gordon Moore",
  "id": 12,
  "name": "Boston Office"
}

Changes

No recorded changes to this operation across all 1 revision of this API.