Supplier and Admin - indiviual Product view

 avatar
unknown
plain_text
a year ago
8.0 kB
7
Indexable
{
    "product": {
        "id": "product_01HB90AMQTF1VAHHFNRZYR53N1",
        "title": "thumbs up",
        "subtitle": null,
        "status": "published",
        "external_id": null,
        "description": "apple",
        "handle": null,
        "is_giftcard": false,
        "discountable": true,
        "thumbnail": null,
        "collection_id": null,
        "type_id": null,
        "weight": null,
        "length": null,
        "height": null,
        "width": null,
        "hs_code": "",
        "origin_country": null,
        "mid_code": null,
        "material": "brand_3",
        "created_at": "2023-09-26T15:04:38.910Z",
        "updated_at": "2023-09-26T15:04:38.910Z",
        "deleted_at": null,
        "metadata": {
            "certifications": [
                "c1",
                "c2"
            ],
            "product_details": [
                "Halal,Vegan",
                "Organic"
            ]
        },
        "profile_id": "sp_01H5PH59F7CCCPJ99ZCH2VMYRM",
        "is_deactivated": false,
        "supplier_id": "cus_01HB8969QV9Q2A1MPG7SN9DYFB",
        "product_code": null,
        "brand": {
            "id": "brand_3",
            "name": "newdata",
            "image": "image3.png",
            "created_at": "2023-07-27T13:29:02.901Z",
            "updated_at": "2023-07-27T13:29:02.901Z"
        },
        "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_01HB90AMQTEB1QEGATMQANG2JE",
                "created_at": "2023-09-26T15:04:38.916Z",
                "updated_at": "2023-09-26T15:04:38.916Z",
                "deleted_at": null,
                "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-front.png",
                "metadata": null
            },
            {
                "id": "img_01HB90AMQVAZQXR7R9S9BHVEGR",
                "created_at": "2023-09-26T15:04:38.916Z",
                "updated_at": "2023-09-26T15:04:38.916Z",
                "deleted_at": null,
                "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-back.png",
                "metadata": null
            }
        ],
        "options": [
            {
                "id": "opt_01HB90AMQTS8XXKY2SK7GVD8GR",
                "created_at": "2023-09-26T15:04:38.912Z",
                "updated_at": "2023-09-26T15:04:38.912Z",
                "deleted_at": null,
                "title": "mqo",
                "product_id": "product_01HB90AMQTF1VAHHFNRZYR53N1",
                "metadata": null,
                "values": [
                    {
                        "id": "optval_01HB90AMQXQG6YQ60KK8K82P87",
                        "created_at": "2023-09-26T15:04:38.916Z",
                        "updated_at": "2023-09-26T15:04:38.916Z",
                        "deleted_at": null,
                        "value": "1",
                        "option_id": "opt_01HB90AMQTS8XXKY2SK7GVD8GR",
                        "variant_id": "variant_01HB90AMQT3A9Z0BV889VD5DX7",
                        "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": null,
        "sub_sub_category": null,
        "supplier": {
            "buyer_db": true,
            "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_01HB8969QV9Q2A1MPG7SN9DYFB",
            "created_at": "2023-09-26T08:20:19.314Z",
            "updated_at": "2023-09-26T12:16:28.570Z",
            "deleted_at": null,
            "email": "divya@divami.com",
            "first_name": null,
            "last_name": null,
            "billing_address_id": null,
            "phone": null,
            "has_account": true,
            "metadata": null
        },
        "tags": [],
        "type": null,
        "variants": [
            {
                "id": "variant_01HB90AMQT3A9Z0BV889VD5DX7",
                "created_at": "2023-09-26T15:04:38.914Z",
                "updated_at": "2023-09-26T15:04:38.914Z",
                "deleted_at": null,
                "title": "thumbs up",
                "product_id": "product_01HB90AMQTF1VAHHFNRZYR53N1",
                "sku": null,
                "barcode": null,
                "ean": null,
                "upc": null,
                "variant_rank": 0,
                "inventory_quantity": 10000,
                "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": 5,
                    "order_unit": "carton",
                    "selected_unit": "carton",
                    "selected_quantity": 5
                },
                "options": [
                    {
                        "id": "optval_01HB90AMQXQG6YQ60KK8K82P87",
                        "created_at": "2023-09-26T15:04:38.916Z",
                        "updated_at": "2023-09-26T15:04:38.916Z",
                        "deleted_at": null,
                        "value": "1",
                        "option_id": "opt_01HB90AMQTS8XXKY2SK7GVD8GR",
                        "variant_id": "variant_01HB90AMQT3A9Z0BV889VD5DX7",
                        "metadata": null
                    }
                ],
                "prices": [
                    {
                        "id": "ma_01HB90AMQXAGJWW4NF27PX0GN5",
                        "created_at": "2023-09-26T15:04:38.917Z",
                        "updated_at": "2023-09-26T15:04:38.917Z",
                        "deleted_at": null,
                        "currency_code": "aed",
                        "amount": 75,
                        "min_quantity": null,
                        "max_quantity": null,
                        "price_list_id": null,
                        "variant_id": "variant_01HB90AMQT3A9Z0BV889VD5DX7",
                        "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
            }
        ]
    }
}
Editor is loading...