Pak-Thani / consumer-api

0 stars 0 forks source link

Feature/search #26

Closed luthfianum closed 2 years ago

luthfianum commented 2 years ago

24

Issue / Task

Summary

Test Plan

{
    "success": true,
    "error": "",
    "data": {
        "products": [
            {
                "id": 1,
                "name": "test1",
                "description": "test1",
                "image": "test1.png",
                "slug": "test1",
                "qty": "11",
                "pricePerQty": 0,
                "stockAvailable": 11,
                "isStockAvailable": true
            },
            {
                "id": 2,
                "name": "test2",
                "description": "test2",
                "image": "test2.png",
                "slug": "test2",
                "qty": "11",
                "pricePerQty": 0,
                "stockAvailable": 11,
                "isStockAvailable": true
            },
            {
                "id": 3,
                "name": "test3",
                "description": "test3",
                "image": "test3",
                "slug": "test3",
                "qty": "11",
                "pricePerQty": 0,
                "stockAvailable": 11,
                "isStockAvailable": true
            },
            {
                "id": 4,
                "name": "test4",
                "description": "test4",
                "image": "test4.png",
                "slug": "test4",
                "qty": "11",
                "pricePerQty": 0,
                "stockAvailable": 11,
                "isStockAvailable": true
            }
        ],
        "links": {
            "next": "http://127.0.0.1:8000/api/search/t?page=2",
            "previous": null
        },
        "total_element": 7,
        "total_page": 2
    }
}
luthfianum commented 2 years ago

yg ditanyakan :

@manokrajin @muhammadhafizm