{
"price_list_code": "{{price_list_code}}",
"price_list_type": "V",
"description": "Listino vendita",
"start_date": "2024-01-01",
"end_date": "2999-12-31",
"currency": "EUR",
"active": "Y"
}curl --location -g --request POST 'https://fake_url.com/api?cmd=insertList&applicationId=MOBILE_SHOP&appId=MOBILE_SHOP' \
--header 'Content-Type: application/json' \
--data-raw '{
"price_list_code": "SALE2024",
"price_list_type": "V",
"description": "Sales Price List 2024",
"start_date": "2024-01-01",
"end_date": "2999-12-31",
"currency": "EUR",
"active": "Y"
}'| Params | Description | Type | Mandatory |
|---|---|---|---|
| price_list_type | Type of price list: "V" for sales, "P" for purchase, "I" for invoice. | Varchar(1) | ✓ |
| price_list_code | Code of the price list to which the site/entity will be associated. | Varchar(250) | ✓ |
{
"entity_code": "1008"
}curl --location -g --request POST 'https://fake_url.com/api?cmd=insertEntityOnPriceList&applicationId=MOBILE_SHOP&appId=MOBILE_SHOP&price_list_type=V&price_list_code=SALE2024' \
--header 'Content-Type: application/json' \
--data-raw '{
"entity_code": "1008"
}'| Params | Description | Type | Mandatory |
|---|---|---|---|
| price_list_type | Type of price list: "V" for sales, "P" for purchase, "I" for invoice. | Varchar(1) | ✓ |
| price_list_code | Code of the price list to which the product price will be added. | Varchar(250) | ✓ |
{
"item_code": "{{item_code}}",
"start_date": "{{start_date}}",
"price": "{{price}}"
}curl --location -g --request POST 'https://fake_url.com/api?cmd=insertProductPrice&applicationId=MOBILE_SHOP&appId=MOBILE_SHOP&price_list_type=V&price_list_code=SALE2024' \
--header 'Content-Type: application/json' \
--data-raw '{
"item_code": "PROD001",
"start_date": "2024-01-01",
"price": 99.99
}'{
"message": "Success"
}{
"message": "Price list code not found"
}