Untitled

Products Details View(Add Link Product)
mail@pastecode.io avatar
unknown
plain_text
7 months ago
20 kB
1
Indexable
Never
{
    "product": {
        "id": "product_01HB8H8JDZT387TNJHC2FVQCM3",
        "title": "testphone1",
        "subtitle": "sub_category_6",
        "status": "published",
        "external_id": null,
        "description": "A blue marker pen",
        "handle": "SH-PE-FR-SA-1042",
        "is_giftcard": false,
        "discountable": true,
        "thumbnail": null,
        "collection_id": null,
        "type_id": null,
        "weight": null,
        "length": null,
        "height": null,
        "width": null,
        "hs_code": "1234",
        "origin_country": null,
        "mid_code": "sub_sub_category_001",
        "material": "brand_1",
        "created_at": "2023-09-26T10:41:22.383Z",
        "updated_at": "2023-09-27T11:19:59.365Z",
        "deleted_at": null,
        "metadata": {
            "rand": 111,
            "certifications": [
                "c1",
                "c2"
            ],
            "product_details": [
                "Halal,Vegan",
                "Organic"
            ]
        },
        "profile_id": "sp_01H5PH59F7CCCPJ99ZCH2VMYRM",
        "is_deactivated": false,
        "supplier_id": "cus_01HB5HV1J0JMMM7B1B688KB9PJ",
        "product_code": "654",
        "brand": {
            "id": "brand_1",
            "name": "samsung",
            "image": "image.png",
            "created_at": "2023-07-26T10:06:38.423Z",
            "updated_at": "2023-07-26T10:06:38.423Z"
        },
        "categories": [
            {
                "image": "null",
                "id": "pro_cat_01HAY720AKB00VARZ6AW6337OP",
                "created_at": "2023-09-23T12:01:16.642Z",
                "updated_at": "2023-09-23T12:01:16.642Z",
                "name": "Offline Product Category",
                "description": "",
                "handle": "offline-product-category",
                "is_active": false,
                "is_internal": false,
                "parent_category_id": null,
                "rank": 0
            }
        ],
        "collection": null,
        "countries": {
            "flag": null,
            "id": 234,
            "iso_2": "ae",
            "iso_3": "are",
            "num_code": 784,
            "name": "UNITED ARAB EMIRATES",
            "display_name": "United Arab Emirates",
            "region_id": "reg_01H641GHBYDJTZTW9EQEMZANG9"
        },
        "images": [
            {
                "id": "img_01HB8H8JE89BGMDRWEAYQNV9PN",
                "created_at": "2023-09-26T10:41:22.396Z",
                "updated_at": "2023-09-26T10:41:22.396Z",
                "deleted_at": null,
                "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-front.png",
                "metadata": null
            },
            {
                "id": "img_01HB8H8JE9MN0ME47CR5XG9S3K",
                "created_at": "2023-09-26T10:41:22.396Z",
                "updated_at": "2023-09-26T10:41:22.396Z",
                "deleted_at": null,
                "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-back.png",
                "metadata": null
            }
        ],
        "options": [
            {
                "id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                "created_at": "2023-09-26T10:41:22.389Z",
                "updated_at": "2023-09-26T10:41:22.389Z",
                "deleted_at": null,
                "title": "mqo",
                "product_id": "product_01HB8H8JDZT387TNJHC2FVQCM3",
                "metadata": null,
                "values": [
                    {
                        "id": "optval_01HB8H8JEC5CTTXFYHFG1TDVQF",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-27T10:39:42.583Z",
                        "deleted_at": null,
                        "value": "2",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HB8H8JE8G90GEC5YZGPNJZVC",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB275657BYY39504N7N13Q2",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB27565WY1RD432YKE69J64",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB47PGTGTB3GHM1VJY5PPQE",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB47PGTVBT4BKF5DBCPPT1G",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4CT3AQZY463Z532YG8VXC",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4CT391H41BAYQA4817Y6P",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4DXSWHZXXV5T7GZK6KYZZ",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4DXSW7YJZD01PBAQBT9JR",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4GM5PR855A8JNM4AQR0W5",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4GM5P9Q83NBA8DMSQYBAF",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4GM5QN1TDEV028S4ZGVRP",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4GM5QN611CG0XTNS7WH62",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4MGTAM4APXC7DTWGKKHMS",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4MGTA5K63HFWXMV1EW4RV",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4MGTBZB44Z9P334Z25D4N",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4MGTBYSR6DDZYH3PCBCAX",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4NDN4K4NY6RVGS6GZE5J8",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4NDN4ZK4ZAFQFVK2GMZJ0",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB4NDN5C17JTTPBDKQ981DX",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB4NDN5EC9Q53DPQJAP77YY",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB52PN3DN3EBDC47FPM7MV1",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB52PN31BWA00QR81KG4G23",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB52PN6D5388YKYZDE764YK",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB52PN6PP3VNW88XKSSMW1D",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB52ZVR6XJS677FPXHQ61S9",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB52ZVQZZ11X6MRV6WS29YG",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB52ZVRK09K218GRM75BM3X",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB52ZVRW3121BT628NJ5EEQ",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB5W04D04AZ6TBEAADJDMV2",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB5W04DMFDWMAD9ASC9PFXS",
                        "metadata": null
                    },
                    {
                        "id": "optval_01HBB5W04ECS3082ZD6X7DKM2V",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB5W04E6PWRKBEHA9DN12HF",
                        "metadata": null
                    }
                ]
            }
        ],
        "profiles": [
            {
                "id": "sp_01H5PH59F7CCCPJ99ZCH2VMYRM",
                "created_at": "2023-07-19T07:34:45.950Z",
                "updated_at": "2023-07-19T07:34:45.950Z",
                "deleted_at": null,
                "name": "Default Shipping Profile",
                "type": "default",
                "metadata": null
            }
        ],
        "store": null,
        "sub_category": {
            "id": "sub_category_6",
            "name": "pencil",
            "image": "image6.png",
            "category_id": "pcat_pants",
            "created_at": "2023-07-31T12:00:40.666Z",
            "updated_at": "2023-07-31T12:00:40.666Z"
        },
        "sub_sub_category": {
            "id": "sub_sub_category_001",
            "name": "fruits",
            "image": "image.png",
            "sub_category_id": "sub_category_1",
            "created_at": "2023-09-08T05:29:46.007Z",
            "updated_at": "2023-09-08T05:29:46.007Z"
        },
        "supplier": {
            "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,
            "id": "cus_01HB5HV1J0JMMM7B1B688KB9PJ",
            "created_at": "2023-09-25T06:53:44.361Z",
            "updated_at": "2023-09-27T06:56:44.404Z",
            "deleted_at": null,
            "email": "uday@divami.com",
            "first_name": null,
            "last_name": null,
            "billing_address_id": null,
            "phone": null,
            "has_account": true,
            "metadata": null
        },
        "tags": [
            {
                "id": "ptag_01HB8H8JE8G0DTTDTGSSAVDX88",
                "created_at": "2023-09-26T10:41:22.394Z",
                "updated_at": "2023-09-26T10:41:22.394Z",
                "deleted_at": null,
                "value": "fruits",
                "metadata": null
            },
            {
                "id": "ptag_01HB8H8JE84263YSFJ6GP0Z28S",
                "created_at": "2023-09-26T10:41:22.394Z",
                "updated_at": "2023-09-26T10:41:22.394Z",
                "deleted_at": null,
                "value": "fresh",
                "metadata": null
            }
        ],
        "type": null,
        "variants": [
            {
                "id": "variant_01HBB5W04DMFDWMAD9ASC9PFXS",
                "created_at": "2023-09-27T11:19:59.377Z",
                "updated_at": "2023-09-27T11:19:59.377Z",
                "deleted_at": null,
                "title": "testphone1",
                "product_id": "product_01HB8H8JDZT387TNJHC2FVQCM3",
                "sku": null,
                "barcode": null,
                "ean": null,
                "upc": null,
                "variant_rank": 0,
                "inventory_quantity": 100,
                "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": 15,
                    "vat_value": 5,
                    "order_unit": "carton",
                    "selected_unit": "carton",
                    "vat_percentage": "5",
                    "selected_quantity": 5
                },
                "options": [
                    {
                        "id": "optval_01HBB5W04D04AZ6TBEAADJDMV2",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB5W04DMFDWMAD9ASC9PFXS",
                        "metadata": null
                    }
                ],
                "prices": [
                    {
                        "id": "ma_01HBB5W04DJQNR6Q2NHH90D4Q2",
                        "created_at": "2023-09-26T10:41:22.400Z",
                        "updated_at": "2023-09-26T10:41:22.400Z",
                        "deleted_at": null,
                        "currency_code": "aed",
                        "amount": 100,
                        "min_quantity": null,
                        "max_quantity": null,
                        "price_list_id": null,
                        "variant_id": "variant_01HBB5W04DMFDWMAD9ASC9PFXS",
                        "region_id": null,
                        "price_list": null
                    }
                ],
                "original_price": null,
                "calculated_price": null,
                "original_price_incl_tax": null,
                "calculated_price_incl_tax": null,
                "original_tax": null,
                "calculated_tax": null,
                "tax_rates": null
            },
            {
                "id": "variant_01HBB5W04E6PWRKBEHA9DN12HF",
                "created_at": "2023-09-27T11:19:59.377Z",
                "updated_at": "2023-09-27T11:19:59.377Z",
                "deleted_at": null,
                "title": "testphone9",
                "product_id": "product_01HB8H8JDZT387TNJHC2FVQCM3",
                "sku": null,
                "barcode": null,
                "ean": null,
                "upc": null,
                "variant_rank": 0,
                "inventory_quantity": 100,
                "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": 15,
                    "vat_value": 10,
                    "order_unit": "carton",
                    "selected_unit": "carton",
                    "vat_percentage": "5",
                    "selected_quantity": 5
                },
                "options": [
                    {
                        "id": "optval_01HBB5W04ECS3082ZD6X7DKM2V",
                        "created_at": "2023-09-26T10:41:22.398Z",
                        "updated_at": "2023-09-26T10:41:22.398Z",
                        "deleted_at": null,
                        "value": "3",
                        "option_id": "opt_01HB8H8JE8KG1QDTEA6EGJC6Z5",
                        "variant_id": "variant_01HBB5W04E6PWRKBEHA9DN12HF",
                        "metadata": null
                    }
                ],
                "prices": [
                    {
                        "id": "ma_01HBB5W04EXARJ1TVA4PAVYNNB",
                        "created_at": "2023-09-26T10:41:22.400Z",
                        "updated_at": "2023-09-26T10:41:22.400Z",
                        "deleted_at": null,
                        "currency_code": "aed",
                        "amount": 200,
                        "min_quantity": null,
                        "max_quantity": null,
                        "price_list_id": null,
                        "variant_id": "variant_01HBB5W04E6PWRKBEHA9DN12HF",
                        "region_id": null,
                        "price_list": null
                    }
                ],
                "original_price": null,
                "calculated_price": null,
                "original_price_incl_tax": null,
                "calculated_price_incl_tax": null,
                "original_tax": null,
                "calculated_tax": null,
                "tax_rates": null
            }
        ]
    }
}