post https://api.erp.release.slade360edi.com/api/business_partners/customers
Description
This endpoint creates a new customer for the branch
Request Body
| Priority | Key | Type | Description |
|---|---|---|---|
| REQUIRED | partner_name | text | Customer full name |
| REQUIRED | country | text | country ISO code |
| REQUIRED | currency | text | currency id of customer |
| Optional | customer_tax_pin | text | Customer KRA pin |
| REQUIRED | email_address | text | customer email |
| Optional | customer_type | text | Options: CATERING, EMPLOYER, INFORMATION TECHNOLOGY, FURNITURE INSURANCE, LEGAL, MEDICAL EQUIPMENT, NUTRITION, PATIENT, PHARMACEUTICAL |
| optional | is_customer | text | Boolean for whether customer or business partner |
| Optional | phone_number | text | customer phone number |