Add
This endpoint allows you to create a new customer in the system.
POST
https://restapidev.payplus.co.il/api/v1.0/Customers/AddEnvironment
Headers
stringrequired
API Key
stringrequired
Secret Key
Request body
| Field | Type | Description |
|---|---|---|
emailrequired | string | Customer email address. |
notes | string | Notes, comments, or additional information about the customer. |
phone | string | Customer phone number. |
contacts | object[] | Contact details associated with the customer. |
contacts[].full_name | string | Contact's full name. |
contacts[].cell_phone | string | Contact's cell phone number. |
contacts[].contact_city | string | Contact's city. |
contacts[].job_position | string | |
contacts[].contact_email | string | Contact's email address. |
contacts[].contact_address | string | Contact's address. |
contacts[].contact_country_iso | string | Contact's country code. |
contacts[].contact_postal_code | string | Contact's postal code. |
paying_vat | boolean | Let's the system know if the customer is paying VAT or not. |
vat_number | integer (int) | Customer or Company VAT number. |
subject_code | string | External customer number in other ERP or other systems. |
business_city | string | Business city. |
customer_namerequired | string | Customer name. |
customer_number | string | Internal customer number in the system. |
business_address | string | Business address of the customer. |
communication_email | string | Email for communication purposes. |
business_country_iso | string | Business country code. |
business_postal_code | string | Business postal code. |
Edit the request body
Responses
200 200
| Field | Type | Description |
|---|---|---|
data | object | |
data.customer_uid | string | |
results | object | |
results.code | integer | |
results.status | string | |
results.description | string |