Multiple Products API

Get information about several products at the same time by sending their IDs.

Last updated

On this page

Overview

Use the Multiple Products API to get information about several products at the same time. It returns the products whose IDs you provide in the request body.

Send the product IDs as a string, with the IDs separated by commas.

Endpoint

MethodPath
POST/api/v1/multiple-products
POST/api/v2/multiple-products

Request body

JSON
{
   "ids": ["44", "45"], //required
   "token": "{{ website token }}" //required
}

Successful response

JSON
{
    "data": [
        {
            "short_description": null,
            "salable_qty": 0,
            "link": "https://example.com/set-of-sprite-yoga-straps.html",
            "description": "Great set of Sprite Yoga Straps for every stretch.",
            "availability": 1,
            "price": {
                "regular_price": 14,
                "regular_price_with_currency": "$14.00",
                "special_price": null,
                "special_price_with_currency": null,
                "loyalty_price": null,
                "loyalty_price_with_currency": null,
                "discount_percentage": 0
            },
            "id": 45,
            "sku": "24-WG085_Group",
            "views": 0,
            "image": "https://example.com/media/catalog/product/luma-yoga-strap-set.jpg",
            "meta_title": null,
            "product_type_id": "grouped",
            "meta_description": null,
            "name": "Set of Sprite Yoga Straps",
            "type": "product",
            "category_ids": [
                3,
                5
            ]
        },
        {
            "short_description": null,
            "salable_qty": 100,
            "link": "https://onboarding-magento.syncitgroup.com/didi-sport-watch.html",
            "description": "The Didi Sport Watch helps you keep your workout.",
            "availability": 1,
            "price": {
                "regular_price": 92,
                "regular_price_with_currency": "$92.00",
                "special_price": null,
                "special_price_with_currency": null,
                "loyalty_price": null,
                "loyalty_price_with_currency": null,
                "discount_percentage": 0
            },
            "product_score": 35,
            "id": 44,
            "sku": "24-WG02",
            "views": 0,
            "image": "https://example.com/media/catalog/product/wg02-bk-0.jpg",
            "meta_title": null,
            "product_type_id": "simple",
            "meta_description": null,
            "name": "Didi Sport Watch",
            "total_reviews": 2,
            "type": "product",
            "category_ids": [
                3,
                7,
                6,
                8
            ]
        }
    ]
}