Product Updation Limited Fields

mail@pastecode.io avatar
unknown
plain_text
7 months ago
3.6 kB
5
Indexable
Never
{
    "variants": [
        {
            "id": "variant_01HBB27565WY1RD432YKE69J64",
            "title": "testphone1",
            "product_id": "product_01HB8H8JDZT387TNJHC2FVQCM3",
            "variant_rank": 0,
            "inventory_quantity": 100,
            "allow_backorder": false,
            "manage_inventory": true,
            "metadata": {
                "offer": 15,
                "order_unit": "carton",
                "selected_unit": "carton",
                "selected_quantity": 5
            },
            "options": [
                {
                    "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
                }
            ],
            "prices": [
                {
                    "id": "ma_01HBB275655GJ48PH2K3AR716Y",
                    "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_01HBB27565WY1RD432YKE69J64",
                    "region_id": null,
                    "price_list": null
                }
            ]
        },
        {
            "title": "testphone9",
            "product_id": "product_01HB8H8JDZT387TNJHC2FVQCM3",
            "variant_rank": 0,
            "inventory_quantity": 100,
            "allow_backorder": false,
            "manage_inventory": true,
            "metadata": {
                "offer": 15,
                "order_unit": "carton",
                "selected_unit": "carton",
                "selected_quantity": 5
            },
            "options": [
                {
                    "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
                }
            ],
            "prices": [
                {
                    "id": "ma_01HBB275655GJ48PH2K3AR716Y",
                    "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_01HBB27565WY1RD432YKE69J64",
                    "region_id": null,
                    "price_list": null
                }
            ]
        }
    ],
    "status": "published",
    "is_deactivated": false,
    "metadata": {
        "certifications": [
            "c1",
            "c2"
        ],
        "product_details": [
            "Halal,Vegan",
            "Organic"
        ],
        "rand":111
    },
    "product_code":"654",
    "country_id":234
}