Contents
Description
ip1basicCustomer.get retrieves customer details for the customer number provided.
Restrictions
Access to any of the operations in ip1basicCustomer.get is dependent on user access.
Input/Output parameters
View JSON parameters| Input/Output | Type | Description |
| Input | ||
| CN | 10A | Customer number |
| TYPE | 3A | Contact role |
| Output | ||
| CN | 10A | Customer number |
| regBusinessName | 60a | Registered business name |
| regionCode | 2A | Region code |
| regionDesc | 30a | Region description |
| PCNM | 60A | Postal customer name |
| PAD0 | 60A | Postal address line 0 |
| PAD1 | 60A | Postal address line 1 |
| PAD2 | 60A | Postal address line 2 |
| PAD3 | 60A | Postal address line 3 |
| PAD4 | 20A | Postal address line 4 |
| PAD5 | 20A | Postal address line 5 |
| PAD6 | 60A | Postal address line 6 |
| PHN | 20A | Telephone |
| FAX | 20A | Fax |
| WHSE | 4A | Warehouse |
| EMLA | 120A | Email address |
| PYTC | 2A | Payment term code |
| PYTCD | 15a | Payment term description |
| currencyISO | 3A | ISO Currency |
JSON example
View JSON request & response exampleRequest:
{
“IptorAPI”: “1.0”,
“method”: “ip1basicCustomer.get”,
“params”: {
“CN”: “0000100100”
},
“id”: “1234567890”
}
Response:
{
“IptorAPI”: “1.0”,
“data”: {
“PCNM”: “A & R Holdings”,
“PAD0”: “NAB Building”,
“PAD1”: “Level 3”,
“PAD2”: “31 Surry Street”,
“PAD3”: “Redfern”,
“PAD4”: “NSW”,
“PAD5”: “2016”,
“PAD6”: “AUSTRALIA”,
“PHN”: “”,
“FAX”: “02 8323 11882”,
“WHSE”: “0001”,
“EMLA”: “[email protected]”
},
“id”: “1234567890”
}
Response format
For standard response format for IP1 API methods, see Response format.
