# Detail Product - alternative

<mark style="color:blue;">`GET`</mark> `https://us-central1-appgregator.cloudfunctions.net/ecommerce1/1688/product/:id/`

#### Query Parameters

| Name                                               | Type   | Description |
| -------------------------------------------------- | ------ | ----------- |
| name<mark style="color:red;">\*</mark>             | String | ecom1       |
| connection\_name<mark style="color:red;">\*</mark> | String | ecom01      |

#### Headers

| Name                                        | Type   | Description |
| ------------------------------------------- | ------ | ----------- |
| x-api-key<mark style="color:red;">\*</mark> | String | U2Fsd...    |

{% tabs %}
{% tab title="200: OK Success" %}

```javascript
{
    "status": true,
    "data": {
        "mp_id": null,
        "platform_type": "1688",
        "id": 215,
        "product_id": 636706449999,
        "variant_type": "multiple_items",
        "prices": 87054.11,
        "price_type": "RANGE",
        "main_image": "https://cbu01.alicdn.com/img/ibank/O1CN01nrl3gS269YHPJ26An_!!2210219367619-0-cib.jpg",
        "title": "Oxford spinning long sleeve cotton shirt men's 2021 spring and autumn Korean version trend slim casual shirt denim jacket",
        "moq": 2,
        "description": "<div id=\"offer-template-0\"></div><p><span style=\"font-size: 18.0pt;\"><img alt=\"hG6XifumxdRk164NJdUeu7OcVs7ezYVELWSv\" alt=\"买家下单须知图\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01e9WXAr269YKnNkB14_!!2210219367619-0-cib.jpg\" /><br />本店产品支持一件可卖，一件代发，无痕发货，7天包退，15天包换。支持印花，logo定制。需要数据包、吊牌等联系客服！薄利多销，质量可靠，售后有保障！亲们可以放心购买哦！</span><span style=\"font-size: 18.0pt;\"><span style=\"color: #ffffff;background-color: #ff0000;\"><br /></span></span></p><p><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01EppHVy269YKrdBik9_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01fXOl8a269YHSws84U_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01sCgaKW269YHRAVNk4_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN013IPdUN269YHXYZUrQ_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01c5tM5P269YHUKIqQi_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01K8DR2d269YKq8T8Hr_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01Ia8lPH269YHWAnEmz_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01P9jM0p269YKrvlU2s_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01lbbztU269YKlqh35l_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01T5ASlN269YKy6zNAE_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN010FMZDZ269YKvhb6Jp_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01y3JUXV269YHRAWerO_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN015bgQhP269YHSwu92q_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN0193OUqA269YHVQg2zz_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01iKcmGB269YHSwugJx_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01zvzadQ269YHU4W5Ir_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN016rhmLL269YHSwtwbu_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01C0Y4es269YHT8tmya_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01JCQ2ok269YHXYbZt7_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01JU5tIO269YHUKMGec_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01GGias2269YHTNsX8P_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN01Wa23C7269YHSwucEp_!!2210219367619-0-cib.jpg\" /><br /><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/O1CN019HvmkE269YHSwvxOi_!!2210219367619-0-cib.jpg\" /><br /><br /></p>",
        "is_lartas": 0,
        "category": {
            "id": 20,
            "name": "男式衬衫"
        },
        "supplier": {
            "name": "Shishi Chengqun Mingyi Garment Factory",
            "block_status": 0
        },
        "price_ranges": [
            {
                "price": 102471.15,
                "begin": 2
            },
            {
                "price": 100268.71,
                "begin": 10
            },
            {
                "price": 87054.11,
                "begin": 100
            }
        ],
        "product_images": [
            {
                "link": "https://cbu01.alicdn.com/img/ibank/O1CN01nrl3gS269YHPJ26An_!!2210219367619-0-cib.jpg"
            },
            {
                "link": "https://cbu01.alicdn.com/img/ibank/O1CN01FdHN4m269YHY9pOEd_!!2210219367619-0-cib.jpg"
            },
            {
                "link": "https://cbu01.alicdn.com/img/ibank/O1CN01GnTbxS269YHU4IrLn_!!2210219367619-0-cib.jpg"
            },
            {
                "link": "https://cbu01.alicdn.com/img/ibank/O1CN01QJweOl269YHVQUQnd_!!2210219367619-0-cib.jpg"
            },
            {
                "link": "https://cbu01.alicdn.com/img/ibank/O1CN01LHXBHq1Bs2f4xq2CK_!!0-0-cib.jpg"
            }
        ],
        "variants": [
            {
                "name": "White",
                "display_name": "Color",
                "variant_items": [
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1830,
                        "skuId": 4736528282437,
                        "specId": "cef93beef156f1799e736c649f36efae",
                        "title": "White - M ",
                        "product_id": 636706449999,
                        "stock": 1830,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1613,
                        "skuId": 4736528282438,
                        "specId": "82114cbd2c10b5e97b01af1510807e2d",
                        "title": "White - L ",
                        "product_id": 636706449999,
                        "stock": 1613,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1478,
                        "skuId": 4736528282439,
                        "specId": "c45d8408137e34adf8e695250c42a2e9",
                        "title": "White - XL ",
                        "product_id": 636706449999,
                        "stock": 1478,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1675,
                        "skuId": 4736528282440,
                        "specId": "6cd151e63f5c33e52f908b7d3a700a15",
                        "title": "White - 2XL ",
                        "product_id": 636706449999,
                        "stock": 1675,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1957,
                        "skuId": 4736528282441,
                        "specId": "f10897bb259d8dcf6717ed95fd2cfb95",
                        "title": "White - 3XL ",
                        "product_id": 636706449999,
                        "stock": 1957,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1000,
                        "skuId": 4783794357897,
                        "specId": "370e02a596f6913c1de9f5d68c5079ac",
                        "title": "White - 4XL ",
                        "product_id": 636706449999,
                        "stock": 1000,
                        "price": 102471.15
                    }
                ]
            },
            {
                "name": "Black",
                "display_name": "Color",
                "variant_items": [
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1927,
                        "skuId": 4736528282442,
                        "specId": "4b2120e532948daa11e58e09bb260801",
                        "title": "Black - M ",
                        "product_id": 636706449999,
                        "stock": 1927,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1696,
                        "skuId": 4736528282443,
                        "specId": "b99ece08861a79e13a4dba90e97ebff8",
                        "title": "Black - L ",
                        "product_id": 636706449999,
                        "stock": 1696,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1622,
                        "skuId": 4736528282444,
                        "specId": "5c337082186ff55b2d8267560ac89d59",
                        "title": "Black - XL ",
                        "product_id": 636706449999,
                        "stock": 1622,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1897,
                        "skuId": 4736528282445,
                        "specId": "4d8f01f47746da8ba5ce19dddf131a18",
                        "title": "Black - 2XL",
                        "product_id": 636706449999,
                        "stock": 1897,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1981,
                        "skuId": 4736528282446,
                        "specId": "4488bdac02f75a3cbe99ddaa5eb60838",
                        "title": "Black - 3XL ",
                        "product_id": 636706449999,
                        "stock": 1981,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 997,
                        "skuId": 4783794357901,
                        "specId": "2f33db9b6fa2a1b16e7c828f24595cab",
                        "title": "Black - 4XL ",
                        "product_id": 636706449999,
                        "stock": 997,
                        "price": 102471.15
                    }
                ]
            },
            {
                "name": "Light Blue",
                "display_name": "Color",
                "variant_items": [
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1992,
                        "skuId": 4736528282447,
                        "specId": "f62d226704727519f918dfa07aa09fb6",
                        "title": "Light Blue - M ",
                        "product_id": 636706449999,
                        "stock": 1992,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 706,
                        "skuId": 4736528282448,
                        "specId": "d4c9817323d614e39c61c6f9b58193ac",
                        "title": "Light Blue - L ",
                        "product_id": 636706449999,
                        "stock": 706,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 754,
                        "skuId": 4736528282449,
                        "specId": "077e8cdd2896d1b4581cf887bba9bba6",
                        "title": "Light Blue - XL ",
                        "product_id": 636706449999,
                        "stock": 754,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 556,
                        "skuId": 4736528282450,
                        "specId": "338df938e4eb36183c30d6fbc60660a1",
                        "title": "Light Blue - 2XL ",
                        "product_id": 636706449999,
                        "stock": 556,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 982,
                        "skuId": 4736528282451,
                        "specId": "865004e07a67e5d0c8a258b6a8f654e0",
                        "title": "Light Blue - 3XL ",
                        "product_id": 636706449999,
                        "stock": 982,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 998,
                        "skuId": 4783794357899,
                        "specId": "8931847727add8de9ce752f85808f15b",
                        "title": "Light Blue - 4XL ",
                        "product_id": 636706449999,
                        "stock": 998,
                        "price": 102471.15
                    }
                ]
            },
            {
                "name": "Dark Blue",
                "display_name": "Color",
                "variant_items": [
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1898,
                        "skuId": 4736528282452,
                        "specId": "9a9b3dd4ade3ebe4d67473c8f8060f8a",
                        "title": "Dark Blue - M ",
                        "product_id": 636706449999,
                        "stock": 1898,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1436,
                        "skuId": 4736528282453,
                        "specId": "9405d844ea49e12ec108bd04214ae344",
                        "title": "Dark Blue - L ",
                        "product_id": 636706449999,
                        "stock": 1436,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1321,
                        "skuId": 4736528282454,
                        "specId": "97c9c6203686891df72b2003323ef36c",
                        "title": "Dark Blue - XL ",
                        "product_id": 636706449999,
                        "stock": 1321,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1329,
                        "skuId": 4736528282455,
                        "specId": "fc15ada6abf762ea36f8288ea20f58d5",
                        "title": "Dark Blue - 2XL ",
                        "product_id": 636706449999,
                        "stock": 1329,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1860,
                        "skuId": 4736528282456,
                        "specId": "ee0ccf644afa3a093229dc69e734bb7b",
                        "title": "Dark Blue - 3XL ",
                        "product_id": 636706449999,
                        "stock": 1860,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 999,
                        "skuId": 4783794357900,
                        "specId": "a4710d1b8ba3c44bb002987ad1866f52",
                        "title": "Dark Blue - 4XL ",
                        "product_id": 636706449999,
                        "stock": 999,
                        "price": 102471.15
                    }
                ]
            },
            {
                "name": "Gray",
                "display_name": "Color",
                "variant_items": [
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 1676,
                        "skuId": 4736528282457,
                        "specId": "2e578fba8900edcb236eff5cdc5eefb5",
                        "title": "Gray - M ",
                        "product_id": 636706449999,
                        "stock": 1676,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 257,
                        "skuId": 4736528282458,
                        "specId": "43b0e72e98731aed69e1f0cc7d64bf4d",
                        "title": "Gray - L ",
                        "product_id": 636706449999,
                        "stock": 257,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 268,
                        "skuId": 4736528282459,
                        "specId": "893746f5330dc3273d24aa1ac1a9a8b5",
                        "title": "Gray - XL ",
                        "product_id": 636706449999,
                        "stock": 268,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 171,
                        "skuId": 4736528282460,
                        "specId": "2a0b9fa3ee7ae29407e923b8b93a3c3a",
                        "title": "Gray - 2XL ",
                        "product_id": 636706449999,
                        "stock": 171,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 886,
                        "skuId": 4736528282461,
                        "specId": "2b149da36db383bea3a0e1009e3a5668",
                        "title": "Gray - 3XL Gray ",
                        "product_id": 636706449999,
                        "stock": 886,
                        "price": 102471.15
                    },
                    {
                        "cargoNumber": "CY08-1811",
                        "amountOnSale": 993,
                        "skuId": 4783794357898,
                        "specId": "3bd53b63c05386cf1cdf934ba192230c",
                        "title": "Gray - 4XL ",
                        "product_id": 636706449999,
                        "stock": 993,
                        "price": 102471.15
                    }
                ]
            }
        ],
        "weight": 0,
        "width": 0,
        "length": 0,
        "height": 0
    }
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="cURL" %}

```shell
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/ecommerce1/1688/product/636706449999?name=ecom1&connection_name=ecom01' \
--header 'x-api-key: U2Fsd...'
```

{% endtab %}

{% tab title="NodeJs - Axios" %}

```javascript
var axios = require('axios');

var config = {
  method: 'get',
  url: 'https://us-central1-appgregator.cloudfunctions.net/ecommerce1/1688/product/636706449999?name=ecom1&connection_name=ecom01',
  headers: { 
    'x-api-key': 'U2Fsd...'
  }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

```

{% endtab %}

{% tab title="PHP - cURL" %}

```php
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/ecommerce1/1688/product/636706449999?name=ecom1&connection_name=ecom01',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'x-api-key: U2Fsd...'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

```

{% endtab %}
{% endtabs %}
