Customer - Add New Customer
POST yourdomain.djaboo.app/api/customers
Header
Champ | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Paramètre
Champ | Type | Description |
---|---|---|
company | String |
Mandatory Customer company. |
vat (optional) | String |
Optional Vat. |
phonenumber (optional) | String |
Optional Customer Phone. |
website (optional) | String |
Optional Customer Website. |
groups_in (optional) | Number[] |
Optional Customer groups. |
default_language (optional) | String |
Optional Customer Default Language. |
default_currency (optional) | String |
Optional default currency. |
address (optional) | String |
Optional Customer address. |
city (optional) | String |
Optional Customer City. |
state (optional) | String |
Optional Customer state. |
zip (optional) | String |
Optional Zip Code. |
partnership_type (optional) | String |
Optional Customer partnership type. |
country (optional) | String |
Optional country. |
billing_street (optional) | String |
Optional Billing Address: Street. |
billing_city (optional) | String |
Optional Billing Address: City. |
billing_state (optional) | Number |
Optional Billing Address: State. |
billing_zip (optional) | String |
Optional Billing Address: Zip. |
billing_country (optional) | String |
Optional Billing Address: Country. |
shipping_street (optional) | String |
Optional Shipping Address: Street. |
shipping_city (optional) | String |
Optional Shipping Address: City. |
shipping_state (optional) | String |
Optional Shipping Address: State. |
shipping_zip (optional) | String |
Optional Shipping Address: Zip. |
shipping_country (optional) | String |
Optional Shipping Address: Country. |
Success 200
Champ | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
Customer add successful. |
Error 4xx
Nom | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
Customer add fail. |