🔄REST API (WIP)

Fetch paginated products

GET api.we-saas.com/products

Get's full object

Request Body

Name
Type
Description

page

int

page number parameter (default is 1)

perPage

int

number of products per call (default is 20)

[
    "LicenseType":"trial",
    "LicenseCloudService" : 0,
    "PackageType" : "Mining",
    "Qty" : 2,
    "UserID" : 1,
    "LicenseOfflineService" : 1
]

Get single product

GET api.we-saas.com/procuts/{id}

Fetch specific product by ID

Path Parameters

Name
Type
Description

ID*

String

Product ID

{
    "data": {
        "type": "product",
        "title": "Demo Product",
        "basePrice": 25.55,
        "totalPrice": "25.55â‚Ŧ",
        "attributes": {
            "slug": "hello-world",
            "title": "Hello World",
            "content": "..."
        }
    }
}

Last updated

Was this helpful?