Customers
Create new contact
Creates a new contact.
post/contacts/public
Request
- Base URLhttps://api.paperlessparts.com/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"account_id": 137,
"address": {
"address1": "137 Portland St.",
"address2": "Unit 1",
"city": "Boston",
"country": "USA",
"postal_code": "02114",
"state": "MA"
},
"email": "careers@paperlessparts.com",
"first_name": "Gordon",
"last_name": "Moore",
"phone": "6176354500",
"salesperson": {
"email": "careers@paperlessparts.com"
}
}Response
Successful response
Example response
{
"address": {
"address1": "1 City Hall Sq.",
"city": "Boston",
"state": "MA",
"postal_code": "02114",
"country": "USA",
"erp_code": "B1234"
},
"account_id": 17,
"created": "2020-08-25T18:00:53+00:00",
"email": "careers@paperlessparts.com",
"first_name": "Gordon",
"id": 137,
"last_name": "Moore",
"phone": "6176354500"
}Changes
No recorded changes to this operation across all 1 revision of this API.