Product Details

mail@pastecode.io avatar
unknown
plain_text
a year ago
10 kB
7
Indexable
Never
{
    "status": "SUCCESS",
    "data": {
        "id": "product_01HCPRY7HZZQRNP2KAR2ZWYYS3",
        "created_at": "2023-10-14T09:40:36.324Z",
        "updated_at": "2023-10-14T09:40:36.324Z",
        "deleted_at": null,
        "title": "chair",
        "subtitle": "pro_sub_cat_01HCEHB6PN7JW6DWSNAHJ0FZ2F",
        "description": "chair",
        "handle": "F&-VE-G&-KF-1152",
        "is_giftcard": false,
        "status": "published",
        "thumbnail": null,
        "weight": null,
        "length": null,
        "height": null,
        "width": null,
        "hs_code": "76209090",
        "origin_country": null,
        "mid_code": "pro_child_cat_01HCEHB6PPTK4FZD8HK9MC1PQH",
        "material": "product_brand_01HCEK85233A340N12E65MXF6Y",
        "collection_id": null,
        "type_id": null,
        "discountable": true,
        "external_id": null,
        "metadata": {
            "certifications": [
                "c1",
                "c2"
            ],
            "product_details": [
                "Halal,Vegan",
                "Organic"
            ]
        },
        "store_id": null,
        "supplier_id": "cus_01HCEKDB7ZHMS2J1P9E30XQP1Y",
        "country_id": 234,
        "is_deactivated": false,
        "avaliabilty_status": true,
        "product_code": null,
        "product_type": "online",
        "ware_house_id": "bs_01HCEKDBAJ1BQ9BBGYW66W8BQW",
        "brand": {
            "id": "product_brand_01HCEK85233A340N12E65MXF6Y",
            "created_at": "2023-10-11T05:27:14.245Z",
            "updated_at": "2023-10-11T05:27:14.245Z",
            "name": "kfc",
            "image": ""
        },
        "categories": [
            {
                "id": "pro_cat_01HCEHB6PM4PWDVV3QK7WT5DHT",
                "created_at": "2023-10-11T04:54:02.808Z",
                "updated_at": "2023-10-11T04:54:02.808Z",
                "name": "Fruits & Vegetables",
                "description": "",
                "handle": "fruits-vegetables",
                "is_active": false,
                "is_internal": false,
                "parent_category_id": null,
                "rank": 0,
                "image": "https://demo.divami.com/minio/product-images/1696934027165-web-prod-cat-fruits-vegetables.png",
                "mobile_image": "https://demo.divami.com/minio/product-images/1696934027165-mobile-prod-cat-fruits-vegetables.png"
            }
        ],
        "collection": null,
        "countries": {
            "id": 234,
            "iso_2": "ae",
            "iso_3": "are",
            "num_code": 971,
            "name": "UNITED ARAB EMIRATES",
            "display_name": "United Arab Emirates",
            "region_id": "reg_01HCEHBDVP1ASD8T068MPS190D",
            "flag": "http://demo.divami.com:9200/product-images/1696921173314-UAE%20flag.png"
        },
        "images": [
            {
                "id": "img_01HCPRY7Q0DRSASAJ6SEAXWMQ2",
                "created_at": "2023-10-14T09:40:36.464Z",
                "updated_at": "2023-10-14T09:40:36.464Z",
                "deleted_at": null,
                "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-front.png",
                "metadata": null
            },
            {
                "id": "img_01HCPRY7Q195PHQXR8T8RZ788S",
                "created_at": "2023-10-14T09:40:36.464Z",
                "updated_at": "2023-10-14T09:40:36.464Z",
                "deleted_at": null,
                "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-back.png",
                "metadata": null
            }
        ],
        "options": [
            {
                "id": "opt_01HCPRY7PZZ8ZWN76K047P95RV",
                "created_at": "2023-10-14T09:40:36.372Z",
                "updated_at": "2023-10-14T09:40:36.372Z",
                "deleted_at": null,
                "title": "mqo",
                "product_id": "product_01HCPRY7HZZQRNP2KAR2ZWYYS3",
                "metadata": null
            }
        ],
        "profiles": [
            {
                "id": "sp_01HC4HTFCBRJXC1AF5WEHZ04A7",
                "created_at": "2023-10-07T07:49:53.016Z",
                "updated_at": "2023-10-07T07:49:53.016Z",
                "deleted_at": null,
                "name": "Default Shipping Profile",
                "type": "default",
                "metadata": null
            }
        ],
        "profile": {
            "id": "sp_01HC4HTFCBRJXC1AF5WEHZ04A7",
            "created_at": "2023-10-07T07:49:53.016Z",
            "updated_at": "2023-10-07T07:49:53.016Z",
            "deleted_at": null,
            "name": "Default Shipping Profile",
            "type": "default",
            "metadata": null
        },
        "profile_id": "sp_01HC4HTFCBRJXC1AF5WEHZ04A7",
        "store": null,
        "sub_category": {
            "id": "pro_sub_cat_01HCEHB6PN7JW6DWSNAHJ0FZ2F",
            "created_at": "2023-10-11T04:54:01.565Z",
            "updated_at": "2023-10-11T04:54:02.808Z",
            "name": "Vegetables",
            "image": "https://demo.divami.com/minio/product-images/1696934212309-web-prod-sub-cat-vegetables.png",
            "mobile_image": "https://demo.divami.com/minio/product-images/1696934261263-mobile-prod-sub-cat-vegetables.png",
            "category_id": "pro_cat_01HCEHB6PM4PWDVV3QK7WT5DHT"
        },
        "sub_sub_category": {
            "id": "pro_child_cat_01HCEHB6PPTK4FZD8HK9MC1PQH",
            "created_at": "2023-10-11T04:53:57.886Z",
            "updated_at": "2023-10-11T04:54:01.565Z",
            "name": "Garlic & Ginger",
            "image": "null",
            "sub_category_id": "pro_sub_cat_01HCEHB6PN7JW6DWSNAHJ0FZ2F"
        },
        "supplier": {
            "id": "cus_01HCEKDB7ZHMS2J1P9E30XQP1Y",
            "created_at": "2023-10-11T05:30:04.432Z",
            "updated_at": "2023-10-13T10:07:55.520Z",
            "deleted_at": null,
            "email": "phawhan@divami.com",
            "first_name": null,
            "last_name": null,
            "billing_address_id": null,
            "phone": null,
            "has_account": true,
            "metadata": null,
            "buyer_db": false,
            "supplier_db": false,
            "isSupplierActivated": false,
            "isBuyerActivated": false,
            "is_email_verified": true,
            "is_phone_verified": false,
            "email_token": null,
            "phone_token": null,
            "buyer_id": null,
            "isActivated": false,
            "profile_image": "",
            "username": "rohit356",
            "designation": null
        },
        "tags": [
            {
                "id": "ptag_01HCPRY7Q0X1ZZM0QM4AKGA8RE",
                "created_at": "2023-10-14T09:40:36.435Z",
                "updated_at": "2023-10-14T09:40:36.435Z",
                "deleted_at": null,
                "value": "beverages",
                "metadata": null
            },
            {
                "id": "ptag_01HCPRY7Q05DV0JB5ZFAKN2T9F",
                "created_at": "2023-10-14T09:40:36.435Z",
                "updated_at": "2023-10-14T09:40:36.435Z",
                "deleted_at": null,
                "value": "tea",
                "metadata": null
            }
        ],
        "type": null,
        "variants": [
            {
                "id": "variant_01HCPRY7PZZZKEGTGDZVRAK2M0",
                "created_at": "2023-10-14T09:40:36.403Z",
                "updated_at": "2023-10-14T09:40:36.403Z",
                "deleted_at": null,
                "title": "chair",
                "product_id": "product_01HCPRY7HZZQRNP2KAR2ZWYYS3",
                "sku": null,
                "barcode": null,
                "ean": null,
                "upc": null,
                "variant_rank": 0,
                "inventory_quantity": 1000,
                "allow_backorder": false,
                "manage_inventory": true,
                "hs_code": null,
                "origin_country": null,
                "mid_code": null,
                "material": null,
                "weight": null,
                "length": null,
                "height": null,
                "width": null,
                "metadata": {
                    "offer": "33",
                    "selected_unit": "pro_unit_01HCEHB6R4AX8BJ6HK5G9MT9VW",
                    "vat_percentage": 1.5,
                    "selected_quantity": "23",
                    "equal_to_unit_name": "bowl",
                    "ordering_option_unit_name": "bowl"
                },
                "options": [
                    {
                        "id": "optval_01HCPRY7RZM63AD5P1DHATEA4T",
                        "created_at": "2023-10-14T09:40:36.496Z",
                        "updated_at": "2023-10-14T09:40:36.496Z",
                        "deleted_at": null,
                        "value": "pro_unit_01HCEHB6R4VDD6FM6VS9A0D598",
                        "option_id": "opt_01HCPRY7PZZ8ZWN76K047P95RV",
                        "variant_id": "variant_01HCPRY7PZZZKEGTGDZVRAK2M0",
                        "metadata": null
                    }
                ],
                "prices": [
                    {
                        "id": "ma_01HCPRY7RZ13NVZ11B03W003JR",
                        "created_at": "2023-10-14T09:40:36.530Z",
                        "updated_at": "2023-10-14T09:40:36.530Z",
                        "deleted_at": null,
                        "currency_code": "aed",
                        "amount": 30,
                        "min_quantity": null,
                        "max_quantity": null,
                        "price_list_id": null,
                        "variant_id": "variant_01HCPRY7PZZZKEGTGDZVRAK2M0",
                        "region_id": null,
                        "offer_value": 21,
                        "offer": 33
                    }
                ],
                "match": false,
                "match_quantity": 0,
                "line_item_id": null
            }
        ],
        "is_favorite": false,
        "account_name": "supplier12",
        "business_name": "Phawhan Business"
    }
}