Supplier rating Response

mail@pastecode.io avatar
unknown
plain_text
7 months ago
4.8 kB
2
Indexable
Never
{
    "status": "SUCCESS",
    "message": "Order Ratings",
    "data": {
        "id": "order_1",
        "status": "completed",
        "fulfillment_status": "fulfilled",
        "rating": 5,
        "product_ratings": [
            {
                "id": "variant_rating_001",
                "rating": 5,
                "customer_id": "cus_01HB8969QV9Q2A1MPG7SN9DYFB",
                "username": "rohit",
                "variant_id": "variant_01HBBB20BPRZAKZK0NT8QZB770",
                "product_id": "product_01HBBB20B9SCAJ2PGR4D6WF8W5",
                "product": {
                    "store_id": null,
                    "supplier_id": null,
                    "country_id": 234,
                    "is_deactivated": false,
                    "avaliabilty_status": true,
                    "product_code": null,
                    "ware_house_id": "bs_01HA6G4BXJPYT76HJ22M2MN977",
                    "id": "product_01HBBB20B9SCAJ2PGR4D6WF8W5",
                    "created_at": "2023-09-27T12:50:39.098Z",
                    "updated_at": "2023-09-27T12:50:39.098Z",
                    "deleted_at": null,
                    "title": "rose",
                    "subtitle": "pro_sub_cat_01HB5ARX2B7VGVHHS7JVS0QF84",
                    "description": "A blue marker pen",
                    "handle": "PE-CI-O&-SA-1063",
                    "is_giftcard": false,
                    "status": "published",
                    "thumbnail": null,
                    "weight": null,
                    "length": null,
                    "height": null,
                    "width": null,
                    "hs_code": "data",
                    "origin_country": null,
                    "mid_code": "pro_child_cat_01HB5ARX2BFV2KH57GX8MJSHE4",
                    "material": "brand_1",
                    "collection_id": null,
                    "type_id": null,
                    "discountable": true,
                    "external_id": null,
                    "metadata": {
                        "certifications": [
                            "c1",
                            "c2"
                        ],
                        "product_details": [
                            "Halal,Vegan",
                            "Organic"
                        ]
                    }
                },
                "order_id": "order_1",
                "rated_date": null,
                "comments": "This is my first comment"
            },
            {
                "id": "variant_rating_002",
                "rating": 3,
                "customer_id": "cus_01HB8969QV9Q2A1MPG7SN9DYFB",
                "username": "rohit",
                "variant_id": "variant_01HBBB20BPRZAKZK0NT8QZB770",
                "product_id": "product_01HBBB20B9SCAJ2PGR4D6WF8W5",
                "product": {
                    "store_id": null,
                    "supplier_id": null,
                    "country_id": 234,
                    "is_deactivated": false,
                    "avaliabilty_status": true,
                    "product_code": null,
                    "ware_house_id": "bs_01HA6G4BXJPYT76HJ22M2MN977",
                    "id": "product_01HBBB20B9SCAJ2PGR4D6WF8W5",
                    "created_at": "2023-09-27T12:50:39.098Z",
                    "updated_at": "2023-09-27T12:50:39.098Z",
                    "deleted_at": null,
                    "title": "rose",
                    "subtitle": "pro_sub_cat_01HB5ARX2B7VGVHHS7JVS0QF84",
                    "description": "A blue marker pen",
                    "handle": "PE-CI-O&-SA-1063",
                    "is_giftcard": false,
                    "status": "published",
                    "thumbnail": null,
                    "weight": null,
                    "length": null,
                    "height": null,
                    "width": null,
                    "hs_code": "data",
                    "origin_country": null,
                    "mid_code": "pro_child_cat_01HB5ARX2BFV2KH57GX8MJSHE4",
                    "material": "brand_1",
                    "collection_id": null,
                    "type_id": null,
                    "discountable": true,
                    "external_id": null,
                    "metadata": {
                        "certifications": [
                            "c1",
                            "c2"
                        ],
                        "product_details": [
                            "Halal,Vegan",
                            "Organic"
                        ]
                    }
                },
                "order_id": "order_1",
                "rated_date": null,
                "comments": "This is my Second rating"
            }
        ],
        "notes": "This is my specifications in my order. (Hot, Fresh)"
    }
}