Customers
Update a Facility
Partially update a Facility
patch/facilities/public/{facilityId}
Request
- Base URLhttps://api.paperlessparts.com/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
facilityIdinteger required
The facility id
Request body
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
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.