Price Update

  • Through this service; You can update the price of integrated products.
  • You can update more than one product price at a time.
  • Breakdown id (variant_id) or barcode (barcode) can be sent as parameters.
  • A barcode search is made in the system regardless of the parameter name.
  • You should not send different values for price for different variants of a same product. The same is true for old_price.
  • POST https://marketplace-stg.modanisa.com/api/marketplace/updateProductPrice
    Parameter Explanation Data Type Compulsory
    variant_id - barcode Any of the barcodes of the product to be updated string Yes
    price Sale price float Yes
    old_price Strikethrough price ( must be higher than the selling price ) float No

    Request:
    {
        "Products": [
            {
                "variant_id": "2682576147907",
                "price": "119.99",
                "old_price": "169.50"
            },
            {
                "barcode": "12314234234",
                "price": "59.50",
                "old_price": "169.99"
            }
        ]
    }
    
    

    Success Response:
    {
        "success": true,
        "message": "success",
        "status_code": 200,
        "batchId": "211021-71QUVC0XJTMFVY9VFXMRIUC3UKO240FR6FYQJDI4OS4"
    }
    
    

    If your request returns to you of type "Success", you will see the "BatchId" parameter in the response data. You can track the status of the product you request by querying this parameter from Batch service.


    Error Response:
    {
        "success": false,
        "data": "",
        "message": "Invalid Data",
        "status_code": 400
    }