Posts a customer
POST https://api.gencom.be:49012/TV2/Execute/GCAPIPACK.B2B_PostCustomer
The request body takes a complete JSON Body - B2B_PostCustomer resource, containing the following writable properties:
{
"CUSTOMERDATA": {
"ADDRESS": "string",
"ADDRESSNO": "string",
"CITY": "string",
"CONTACTNO": "string",
"COUNTRYPOST": "string",
"CURRENCY": "string",
"CUSTOMER": "string",
"CUSTOMERDISCOUNTPERC": "string",
"CUSTOMERGROUP": "string",
"CUSTOMERPRICEGROUP": "string",
"EMAIL": "string",
"FORENAME": "string",
"GENDER": "string",
"HOUSENUMBER": "string",
"INVOICEEMAILADDR": "string",
"LANGUAGE": "string",
"LASTNAME": "string",
"MAPAREA": "string",
"MIDDLENAME": "string",
"NAME": "string",
"PAYMENTTERM": "string",
"PAYMENTTYPE": "string",
"POSTALCODE": "string",
"POSTBOX": "string",
"REPRESENTATIVE": "string",
"SEARCHNAME": "string",
"SENDINVOICEBYEMAIL": "string",
"TELEPHONE1": "string",
"TELEPHONE2": "string",
"TELEPHONE3": "string",
"TELEPHONE4": "string",
"TELETYPE1": "string",
"TELETYPE2": "string",
"TELETYPE3": "string",
"TELETYPE4": "string",
"USERCREATED": "string",
"VATNO": "string"
}
}
Name | Type | Description |
---|---|---|
CUSTOMERDATA | object | |
CUSTOMERDATA.ADDRESS | string | |
CUSTOMERDATA.ADDRESSNO | string | |
CUSTOMERDATA.CITY | string | |
CUSTOMERDATA.CONTACTNO | string | |
CUSTOMERDATA.COUNTRYPOST | string | |
CUSTOMERDATA.CURRENCY | string | |
CUSTOMERDATA.CUSTOMER | string | |
CUSTOMERDATA.CUSTOMERDISCOUNTPERC | string | |
CUSTOMERDATA.CUSTOMERGROUP | string | |
CUSTOMERDATA.CUSTOMERPRICEGROUP | string | |
CUSTOMERDATA.EMAIL | string | |
CUSTOMERDATA.FORENAME | string | |
CUSTOMERDATA.GENDER | string | |
CUSTOMERDATA.HOUSENUMBER | string | |
CUSTOMERDATA.INVOICEEMAILADDR | string | |
CUSTOMERDATA.LANGUAGE | string | |
CUSTOMERDATA.LASTNAME | string | |
CUSTOMERDATA.MAPAREA | string | |
CUSTOMERDATA.MIDDLENAME | string | |
CUSTOMERDATA.NAME | string | |
CUSTOMERDATA.PAYMENTTERM | string | |
CUSTOMERDATA.PAYMENTTYPE | string | |
CUSTOMERDATA.POSTALCODE | string | |
CUSTOMERDATA.POSTBOX | string | |
CUSTOMERDATA.REPRESENTATIVE | string | |
CUSTOMERDATA.SEARCHNAME | string | |
CUSTOMERDATA.SENDINVOICEBYEMAIL | string | |
CUSTOMERDATA.TELEPHONE1 | string | |
CUSTOMERDATA.TELEPHONE2 | string | |
CUSTOMERDATA.TELEPHONE3 | string | |
CUSTOMERDATA.TELEPHONE4 | string | |
CUSTOMERDATA.TELETYPE1 | string | |
CUSTOMERDATA.TELETYPE2 | string | |
CUSTOMERDATA.TELETYPE3 | string | |
CUSTOMERDATA.TELETYPE4 | string | |
CUSTOMERDATA.USERCREATED | string | |
CUSTOMERDATA.VATNO | string |
This request requires the use of one of following authorisation methods:
TOKEN
.
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK successful operation |
JSON Response B2B_PostCustomer |