Marketplace - search api call response updation

mail@pastecode.io avatar
unknown
plain_text
2 months ago
18 kB
1
Indexable
Never
{
    "status": "SUCCESS",
    "message": "SUCCESS",
    "data": {
        "products": [
            {
                "product_id": "product_01HHP0N9V1KK9YVTYVZ703HE5C",
                "product_created_at": "2023-12-15T05:54:48.392Z",
                "product_title": "apple2",
                "product_subtitle": "pro_sub_cat_m_01HCFCA4KMJ4AYZBA4NAB0GMAEB011",
                "product_description": "An apple a day keeps doctor away in watermelon",
                "product_handle": "FF-FF-FF-AA-1008",
                "product_status": "published",
                "product_mid_code": "pro_child_cat_m_01HCFCA4KM2JZ2S8Y5B1FF3E7WC064",
                "product_material": "prd_brnd_01HCW3DEMR8YV829VGKYYABC37",
                "product_category_id": "pro_cat_m_01HCFCA4KMN7SRZQY4BXF4M5ZRA005",
                "product_category_name": "Frozen Food",
                "product_sub_category_name": "Frozen Fruits & Vegetables",
                "sub_sub_category_name": "Frozen Fruits",
                "business_setup_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "business_setup_business_name": "saii business",
                "country_display_name": "United Arab Emirates",
                "avaliabilty_status": true,
                "supplier_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "country_id": "ae",
                "flag": "https://demo.divami.com/minio/wm-static-images/country_flags/ae.svg",
                "is_vat_included": false,
                "customer_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "images": [
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg",
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg",
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg"
                ],
                "images_metadata": [
                    null,
                    null,
                    null
                ],
                "variants": [
                    {
                        "id": "variant_01HHP0NB32CM7ZTSGRDXBZ1EEQ",
                        "title": "apple",
                        "amount": 25,
                        "prices": [
                            {
                                "id": "ma_01HHP0NBD74E1P0NEEZSM9RMAV",
                                "offer": 5,
                                "amount": 25,
                                "variant_id": "variant_01HHP0NB32CM7ZTSGRDXBZ1EEQ",
                                "offer_value": 24,
                                "max_quantity": null,
                                "min_quantity": 0,
                                "currency_code": "aed"
                            }
                        ],
                        "options": [
                            {
                                "id": "optval_01HHP0NBD7HM0T54QWRY2QEJKC",
                                "value": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                                "option_id": "opt_01HHP0NB32HRFTWXV7EECSZFW7",
                                "variant_id": "variant_01HHP0NB32CM7ZTSGRDXBZ1EEQ"
                            }
                        ],
                        "metadata": {
                            "offer": "5",
                            "selected_unit": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                            "vat_percentage": "5",
                            "selected_quantity": "1",
                            "equal_to_unit_name": "kg",
                            "ordering_option_value": "2",
                            "ordering_option_unit_name": "kg"
                        },
                        "offer_value": 24,
                        "min_quantity": 0,
                        "match": false,
                        "match_quantity": 0,
                        "line_item_id": null,
                        "is_special_price": false
                    },
                    {
                        "id": "variant_01HHP0NB32414T4G4A5AQNE27Z",
                        "title": "apple",
                        "amount": 100,
                        "prices": [
                            {
                                "id": "ma_01HHP0NBD877GXX7S7FQ5VFXPB",
                                "offer": 5,
                                "amount": 100,
                                "variant_id": "variant_01HHP0NB32414T4G4A5AQNE27Z",
                                "offer_value": 95,
                                "max_quantity": null,
                                "min_quantity": 2,
                                "currency_code": "aed"
                            }
                        ],
                        "options": [
                            {
                                "id": "optval_01HHP0NBD8XDQ2GRW31ABKXSR9",
                                "value": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                                "option_id": "opt_01HHP0NB32HRFTWXV7EECSZFW7",
                                "variant_id": "variant_01HHP0NB32414T4G4A5AQNE27Z"
                            }
                        ],
                        "metadata": {
                            "offer": "5",
                            "selected_unit": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                            "vat_percentage": "5",
                            "selected_quantity": "5",
                            "equal_to_unit_name": "kg",
                            "ordering_option_value": "2",
                            "ordering_option_unit_name": "kg"
                        },
                        "offer_value": 95,
                        "min_quantity": 2,
                        "match": false,
                        "match_quantity": 0,
                        "line_item_id": null,
                        "is_special_price": false
                    }
                ],
                "is_favorite": false
            },
            {
                "product_id": "product_01HHP0N3D93BZ0E5HYN9AJNWYZ",
                "product_created_at": "2023-12-15T05:54:40.620Z",
                "product_title": "apple1",
                "product_subtitle": "pro_sub_cat_m_01HCFCA4KMJ4AYZBA4NAB0GMAEB011",
                "product_description": "An apple a day keeps doctor away in watermelon",
                "product_handle": "FF-FF-FF-AA-1006",
                "product_status": "published",
                "product_mid_code": "pro_child_cat_m_01HCFCA4KM2JZ2S8Y5B1FF3E7WC064",
                "product_material": "prd_brnd_01HCW3DEMR8YV829VGKYYABC37",
                "product_category_id": "pro_cat_m_01HCFCA4KMN7SRZQY4BXF4M5ZRA005",
                "product_category_name": "Frozen Food",
                "product_sub_category_name": "Frozen Fruits & Vegetables",
                "sub_sub_category_name": "Frozen Fruits",
                "business_setup_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "business_setup_business_name": "saii business",
                "country_display_name": "United Arab Emirates",
                "avaliabilty_status": true,
                "supplier_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "country_id": "ae",
                "flag": "https://demo.divami.com/minio/wm-static-images/country_flags/ae.svg",
                "is_vat_included": false,
                "customer_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "images": [
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg",
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg",
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg"
                ],
                "images_metadata": [
                    null,
                    null,
                    null
                ],
                "variants": [
                    {
                        "id": "variant_01HHP0N3KN9S94C23CAS6B24FX",
                        "title": "apple",
                        "amount": 25,
                        "prices": [
                            {
                                "id": "ma_01HHP0N3TF409C3GJ1TZCG5D0S",
                                "offer": 5,
                                "amount": 25,
                                "variant_id": "variant_01HHP0N3KN9S94C23CAS6B24FX",
                                "offer_value": 24,
                                "max_quantity": null,
                                "min_quantity": 0,
                                "currency_code": "aed"
                            }
                        ],
                        "options": [
                            {
                                "id": "optval_01HHP0N3TFGZ99F46E84G2Q89Y",
                                "value": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                                "option_id": "opt_01HHP0N3KNAK5PRD92N3R2BSB8",
                                "variant_id": "variant_01HHP0N3KN9S94C23CAS6B24FX"
                            }
                        ],
                        "metadata": {
                            "offer": "5",
                            "selected_unit": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                            "vat_percentage": "5",
                            "selected_quantity": "1",
                            "equal_to_unit_name": "kg",
                            "ordering_option_value": "2",
                            "ordering_option_unit_name": "kg"
                        },
                        "offer_value": 24,
                        "min_quantity": 0,
                        "match": false,
                        "match_quantity": 0,
                        "line_item_id": null,
                        "is_special_price": false
                    },
                    {
                        "id": "variant_01HHP0N3KNWKNS5498EBB99D74",
                        "title": "apple",
                        "amount": 100,
                        "prices": [
                            {
                                "id": "ma_01HHP0N3TGGXHKDQW08W18D7YX",
                                "offer": 5,
                                "amount": 100,
                                "variant_id": "variant_01HHP0N3KNWKNS5498EBB99D74",
                                "offer_value": 95,
                                "max_quantity": null,
                                "min_quantity": 2,
                                "currency_code": "aed"
                            }
                        ],
                        "options": [
                            {
                                "id": "optval_01HHP0N3TF8JE6ZY1BRQVM76CH",
                                "value": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                                "option_id": "opt_01HHP0N3KNAK5PRD92N3R2BSB8",
                                "variant_id": "variant_01HHP0N3KNWKNS5498EBB99D74"
                            }
                        ],
                        "metadata": {
                            "offer": "5",
                            "selected_unit": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                            "vat_percentage": "5",
                            "selected_quantity": "5",
                            "equal_to_unit_name": "kg",
                            "ordering_option_value": "2",
                            "ordering_option_unit_name": "kg"
                        },
                        "offer_value": 95,
                        "min_quantity": 2,
                        "match": false,
                        "match_quantity": 0,
                        "line_item_id": null,
                        "is_special_price": false
                    }
                ],
                "is_favorite": false
            },
            {
                "product_id": "product_01HHM6118MM29W5RB2RAH5KDHE",
                "product_created_at": "2023-12-14T12:50:05.451Z",
                "product_title": "apple",
                "product_subtitle": "pro_sub_cat_m_01HCFCA4KMJ4AYZBA4NAB0GMAEB011",
                "product_description": "An apple a day keeps doctor away",
                "product_handle": "FF-FF-FF-AA-1005",
                "product_status": "published",
                "product_mid_code": "pro_child_cat_m_01HCFCA4KM2JZ2S8Y5B1FF3E7WC064",
                "product_material": "prd_brnd_01HCW3DEMR8YV829VGKYYABC37",
                "product_category_id": "pro_cat_m_01HCFCA4KMN7SRZQY4BXF4M5ZRA005",
                "product_category_name": "Frozen Food",
                "product_sub_category_name": "Frozen Fruits & Vegetables",
                "sub_sub_category_name": "Frozen Fruits",
                "business_setup_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "business_setup_business_name": "saii business",
                "country_display_name": "United Arab Emirates",
                "avaliabilty_status": true,
                "supplier_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "country_id": "ae",
                "flag": "https://demo.divami.com/minio/wm-static-images/country_flags/ae.svg",
                "is_vat_included": false,
                "customer_id": "bus_01HHM2WSQ9KJXFXRTX4KWX7EBK",
                "images": [
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg",
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg",
                    "https://demo.divami.com/minio/product-images/1700111618982-1699339553660-IMG_20231030_173914.jpg"
                ],
                "images_metadata": [
                    null,
                    null,
                    null
                ],
                "variants": [
                    {
                        "id": "variant_01HHM611D2ZPZ4J830J7VRESV7",
                        "title": "apple",
                        "amount": 25,
                        "prices": [
                            {
                                "id": "ma_01HHM611ERFE1TH47R00RXN2H0",
                                "offer": 5,
                                "amount": 25,
                                "variant_id": "variant_01HHM611D2ZPZ4J830J7VRESV7",
                                "offer_value": 24,
                                "max_quantity": null,
                                "min_quantity": 0,
                                "currency_code": "aed"
                            }
                        ],
                        "options": [
                            {
                                "id": "optval_01HHM611EQRQH8P40XHV5GP6ND",
                                "value": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                                "option_id": "opt_01HHM611D1NEW9PPKQEAKSR8ST",
                                "variant_id": "variant_01HHM611D2ZPZ4J830J7VRESV7"
                            }
                        ],
                        "metadata": {
                            "offer": "5",
                            "selected_unit": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                            "vat_percentage": "5",
                            "selected_quantity": "1",
                            "equal_to_unit_name": "kg",
                            "ordering_option_value": "2",
                            "ordering_option_unit_name": "kg"
                        },
                        "offer_value": 24,
                        "min_quantity": 0,
                        "match": false,
                        "match_quantity": 0,
                        "line_item_id": null,
                        "is_special_price": false
                    },
                    {
                        "id": "variant_01HHM611D2WX9D0H8H60413J66",
                        "title": "apple",
                        "amount": 100,
                        "prices": [
                            {
                                "id": "ma_01HHM611ER8PYDN4F5KDVMWT8K",
                                "offer": 5,
                                "amount": 100,
                                "variant_id": "variant_01HHM611D2WX9D0H8H60413J66",
                                "offer_value": 95,
                                "max_quantity": null,
                                "min_quantity": 2,
                                "currency_code": "aed"
                            }
                        ],
                        "options": [
                            {
                                "id": "optval_01HHM611ERMKV1TM30PQHZVMBN",
                                "value": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                                "option_id": "opt_01HHM611D1NEW9PPKQEAKSR8ST",
                                "variant_id": "variant_01HHM611D2WX9D0H8H60413J66"
                            }
                        ],
                        "metadata": {
                            "offer": "5",
                            "selected_unit": "pro_unit_m_01HD5NKE2MJKCJMVBS5PYQ9AA29",
                            "vat_percentage": "5",
                            "selected_quantity": "5",
                            "equal_to_unit_name": "kg",
                            "ordering_option_value": "2",
                            "ordering_option_unit_name": "kg"
                        },
                        "offer_value": 95,
                        "min_quantity": 2,
                        "match": false,
                        "match_quantity": 0,
                        "line_item_id": null,
                        "is_special_price": false
                    }
                ],
                "is_favorite": false
            }
        ],
        "count": 3
    }
}
Leave a Comment