Customers
Create a Customer
Creates a new Customer.
post/admin/customers/customer
Request
- Base URL: https://demo.splynx.com/api/2.0
- URL: https://demo.splynx.com/api/2.0/admin/customers/customer
- Auth: HTTP basic
Request body
Example request
{
"login": "john_doe",
"status": "new",
"partner_id": 1,
"location_id": 1,
"name": "John Doe",
"email": "john.doe@domain.com",
"billing_email": "john.doe.billing@domain.com",
"phone": "555-0134",
"category": "person",
"street_1": "Paper Street",
"subdivision_id": 1,
"contacts": [
{
"id": 1,
"type": "email",
"value": "john.doe@domain.com",
"label": "primary",
"country_code": "380",
"is_primary": true
}
]
}Response
Example response
{
"id": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.