Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057933Retail ModulesRetail APIpublic2025-02-10 17:012025-02-21 11:33
XABIER_AGUADO 
jorgewederago 
normalminoralways
acknowledgedopen 
5
 
 
No
0057933: Price List API Improvements
Current Swagger information for the Price List API is lacking in some fields. Their descriptions / informations must be updated so the clients can easily work with the API.
Check in livebuilds:

EXPORT:https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api#/PriceList/Export_PriceList [^]

IMPORT:https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api#/PriceList/Import_PriceList [^]
Update expected values + provide examples + update descriptions for all required fields

Name: Currency
Description: Currency of the price list
Example: EUR

Name: Name
Description: Name of the price list

Name: enforcePriceLimit
Description: The Enforce Price Limit check box indicates that prices cannot be below the limit price in Orders. Invoices are not checked.

Name:taxIncluded
Description:Tax is included in the price

Name: salesPriceList
Description: The Sales Price List check box indicates if this price list is used for sales transactions.

Name:costBased
Description: Price list based on cost

Name: priceListVersions - name
Description: Name of the price list version

Name: priceListVersions - productPrices - product
Description: Product ID

Name: priceListVersions - productPrices - Max price
Description: The Max. Price indicates the maximun price possible to sale it for a product

Name: priceListVersions - productPrices - productPriceExceptions - validfromDate
Description: A parameter stating the starting time of a specified request.

Name: priceListVersions - productPrices - productPriceExceptions - validtoDate
Description: A parameter stating the ending time of a specified request.


Name: priceListVersions - productPrices - productPriceExceptions - printpricefortemplates
Description:Controls how prices and price exception discounts are shown in the printed ticket


Name priceListVersions - productPrices - productPriceExceptions - printpriceforPOS
Description:Controls how prices and price exception discounts are shown in the front end


Name priceListVersions - productPrices - productPriceExceptions - mappingLabelAttribute1
Description: Attribute 1 that will be used in the Print Product Label process to map the products with the configured templates.


Name priceListVersions - productPrices - productPriceExceptions - mappingLabelAttribute2
Description: Attribute 2 that will be used in the Print Product Label process to map the products with the configured templates.


Name priceListVersions - productPrices - productPriceExceptions - mappingLabelAttribute3
Description: Attribute 3 that will be used in the Print Product Label process to map the products with the configured templates.


Name priceListVersions - productPrices - productPriceExceptions - printPriceForProductLabels
Description: Controls how prices and price exception discounts are shown in the product label


Name priceListVersions - productPrices - productPriceExceptions - printingLabelAttribute1
Description:URL of an image that will be used in the Print Product Labels process to print images on the label of each product.


Name priceListVersions - productPrices - productPriceExceptions - commercialOperation
Description: Commercial operation product price entity for tracking purposes.


Name: priceListVersions - productPrices - printpricefortemplates
Description:Controls how prices and price exception discounts are shown in the printed ticket


Name priceListVersions - productPrices - printpriceforPOS
Description:Controls how prices and price exception discounts are shown in the front end


Name priceListVersions - productPrices - mappingLabelAttribute1
Description: Attribute 1 that will be used in the Print Product Label process to map the products with the configured templates.


Name priceListVersions - productPrices - mappingLabelAttribute2
Description: Attribute 2 that will be used in the Print Product Label process to map the products with the configured templates.


Name priceListVersions - productPrices - mappingLabelAttribute3
Description: Attribute 3 that will be used in the Print Product Label process to map the products with the configured templates.


Name priceListVersions - productPrices - printPriceForProductLabels
Description: Controls how prices and price exception discounts are shown in the product label


Name priceListVersions - productPrices - printingLabelAttribute1
Description:URL of an image that will be used in the Print Product Labels process to print images on the label of each product.




FASH
pdf Business API - masterdata - PriceList.pdf (42,087) 2025-02-10 17:01
https://issues.openbravo.com/file_download.php?file_id=20891&type=bug
Issue History
2025-02-10 17:01XABIER_AGUADONew Issue
2025-02-10 17:01XABIER_AGUADOAssigned To => Retail
2025-02-10 17:01XABIER_AGUADOFile Added: Business API - masterdata - PriceList.pdf
2025-02-10 17:01XABIER_AGUADOTriggers an Emergency Pack => No
2025-02-10 17:11XABIER_AGUADOTag Attached: FASH
2025-02-11 13:37XABIER_AGUADOProposed Solution updated
2025-02-13 06:09guillermogilAssigned ToRetail => jorgewederago
2025-02-18 06:15guillermogilStatusnew => acknowledged
2025-02-21 11:33kchoperenaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29277#r29277

There are no notes attached to this issue.