Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
11 kB
2
Indexable
Never
{
  "id": 1233,
  "orderNumber": "KLOD0229021889",
  "state": "PENDING_COMPLETION",
  "orderState": "COMPLETE",
  "paymentStatus": "SUCCESS",
  "paymentMethod": "VNPAY",
  "shippingAddress": "hihi, Phường Hòa Phát, Quận Cẩm Lệ, Đà Nẵng",
  "metadata": null,
  "type": "RECONCILIATION",
  "items": [
    {
      "id": 26329,
      "title": "Đừng ai mua sản phẩm này cả plz",
      "cartId": 12010,
      "images": [
        "https://assets-stg.kilo.vn/variants/cach-trong-cay-bo-bang-hat-tai-nha-1-1645759361202.jpeg"
      ],
      "isGift": false,
      "orderId": 10002,
      "variant": {
        "id": 6564,
        "stock": 87,
        "active": true,
        "images": [
          "https://assets-stg.kilo.vn/variants/cach-trong-cay-bo-bang-hat-tai-nha-1-1645759361202.jpeg"
        ],
        "product": {
          "id": 4864,
          "slug": null,
          "title": "Đừng ai mua sản phẩm này cả plz",
          "active": true,
          "barCode": "Test",
          "brandId": 500,
          "sellerId": 264,
          "createdAt": "2022-02-25T03:22:46.543Z",
          "deletedAt": null,
          "updatedAt": "2022-03-03T07:24:30.114Z",
          "categoryId": 357,
          "description": null,
          "bestSellerScore": 221,
          "textSearchVector": "'ai':2A 'ca':7A 'coca':10B 'dung':1A 'mua':3A 'nay':6A 'pham':5A 'plz':8A 'san':4A 'test':9A",
          "trendingFromSearchScore": 0
        },
        "caseCount": 1,
        "createdAt": "2022-02-25T03:22:46.777Z",
        "productId": 4864,
        "unitPrice": 11000,
        "updatedAt": "2022-03-03T07:24:29.969Z",
        "sellingUnit": "",
        "variantUnit": "lọ",
        "minimumOrderQuantity": 1
      },
      "discount": "2000.00",
      "quantity": 2,
      "caseCount": 1,
      "createdAt": "2022-03-03T07:23:00.140Z",
      "productId": 4864,
      "unitPrice": 11000,
      "updatedAt": "2022-03-03T07:24:29.835Z",
      "variantId": 6564,
      "promotionId": 71,
      "sellingUnit": "",
      "variantUnit": "lọ",
      "promotionGiftId": null
    }
  ],
  "amount": "20000.00",
  "totalItem": "22000.00",
  "totalPrice": "20000.00",
  "totalDiscount": "2000.00",
  "discountOnItem": "2000.00",
  "discountOnOrder": "0.00",
  "jobRunPaymentDate": null,
  "orderCompletedAt": "2022-03-03T07:24:29.891Z",
  "notes": null,
  "createdAt": "2022-03-03T07:24:30.174Z",
  "updatedAt": "2022-03-03T07:24:59.375Z",
  "orderId": 10002,
  "userRetailerId": 4086,
  "sellerId": 264,
  "paymentWindowId": null,
  "seller": {
    "id": 264,
    "shortName": "Nhà của Huyền",
    "legalName": "Nhà của Huyền",
    "warehouseAddress": "12345645, Thị trấn Thắng, Huyện Hiệp Hòa, Bắc Giang",
    "hotline": "0895646972",
    "email": "account+admin@enouvo.com",
    "warehouseAddressCity": "Bắc Giang"
  },
  "userRetailer": {
    "role": "retailer",
    "accessToken": "35bf2682-9a9b-4c38-b12b-3b44bf74936d:undefined",
    "id": 4086,
    "uuid": "35bf2682-9a9b-4c38-b12b-3b44bf74936d",
    "phone": "0392435683",
    "fullName": "Huyen hihi",
    "email": null,
    "zaloId": "8299700530509241933",
    "facebookId": "1604038299943470",
    "appleId": "001747.13a46d33311847af9ee7bc84483112d8.1021",
    "profilePictureUrl": null,
    "createdBySellerUserId": null,
    "active": true,
    "createdAt": "2021-10-09T07:48:01.296Z"
  },
  "paymentWindow": null,
  "orderHistories": [
    {
      "id": 564,
      "totalItem": "22000.00",
      "totalPrice": "20000.00",
      "newTotalPrice": "10000.00",
      "totalDiscount": "2000.00",
      "discountOnItem": "2000.00",
      "discountOnOrder": "0.00",
      "modifiedType": "DECREASE",
      "actorId": 4419,
      "actorType": "OPERATOR",
      "items": [
        {
          "id": 26329,
          "title": "Đừng ai mua sản phẩm này cả plz",
          "cartId": 12010,
          "images": [
            "https://assets-stg.kilo.vn/variants/cach-trong-cay-bo-bang-hat-tai-nha-1-1645759361202.jpeg"
          ],
          "isGift": false,
          "orderId": 10002,
          "variant": {
            "id": 6564,
            "stock": 88,
            "active": true,
            "images": [
              "https://assets-stg.kilo.vn/variants/cach-trong-cay-bo-bang-hat-tai-nha-1-1645759361202.jpeg"
            ],
            "product": {
              "id": 4864,
              "slug": null,
              "title": "Đừng ai mua sản phẩm này cả plz",
              "active": true,
              "barCode": "Test",
              "brandId": 500,
              "sellerId": 264,
              "createdAt": "2022-02-25T03:22:46.543Z",
              "deletedAt": null,
              "updatedAt": "2022-03-03T07:39:44.917Z",
              "categoryId": 357,
              "description": null,
              "bestSellerScore": 222,
              "textSearchVector": "'ai':2A 'ca':7A 'coca':10B 'dung':1A 'mua':3A 'nay':6A 'pham':5A 'plz':8A 'san':4A 'test':9A",
              "trendingFromSearchScore": 0
            },
            "caseCount": 1,
            "createdAt": "2022-02-25T03:22:46.777Z",
            "productId": 4864,
            "unitPrice": 11000,
            "updatedAt": "2022-03-03T07:39:44.868Z",
            "sellingUnit": "",
            "variantUnit": "lọ",
            "minimumOrderQuantity": 1
          },
          "discount": "2000.00",
          "quantity": 2,
          "caseCount": 1,
          "createdAt": "2022-03-03T07:23:00.140Z",
          "productId": 4864,
          "unitPrice": 11000,
          "updatedAt": "2022-03-03T07:24:29.835Z",
          "variantId": 6564,
          "promotionId": 71,
          "sellingUnit": "",
          "variantUnit": "lọ",
          "promotionGiftId": null
        }
      ],
      "notes": null,
      "createdAt": "2022-03-03T07:41:07.775Z",
      "updatedAt": "2022-03-03T07:41:07.775Z",
      "orderId": 10002
    }
  ],
  "order": {
    "paymentMethodDetail": {
      "paymentMethod": "VNPAY",
      "name": "VNPAY",
      "image": "https://assets.kilo.vn/payment-methods/vnpay.png",
      "description": "Thanh toán bằng VNPAY"
    },
    "paymentStatusDetail": {
      "paymentStatus": "PARTIALLY_REFUND",
      "description": "Kilo hoàn tiền một phần"
    },
    "id": 10002,
    "number": "KLOD0229021889",
    "state": "COMPLETE",
    "shippingAddress": "hihi, Phường Hòa Phát, Quận Cẩm Lệ, Đà Nẵng",
    "totalItem": "11000.00",
    "totalPrice": "10000.00",
    "totalDiscount": "1000.00",
    "discountOnItem": "1000.00",
    "discountOnOrder": "0.00",
    "paymentMethod": "VNPAY",
    "paymentMetadata": null,
    "notes": null,
    "completedAt": "2022-03-03T07:24:29.891Z",
    "sellerApprovedAt": null,
    "sellerCanceledAt": null,
    "deliveryDeliveringAt": null,
    "deliveryDeliveredAt": null,
    "deliveryCanceledAt": null,
    "retailerReceivedAt": null,
    "retailerCanceledAt": null,
    "refundedAt": null,
    "paymentProviderTxnRef": "KLOD7004579929-1646292269890",
    "paymentStatus": "PARTIALLY_REFUND",
    "deliveryImages": null,
    "deliveryNote": null,
    "picklistDownloaded": "2022-03-03T09:19:18.698Z",
    "createdBySellerUserId": null,
    "textSearchVector": "'klod0229021889':1A",
    "createdAt": "2022-03-03T07:24:29.835Z",
    "updatedAt": "2022-03-03T09:19:18.712Z",
    "addressId": 3731,
    "userRetailerId": 4086,
    "deliveredById": null,
    "sellerId": 264,
    "lineItems": [
      {
        "id": 26329,
        "title": "Đừng ai mua sản phẩm này cả plz",
        "images": [
          "https://assets-stg.kilo.vn/variants/cach-trong-cay-bo-bang-hat-tai-nha-1-1645759361202.jpeg"
        ],
        "variantUnit": "lọ",
        "sellingUnit": "",
        "caseCount": 1,
        "quantity": 1,
        "unitPrice": 11000,
        "isGift": false,
        "discount": "1000.00",
        "createdAt": "2022-03-03T07:23:00.140Z",
        "updatedAt": "2022-03-03T07:41:07.775Z",
        "cartId": 12010,
        "variantId": 6564,
        "productId": 4864,
        "orderId": 10002,
        "promotionId": 71,
        "promotionGiftId": null,
        "variant": {
          "id": 6564,
          "images": [
            "https://assets-stg.kilo.vn/variants/cach-trong-cay-bo-bang-hat-tai-nha-1-1645759361202.jpeg"
          ],
          "variantUnit": "lọ",
          "sellingUnit": "",
          "caseCount": 1,
          "unitPrice": 11000,
          "stock": 73,
          "minimumOrderQuantity": 1,
          "active": true,
          "createdAt": "2022-02-25T03:22:46.777Z",
          "updatedAt": "2022-03-03T10:40:52.826Z",
          "productId": 4864,
          "product": {
            "id": 4864,
            "slug": null,
            "title": "Đừng ai mua sản phẩm này cả plz",
            "barCode": "Test",
            "description": null,
            "trendingFromSearchScore": 0,
            "bestSellerScore": 238,
            "textSearchVector": "'ai':2A 'ca':7A 'coca':10B 'dung':1A 'mua':3A 'nay':6A 'pham':5A 'plz':8A 'san':4A 'test':9A",
            "deletedAt": null,
            "active": true,
            "createdAt": "2022-02-25T03:22:46.543Z",
            "updatedAt": "2022-03-03T10:40:47.938Z",
            "brandId": 500,
            "categoryId": 357,
            "sellerId": 264
          }
        }
      }
    ],
    "seller": {
      "id": 264,
      "shortName": "Nhà của Huyền",
      "legalName": "Nhà của Huyền",
      "warehouseAddress": "12345645, Thị trấn Thắng, Huyện Hiệp Hòa, Bắc Giang",
      "hotline": "0895646972",
      "email": "account+admin@enouvo.com",
      "textSearchVector": "'0895646972':7C '12345645':8 'bac':15 'cua':2A,5B 'giang':16 'hiep':13 'hoa':14 'huyen':3A,6B,12 'nha':1A,4B 'thang':11 'thi':9 'tran':10",
      "isOwe": null,
      "state": "APPROVED",
      "displayStatus": "LIVE",
      "isApprovedNotificationReceived": true,
      "dailyNotificationOptIn": true,
      "bestSellerScore": 1412,
      "warehouseAddressCity": "Bắc Giang",
      "createdAt": "2021-11-16T11:25:32.630Z",
      "updatedAt": "2022-03-03T10:40:47.940Z"
    },
    "userRetailer": {
      "role": "retailer",
      "accessToken": "35bf2682-9a9b-4c38-b12b-3b44bf74936d:undefined",
      "id": 4086,
      "uuid": "35bf2682-9a9b-4c38-b12b-3b44bf74936d",
      "phone": "0392435683",
      "fullName": "Huyen hihi",
      "email": null,
      "zaloId": "8299700530509241933",
      "facebookId": "1604038299943470",
      "appleId": "001747.13a46d33311847af9ee7bc84483112d8.1021",
      "profilePictureUrl": null,
      "createdBySellerUserId": null,
      "active": true,
      "createdAt": "2021-10-09T07:48:01.296Z"
    }
  }
}