api
Catalog Product

Documentation

1. Search Endpoint

URL:
POST https://api.i-as.dev/api/product/search

Request Body:

{
  "query": "string"
}

Optional Parameter:
page={value}

Response:

{
  "page": value,
  "results": [
    {
      "title": "string",
      "price": "string",
      "shop": "string",
      "image": "url"
    }
    // More Data
  ]
}

2. Category Endpoint

URL:
GET https://api.i-as.dev/api/product/category

Response:

{
  "results": [
    {
      "title": "string",
      "slug": "slug",
      "detail": "url"
    }
    // More Data
  ]
}

3. Detail Endpoint

URL:
GET https://api.i-as.dev/api/product/detail/{slug}

Optional Parameter:
page={value}

Response:

{
  "page": "value",
  "results": [
    {
      "title": "string",
      "price": "string",
      "shop": "string",
      "image": "string"
    }
    // More Data
  ]
}