item_price_list
GET /item_price_list
To get the item price list.
/item_price_list?token=XXXXX&&barcode_365=P01803&customer_code_365=10000037&store_code_365=100&export=false&transaction_type=Sale
If item is included in an active price list returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"item": {
"item_code_365": "P01803",
"item_name": "* 11RD/0.11 NB93",
"vat_value": 0.1900,
"vat_code_365": "019",
"price_excl": 714.2860,
"price_incl": 850.0000,
"discount_percentage": 50.0000,
"discount_value": 357.1500,
"discount_type": "DISCPERC",
"price_list_applied_code_365": 50,
"price_list_applied_name": "Customer/Item Price List",
"promotion_code_365": "",
"customer_price_list_code_365": "SP1000000009"
},
"promotion": null,
"price_list": {
"price_list_code_365": "SP1000000009",
"price_list_name": "TEST PRICE LIST",
"effective_date": "2019-12-10",
"expired_date": "2020-02-08",
"discount_type_365": "DISCPERC",
"discount_type_name": "Discount Percentage",
"discount_value": 50.0000,
"discount_applied_to_price": "0",
"discount_includes_vat": false,
"price_list_active": true,
"price_list_locked": false,
"show_discount_on_invoice": true,
"rounding_price": false,
"rounding_value": 0.0000
}
}
If item is included in a promotion returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"item": {
"item_code_365": "R04949A",
"item_name": "* 100RD/0.67 4RD/0.35 NB775",
"vat_value": 0.1900,
"vat_code_365": "019",
"price_excl": 2.5210,
"price_incl": 3.0000,
"discount_percentage": 0.0000,
"discount_value": 0.0000,
"discount_type": "PERCENTAGE",
"price_list_applied_code_365": 60,
"price_list_applied_name": "Promotion Special Offer Fixed Price",
"promotion_code_365": "DEC2019",
"customer_price_list_code_365": ""
},
"promotion": {
"promotion_code_365": "DEC2019",
"promotion_name": "TEST OFFER FIX PRICE",
"promotion_type_code_365": "SOFP",
"promotion_type_name": "SPECIAL OFFER PRICING (FIXED PRICE)",
"promotion_date_from": "2019-12-10",
"promotion_date_to": "2019-12-15 23:59:59",
"promotion_active": true,
"promotion_discount": 0.0000,
"promotion_fixed_price": 3.0000
},
"price_list": null
}
If item is included in a customer price list
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"item": {
"item_code_365": "P01803",
"item_name": "* 11RD/0.11 NB93",
"vat_value": 0.1900,
"vat_code_365": "019",
"price_excl": 714.2860,
"price_incl": 850.0000,
"discount_percentage": 100.0000,
"discount_value": 0.0000,
"discount_type": "PERCENTAGE",
"price_list_applied_code_365": 72,
"price_list_applied_name": "Customer Default Price - Discount Price 2",
"promotion_code_365": "",
"customer_price_list_code_365": ""
},
"promotion": null,
"price_list": null
}
If item is NOT included in any price list
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"item": {
"item_code_365": "P01803",
"item_name": "* 11RD/0.11 NB93",
"vat_value": 0.1900,
"vat_code_365": "019",
"price_excl": 714.2860,
"price_incl": 850.0000,
"discount_percentage": 0.0000,
"discount_value": 0.0000,
"discount_type": "PERCENTAGE",
"price_list_applied_code_365": 0,
"price_list_applied_name": "Default Price",
"promotion_code_365": "",
"customer_price_list_code_365": ""
},
"promotion": null,
"price_list": null
}