Get Product and SKU IDs

Retrieves the IDs of all products and SKUs from a specific category by its category ID.

Query params:

AttributeTypeDescription
categoryIdintegerReplace this variable with the category ID that you need retrieves Product and SKU
_fromintegerInsert the number that will start the request result
_tointegerInsert the number that will end the request result

Response object has the following properties:

AttributeTypeDescription
dataobjectObject compose by Product IDs and SKU IDs, where the parent ID is from Products and the SKU IDs are the Child IDs

Response body example:

{
    "data": {
        "3": [
            5
        ],
        "8": [
            310118453,
            310118459,
            310118463
        ],
        "2": [
            3,
            310118450,
            310118451,
            4,
            8
        ],
        "9": [
            310118454,
            310118455,
            310118456,
            310118457,
            310118458,
            310118460,
            310118461,
            310118462,
            310118464
        ],
        "12": [
            310118490
        ],
        "6": [],
        "7": [
            310118452
        ],
        "1": [
            1,
            123456,
            310118449,
            310118489,
            7,
            2
        ],
        "5": [
            310118465
        ],
        "4": [
            310118448
        ],
        "10": [],
        "11": []
    },
    "range": {
        "total": 12,
        "from": 1,
        "to": 20
    }
}
Language
Authentication
URL
Click Try It! to start a request and see the response here!