Rest API Doc

More information about Rest Api, please view at here: https://documenter.getpostman.com/view/15644082/TzRNEVCm

New Api

GET List Product in Flash Sale by flashsaleId:

curl -X 'GET' \
  '{URL}\/rest/all/V1/lof-flashsales/appliedproducts-fl/1' \
  -H 'accept: application/json'
{URL}/rest/all/V1/lof-flashsales/appliedproducts-fl/1

Response

[
  {
    "entity_id": "1",
    "name": "happy new year",
    "flashsales_id": "1",
    "price_type": "0",
    "product_id": "2047",
    "type_id": "giftcard",
    "original_price": null,
    "flash_sale_price": null,
    "sku": "happy-new-year",
    "qty_limit": "0",
    "discount_amount": null
  },
  {
    "entity_id": "2",
    "name": "sanpham10",
    "flashsales_id": "1",
    "price_type": "0",
    "product_id": "2048",
    "type_id": "simple",
    "original_price": "100.000000",
    "flash_sale_price": null,
    "sku": "sanpham10",
    "qty_limit": "0",
    "discount_amount": null
  },
  {
    "entity_id": "3",
    "name": "sanpham11",
    "flashsales_id": "1",
    "price_type": "0",
    "product_id": "2049",
    "type_id": "simple",
    "original_price": "100.000000",
    "flash_sale_price": null,
    "sku": "sanpham11",
    "qty_limit": "0",
    "discount_amount": null
  }
]

Last updated