Contents
Description
ip1basicCustomerItemPrice.get retrieves customer item price based on the customer number and item number. If a customer number is not provided, then it will be defaulted from user’s customer number similar to IP1 P&A inquiry. The sign on user ID will be used if sign on API was processed and same API session ID is provided, otherwise current job user ID will be used.
Restrictions
Access to any of the operations in ip1basicCustomerItemPrice.get is dependent on user access.
Input/Output parameters
View JSON parameters| Input | Type | Description |
| CN | 10A | Customer number |
| I | 20A | Item number |
| Output | Type | Description |
| I | 20A | Item number |
| UPRN | 9N2 | Unit price |
| DCRN | 5N2 | Discount rate |
| TXRN | 5N2 | Tax rate |
| RRP | 9N2 | RRP |
| TTTB | 13N2 | Taxable amount |
| TTTX | 13N2 | Tax amount |
| TTTT | 13N2 | Total amount |
| currencyISO | 3A | ISO currency |
JSON example
View JSON request & response exampleRequest:
{
“IptorAPI”: “1.0”,
“method”: “ip1basicCustomerItemPrice.get”,
“params”: {
“CN”: “0000000025”,
“I”: “MOI1”
},
“id”: “1234567890”
}
Response:
{
“IptorAPI”: “1.0”,
“data”: {
“I”: “MOI1”,
“UPRN”: 2,
“DCRN”: 47,
“TXRN”: 0,
“RRP”: 2,
“TTTB”: 1.06,
“TTTX”: 0,
“TTTT”: 1.06,
“currencyISO”: “AUD”
},
“id”: “917404”
}
Response format
For standard response format for IP1 API methods, see Response format.
Related topics
ip1basicItemWarehouseStock.get
p1basicCustomerOrderDetails.get
