Untitled

mail@pastecode.io avatarunknown
plain_text
2 months ago
6.9 kB
1
Indexable
Never
{
    "errors": [
        {
            "message": "Cannot return null for non-nullable field ProductVariant.product.",
            "locations": [
                {
                    "line": 49,
                    "column": 8
                }
            ],
            "path": [
                "me",
                "orders",
                "edges",
                0,
                "node",
                "lines",
                1,
                "variant",
                "product"
            ],
            "extensions": {
                "exception": {
                    "code": "GraphQLError"
                }
            }
        }
    ],
    "data": {
        "me": {
            "id": "VXNlcjo0MDE4OTk=",
            "orders": {
                "pageInfo": {
                    "hasNextPage": false,
                    "endCursor": "WyIyMDg0NDUiXQ=="
                },
                "totalCount": 1,
                "edges": [
                    {
                        "node": {
                            "id": "T3JkZXI6MjA4NDQ1",
                            "token": "34f31bc4-2934-45bb-b3ee-c97896ce538d",
                            "fulfillmentType": 0,
                            "pointUsed": 0,
                            "storeCode": null,
                            "number": "208445",
                            "erpOrderNumber": "6208445356",
                            "estimatedShippingTime": "2022-08-09",
                            "storeErpId": "VTB",
                            "statusDisplay": "Unfulfilled",
                            "created": "2022-08-05T16:19:16.343963+00:00",
                            "discountCodes": [
                                {
                                    "name": "Coupon 50.000 VND",
                                    "description": null,
                                    "expiredDate": "2032-04-21 23:59:59",
                                    "discountCode": "H08R82475",
                                    "afterShip": false,
                                    "type": null,
                                    "discountAmount": null,
                                    "campaignCode": null
                                }
                            ],
                            "total": {
                                "gross": {
                                    "amount": 372730.0,
                                    "currency": "VND"
                                },
                                "net": {
                                    "amount": 372730.0,
                                    "currency": "VND"
                                }
                            },
                            "lines": [
                                {
                                    "id": "T3JkZXJMaW5lOjQ2NTczNw==",
                                    "quantity": 1,
                                    "variant": {
                                        "id": "UHJvZHVjdFZhcmlhbnQ6ODMxMQ==",
                                        "product": {
                                            "name": "Bình sữa mô phỏng tự nhiên Philips Avent (260ml - Đơn) ",
                                            "id": "UHJvZHVjdDo4NDkw",
                                            "descriptionJson":"{\"blocks\": [{\"key\": \"20trk\", \"data\": {}, \"text\": \"B\ình s\ữa m\ô ph\ỏng t\ự nhi\ên Philips Avent \đ\ư\ợc thi\ết k\ế theo d\áng b\ầu ng\ực gi\úp b\é b\ú m\út t\ự nhi\ên nh\ư b\ú m\ẹ, cho b\é b\ú tho\ải m\ái v\à nh\ẹ nh\àng h\ơn.\", \"type\": \"unstyled\", \"depth\": 0, \"entityRanges\": [], \"inlineStyleRanges\": []}], \"entityMap\": {}}",
                                            "description": "",
                                            "translation": null
                                        }
                                    },
                                    "thumbnail": {
                                        "alt": "P18898_1_l",
                                        "url": "https://data-service.pharmacity.io/pmc-upload-media/production/pmc-ecm-core/__sized__/products/P18898_1_l-thumbnail-255x255.webp"
                                    },
                                    "thumbnail2x": {
                                        "url": "https://data-service.pharmacity.io/pmc-upload-media/production/pmc-ecm-core/__sized__/products/P18898_1_l-thumbnail-510x510.webp"
                                    }
                                },
                                {
                                    "id": "T3JkZXJMaW5lOjQ2NTczOA==",
                                    "quantity": 1,
                                    "variant": null,
                                    "thumbnail": {
                                        "alt": "",
                                        "url": "https://data-service.pharmacity.io/pmc-upload-media/production/pmc-ecm-core/__sized__/products/P21945_1-thumbnail-255x255-70.jpg"
                                    },
                                    "thumbnail2x": {
                                        "url": "https://data-service.pharmacity.io/pmc-upload-media/production/pmc-ecm-core/__sized__/products/P21945_1-thumbnail-510x510-70.jpg"
                                    }
                                }
                            ],
                            "shippingAddress": {
                                "id": "QWRkcmVzczozMjQ3OTM=",
                                "firstName": "My nguyễn",
                                "lastName": "",
                                "companyName": "",
                                "streetAddress1": "Số nhà 443 tổ 2 thôn 7",
                                "streetAddress2": "",
                                "city": "Tỉnh Bình Thuận",
                                "district": "Huyện Đức Linh",
                                "ward": "Xã Đa Kai",
                                "postalCode": "",
                                "country": {
                                    "code": "VN",
                                    "country": "Vietnam"
                                },
                                "countryArea": "",
                                "phone": "+84972561103",
                                "email": "",
                                "isDefaultBillingAddress": null,
                                "isDefaultShippingAddress": null
                            },
                            "billingAddress": null
                        }
                    }
                ]
            }
        }
    }
}