Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055967Retail ModulesRetail APIpublic2024-07-10 14:422024-08-08 13:01
azzeddine_meftoh 
Retail 
normalmajorhave not tried
newopen 
5
 
 
No
0055967: IMPORt API - promotion product fixed amount - manage multiple date for the same product
if we use the API to import a promo with a product with 2 PricingAdjustmentProduct for the same product only one record will be cretaed in the promotion / product tab

[
    {
        "client": "XXXXX",
        "organization": "YYYY",
        "name": "promo name",
        "startingDate": "2024-01-01",
        "searchKey": "ZZZSC",
        "products": [
            {
                "product": "667797",
                "priceAdjustmentType": "F",
                "priceAdjustmentFixedPrice": 9.99,
                "startingDate": "2024-01-01",
                "endingDate": "2024-12-31"
            },
            {
                "product": "667797",
                "priceAdjustmentType": "F",
                "priceAdjustmentFixedPrice": 9.99,
                "startingDate": "2025-01-01",
                "endingDate": "2025-12-31"
            }
        ]
    }
]
import a promo with products array having 2 times the same product with different dates
only one record is created.
No tags attached.
Issue History
2024-07-10 14:42azzeddine_meftohNew Issue
2024-07-10 14:42azzeddine_meftohAssigned To => Triage Platform Conn
2024-07-10 14:42azzeddine_meftohTriggers an Emergency Pack => No
2024-08-08 13:01adrianromeroAssigned ToTriage Platform Conn => Retail

There are no notes attached to this issue.