{
    "info":  {
                 "_postman_id":  "d3d11fe8-2c79-4e64-826c-24b93e79f1ec",
                 "name":  "Catalog Shop API",
                 "description":  "Public shop endpoint. Prices are integer toman values (IRT). Supported query keys: search, brands[], availability, price_from, price_to, page, per_page.",
                 "schema":  "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
             },
    "variable":  [
                     {
                         "key":  "base_url",
                         "value":  "http://127.0.0.1:8000",
                         "type":  "string"
                     },
                     {
                         "key":  "brand_id",
                         "value":  "1",
                         "type":  "string"
                     }
                 ],
    "item":  [
                 {
                     "name":  "Shop",
                     "item":  [
                                  {
                                      "name":  "Products - All supported keys",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Accept",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{base_url}}/api/v1/shop?search=iphone\u0026brands[]={{brand_id}}\u0026availability=in_stock\u0026price_from=1000000\u0026price_to=150000000\u0026page=1\u0026per_page=20",
                                                                  "host":  [
                                                                               "{{base_url}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "v1",
                                                                               "shop"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "search",
                                                                                    "value":  "iphone",
                                                                                    "description":  "optional; string; max 100 characters"
                                                                                },
                                                                                {
                                                                                    "key":  "brands[]",
                                                                                    "value":  "{{brand_id}}",
                                                                                    "description":  "optional; repeat brands[] for multiple active brand IDs"
                                                                                },
                                                                                {
                                                                                    "key":  "availability",
                                                                                    "value":  "in_stock",
                                                                                    "description":  "optional; all | in_stock | out_of_stock"
                                                                                },
                                                                                {
                                                                                    "key":  "price_from",
                                                                                    "value":  "1000000",
                                                                                    "description":  "optional; integer toman; minimum 0"
                                                                                },
                                                                                {
                                                                                    "key":  "price_to",
                                                                                    "value":  "150000000",
                                                                                    "description":  "optional; integer toman; must be \u003e= price_from"
                                                                                },
                                                                                {
                                                                                    "key":  "page",
                                                                                    "value":  "1",
                                                                                    "description":  "optional; integer; minimum 1"
                                                                                },
                                                                                {
                                                                                    "key":  "per_page",
                                                                                    "value":  "20",
                                                                                    "description":  "optional; integer; 1 to 48"
                                                                                }
                                                                            ]
                                                              },
                                                      "description":  "Remove any query key that you do not want to filter by."
                                                  },
                                      "response":  [

                                                   ]
                                  },
                                  {
                                      "name":  "Products - No filters",
                                      "request":  {
                                                      "method":  "GET",
                                                      "header":  [
                                                                     {
                                                                         "key":  "Accept",
                                                                         "value":  "application/json"
                                                                     }
                                                                 ],
                                                      "url":  {
                                                                  "raw":  "{{base_url}}/api/v1/shop?page=1\u0026per_page=20",
                                                                  "host":  [
                                                                               "{{base_url}}"
                                                                           ],
                                                                  "path":  [
                                                                               "api",
                                                                               "v1",
                                                                               "shop"
                                                                           ],
                                                                  "query":  [
                                                                                {
                                                                                    "key":  "page",
                                                                                    "value":  "1"
                                                                                },
                                                                                {
                                                                                    "key":  "per_page",
                                                                                    "value":  "20"
                                                                                }
                                                                            ]
                                                              }
                                                  }
                                  }
                              ]
                 }
             ]
}