Products

Overview

Products endpoint returns all products from the FLECS Marketplace. This includes also services and support offers, devices, etc.

Products

GET https://console.flecs.tech/api/v2/products

Returns all products from the FLECS Marketplace.

{
    "statusCode":200,
    "statusText":"OK",
    "data":
        {
            "totalProducts":1,
            "products":[
                {
                    "id":2,
                    "name":"Something as a Service",
                    "status":"publish",
                    "type": "subscription",
                    "description":"<p>Something as a Service.</p>\n",
                    "short_description":"",
                    "average_rating":"4.00",
                    "rating_count":12,
                    "categories":[
                        {"id":68,"name":"Services","slug":"services"},
                        {"id":37,"name":"Services &amp; Support","slug":"services-support"}
                    ],
                    "attributes":[],
                    "meta_data":[],
                    "stock_status":"instock",
                    "store":{
                        "id":1,
                        "name":"Sales Team Software Company",
                        "shop_name":"Software Company GmbH",
                        "url":"url",
                        "address":{}
                    }
                }
            ]
}

The apps endpoint returns all apps from the FLECS Marketplace.

Apps

GET https://console.flecs.tech/api/v2/products/apps

Returns all apps from the FLECS Marketplace.

{
    "statusCode":200,
    "statusText":"OK",
    "data":
        {
            "totalProducts":1,
            "products":[
                {
                    "id":4,
                    "name":"Some App",
                    "status":"publish",
                    "type": "simple product",
                    "description":"<p>Some App.</p>\n",
                    "short_description":"",
                    "average_rating":"5.00",
                    "rating_count":2,
                    "categories":[
                        {"id":0,"name":"Apps","slug":"apps"},
                    ],
                    "attributes":[],
                    "meta_data":[],
                    "stock_status":"instock",
                    "store":{
                        "id":1,
                        "name":"Sales Team Software Company",
                        "shop_name":"Software Company GmbH",
                        "url":"url",
                        "address":{}
                    }
                }
            ]
}

Last updated