{
  "createdAt": "2026-07-04T15:35:06.600Z",
  "database": {
    "localSqlite": true
  },
  "preservedOrders": {
    "square": {
      "id": "cmr58tk230000qdn0bjj277lr",
      "orderNumber": "ELIT-01880005-824"
    },
    "paypal": {
      "id": "cmr6fmfoy0000qdpkr99uwtzk",
      "orderNumber": "ELIT-73771247-416"
    }
  },
  "cleanupPlan": {
    "deleteOrderIds": [
      "cmr6gfk2l0000qdxwj6bu4b8y",
      "cmr6f2rxw0000qdhwv02oopn0",
      "cmr58xw860004qdn0gtfo6cme",
      "cmr52jwib0000qd7gh1f92xdv",
      "cmr523pww0000qdbsabh1cuv4",
      "cmr51ulsr0000qdagqy50mcbi",
      "cmr51k8sx0004qdl0ywt631wm",
      "cmr518ukr0000qdl084n6w3v3",
      "cmr3olw9r002pqdesukqlbb7i"
    ],
    "paidDeletedOrderNumbers": [
      "ELIT-91351006-533",
      "ELIT-DEMO-1001"
    ],
    "restoreInventory": [
      {
        "productId": "cmr3olw6w0014qdes91pcbb1q",
        "quantity": 2
      },
      {
        "productId": "cmr3olw5y000mqdesj9a36x1x",
        "quantity": 1
      },
      {
        "productId": "cmr3olw7p001iqdeszzvw5ra0",
        "quantity": 1
      }
    ]
  },
  "orders": [
    {
      "id": "cmr6gfk2l0000qdxwj6bu4b8y",
      "orderNumber": "ELIT-75129946-233",
      "customerName": "hamit ",
      "customerEmail": "admin@example.com",
      "customerPhone": "+491245789456",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "68",
      "supplierTotal": "61.2",
      "markupTotal": "6.799999999999997",
      "grandTotal": "68",
      "paymentMethod": "PAYPAL",
      "paymentStatus": "FAILED",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-04T14:25:29.949Z",
      "updatedAt": "2026-07-04T14:25:39.709Z",
      "items": [
        {
          "id": "cmr6gfk2l0002qdxw39u7lv8k",
          "orderId": "cmr6gfk2l0000qdxwj6bu4b8y",
          "productId": "cmr3olw7p001iqdeszzvw5ra0",
          "productNameSnapshot": "1 oz Silver Round",
          "supplierId": "cmr3olw0d0008qdeskccq1abh",
          "supplierPriceSnapshot": "61.2",
          "totalSalePriceSnapshot": "68",
          "quantity": 1,
          "createdAt": "2026-07-04T14:25:29.949Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr6gfk2l0003qdxwy2k7e5my",
          "orderId": "cmr6gfk2l0000qdxwj6bu4b8y",
          "servicePaymentId": null,
          "provider": "PAYPAL",
          "status": "FAILED",
          "amount": "68",
          "currency": "USD",
          "rawResponse": "{\"paypalOrderId\":\"3DU09476HN422214B\",\"status\":\"CANCELLED\",\"message\":\"Customer cancelled PayPal checkout.\"}",
          "createdAt": "2026-07-04T14:25:29.949Z"
        }
      ]
    },
    {
      "id": "cmr6f2rxw0000qdhwv02oopn0",
      "orderNumber": "ELIT-72854000-967",
      "customerName": "hamit ",
      "customerEmail": "admin@example.com",
      "customerPhone": "+491245789456",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "310",
      "supplierTotal": "279",
      "markupTotal": "31",
      "grandTotal": "310",
      "paymentMethod": "PAYPAL",
      "paymentStatus": "FAILED",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-04T13:47:34.004Z",
      "updatedAt": "2026-07-04T13:47:35.151Z",
      "items": [
        {
          "id": "cmr6f2rxx0002qdhwstkddzll",
          "orderId": "cmr6f2rxw0000qdhwv02oopn0",
          "productId": "cmr3olw8k0020qdessfil7py9",
          "productNameSnapshot": "Silver Collectible Round",
          "supplierId": "cmr3olw0d0009qdesgfrj8v2d",
          "supplierPriceSnapshot": "139.5",
          "totalSalePriceSnapshot": "155",
          "quantity": 2,
          "createdAt": "2026-07-04T13:47:34.004Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr6f2rxx0003qdhwqlkrtga0",
          "orderId": "cmr6f2rxw0000qdhwv02oopn0",
          "servicePaymentId": null,
          "provider": "PAYPAL",
          "status": "FAILED",
          "amount": "310",
          "currency": "USD",
          "rawResponse": "{\"environment\":\"sandbox\",\"order\":{\"id\":\"2C99362571831692T\",\"status\":\"PAYER_ACTION_REQUIRED\"},\"error\":{\"message\":\"PayPal approval link was not returned.\"}}",
          "createdAt": "2026-07-04T13:47:34.004Z"
        }
      ]
    },
    {
      "id": "cmr58xw860004qdn0gtfo6cme",
      "orderNumber": "ELIT-02082404-511",
      "customerName": "Yigit Yilmaz",
      "customerEmail": "yigit.yilmaz.pax@gmail.com",
      "customerPhone": "+491729365049",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "1320",
      "supplierTotal": "1188",
      "markupTotal": "132",
      "grandTotal": "1320",
      "paymentMethod": "SQUARE",
      "paymentStatus": "FAILED",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-03T18:08:02.407Z",
      "updatedAt": "2026-07-03T18:08:03.390Z",
      "items": [
        {
          "id": "cmr58xw860006qdn07606du8s",
          "orderId": "cmr58xw860004qdn0gtfo6cme",
          "productId": "cmr3olw8q0024qdes3jp8pobq",
          "productNameSnapshot": "Silver Starter Kit",
          "supplierId": "cmr3olw0d0005qdes5h4nnqdq",
          "supplierPriceSnapshot": "594",
          "totalSalePriceSnapshot": "660",
          "quantity": 2,
          "createdAt": "2026-07-03T18:08:02.407Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr58xw870007qdn0ge1kazn0",
          "orderId": "cmr58xw860004qdn0gtfo6cme",
          "servicePaymentId": null,
          "provider": "SQUARE",
          "status": "FAILED",
          "amount": "1320",
          "currency": "USD",
          "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Square payment request failed.\",\"errors\":[{\"category\":\"PAYMENT_METHOD_ERROR\",\"code\":\"GENERIC_DECLINE\",\"detail\":\"Authorization error: 'GENERIC_DECLINE'\"}]}}",
          "createdAt": "2026-07-03T18:08:02.407Z"
        }
      ]
    },
    {
      "id": "cmr52jwib0000qd7gh1f92xdv",
      "orderNumber": "ELIT-91351006-533",
      "customerName": "Muammer Yigit Yilmaz",
      "customerEmail": "yigit.yilmaz.pax@gmail.com",
      "customerPhone": "+491729365049",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "8990",
      "supplierTotal": "8091",
      "markupTotal": "899",
      "grandTotal": "8990",
      "paymentMethod": "SQUARE",
      "paymentStatus": "PAID",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-03T15:09:11.892Z",
      "updatedAt": "2026-07-03T15:09:11.892Z",
      "items": [
        {
          "id": "cmr52jwib0002qd7ggxusnneg",
          "orderId": "cmr52jwib0000qd7gh1f92xdv",
          "productId": "cmr3olw6w0014qdes91pcbb1q",
          "productNameSnapshot": "Gold Collectible Coin - Royal Mint",
          "supplierId": "cmr3olw0d0006qdestshj9jd4",
          "supplierPriceSnapshot": "4045.5",
          "totalSalePriceSnapshot": "4495",
          "quantity": 2,
          "createdAt": "2026-07-03T15:09:11.892Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr52jwib0003qd7gspnnizlo",
          "orderId": "cmr52jwib0000qd7gh1f92xdv",
          "servicePaymentId": null,
          "provider": "SQUARE",
          "status": "PAID",
          "amount": "8990",
          "currency": "USD",
          "rawResponse": "{\"environment\":\"sandbox\",\"payment\":{\"id\":\"XBTU2PcN5IQ9LVOfW1IKUsuRG18YY\",\"status\":\"COMPLETED\",\"sourceType\":\"CARD\",\"orderId\":\"MxPVVIRYpZPWLm4WHLM4G8RGoqNZY\",\"receiptNumber\":\"XBTU\",\"cardStatus\":\"CAPTURED\",\"cardBrand\":\"VISA\",\"last4\":\"1111\",\"totalMoney\":{\"amount\":\"899000\",\"currency\":\"USD\"}}}",
          "createdAt": "2026-07-03T15:09:11.892Z"
        }
      ]
    },
    {
      "id": "cmr523pww0000qdbsabh1cuv4",
      "orderNumber": "ELIT-90596476-468",
      "customerName": "Muammer Yigit Yilmaz",
      "customerEmail": "yigit.yilmaz.pax@gmail.com",
      "customerPhone": "+491729365049",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "8520",
      "supplierTotal": "7668",
      "markupTotal": "852",
      "grandTotal": "8520",
      "paymentMethod": "SQUARE",
      "paymentStatus": "FAILED",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-03T14:56:36.848Z",
      "updatedAt": "2026-07-03T14:56:36.848Z",
      "items": [
        {
          "id": "cmr523pww0002qdbs46893tip",
          "orderId": "cmr523pww0000qdbsabh1cuv4",
          "productId": "cmr3olw750018qdestkr6tao0",
          "productNameSnapshot": "Gold Krugerrand 1 oz",
          "supplierId": "cmr3olw0d0004qdesj12mudg7",
          "supplierPriceSnapshot": "3834",
          "totalSalePriceSnapshot": "4260",
          "quantity": 2,
          "createdAt": "2026-07-03T14:56:36.848Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr523pww0003qdbs3uq8h3uz",
          "orderId": "cmr523pww0000qdbsabh1cuv4",
          "servicePaymentId": null,
          "provider": "SQUARE",
          "status": "FAILED",
          "amount": "8520",
          "currency": "USD",
          "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"BAD_REQUEST\\\",\\n      \\\"detail\\\": \\\"Not authorized to take payments with location_id=LPOQMW\\\",\\n      \\\"field\\\": \\\"location_id\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"BAD_REQUEST\",\"detail\":\"Not authorized to take payments with location_id=LPOQMW\",\"field\":\"location_id\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
          "createdAt": "2026-07-03T14:56:36.848Z"
        }
      ]
    },
    {
      "id": "cmr51ulsr0000qdagqy50mcbi",
      "orderNumber": "ELIT-90170417-600",
      "customerName": "Muammer Yigit Yilmaz",
      "customerEmail": "yigit.yilmaz.pax@gmail.com",
      "customerPhone": "01729365049",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "8520",
      "supplierTotal": "7668",
      "markupTotal": "852",
      "grandTotal": "8520",
      "paymentMethod": "SQUARE",
      "paymentStatus": "FAILED",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-03T14:49:31.611Z",
      "updatedAt": "2026-07-03T14:49:31.611Z",
      "items": [
        {
          "id": "cmr51ulss0002qdagw16jw7lt",
          "orderId": "cmr51ulsr0000qdagqy50mcbi",
          "productId": "cmr3olw750018qdestkr6tao0",
          "productNameSnapshot": "Gold Krugerrand 1 oz",
          "supplierId": "cmr3olw0d0004qdesj12mudg7",
          "supplierPriceSnapshot": "3834",
          "totalSalePriceSnapshot": "4260",
          "quantity": 2,
          "createdAt": "2026-07-03T14:49:31.611Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr51ulss0003qdago2kmyewu",
          "orderId": "cmr51ulsr0000qdagqy50mcbi",
          "servicePaymentId": null,
          "provider": "SQUARE",
          "status": "FAILED",
          "amount": "8520",
          "currency": "USD",
          "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"INVALID_PHONE_NUMBER\\\",\\n      \\\"detail\\\": \\\"buyer_phone_number is not valid\\\",\\n      \\\"field\\\": \\\"buyer_phone_number\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    },\\n    {\\n      \\\"code\\\": \\\"BAD_REQUEST\\\",\\n      \\\"detail\\\": \\\"Not authorized to take payments with location_id= LPOQMW\\\",\\n      \\\"field\\\": \\\"location_id\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"INVALID_PHONE_NUMBER\",\"detail\":\"buyer_phone_number is not valid\",\"field\":\"buyer_phone_number\",\"category\":\"INVALID_REQUEST_ERROR\"},{\"code\":\"BAD_REQUEST\",\"detail\":\"Not authorized to take payments with location_id= LPOQMW\",\"field\":\"location_id\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
          "createdAt": "2026-07-03T14:49:31.611Z"
        }
      ]
    },
    {
      "id": "cmr51k8sx0004qdl0ywt631wm",
      "orderNumber": "ELIT-89687596-429",
      "customerName": "Muammer Yigit Yilmaz",
      "customerEmail": "yigit.yilmaz.pax@gmail.com",
      "customerPhone": "01729365049",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "8520",
      "supplierTotal": "7668",
      "markupTotal": "852",
      "grandTotal": "8520",
      "paymentMethod": "SQUARE",
      "paymentStatus": "FAILED",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-03T14:41:28.209Z",
      "updatedAt": "2026-07-03T14:41:28.209Z",
      "items": [
        {
          "id": "cmr51k8sx0006qdl07951oxg8",
          "orderId": "cmr51k8sx0004qdl0ywt631wm",
          "productId": "cmr3olw750018qdestkr6tao0",
          "productNameSnapshot": "Gold Krugerrand 1 oz",
          "supplierId": "cmr3olw0d0004qdesj12mudg7",
          "supplierPriceSnapshot": "3834",
          "totalSalePriceSnapshot": "4260",
          "quantity": 2,
          "createdAt": "2026-07-03T14:41:28.209Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr51k8sx0007qdl02j3ays6z",
          "orderId": "cmr51k8sx0004qdl0ywt631wm",
          "servicePaymentId": null,
          "provider": "SQUARE",
          "status": "FAILED",
          "amount": "8520",
          "currency": "USD",
          "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"VALUE_TOO_LONG\\\",\\n      \\\"detail\\\": \\\"Field must not be greater than 45 length\\\",\\n      \\\"field\\\": \\\"idempotency_key\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"VALUE_TOO_LONG\",\"detail\":\"Field must not be greater than 45 length\",\"field\":\"idempotency_key\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
          "createdAt": "2026-07-03T14:41:28.209Z"
        }
      ]
    },
    {
      "id": "cmr518ukr0000qdl084n6w3v3",
      "orderNumber": "ELIT-89156184-261",
      "customerName": "Muammer Yigit Yilmaz",
      "customerEmail": "yigit.yilmaz.pax@gmail.com",
      "customerPhone": "01729365049",
      "billingAddress": "Laerholzstraße 9A-112",
      "shippingAddress": "Laerholzstraße 9A-112",
      "subtotal": "8520",
      "supplierTotal": "7668",
      "markupTotal": "852",
      "grandTotal": "8520",
      "paymentMethod": "SQUARE",
      "paymentStatus": "FAILED",
      "fulfillmentStatus": "NEW",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-03T14:32:36.555Z",
      "updatedAt": "2026-07-03T14:32:36.555Z",
      "items": [
        {
          "id": "cmr518ukt0002qdl0lkkcn4u7",
          "orderId": "cmr518ukr0000qdl084n6w3v3",
          "productId": "cmr3olw750018qdestkr6tao0",
          "productNameSnapshot": "Gold Krugerrand 1 oz",
          "supplierId": "cmr3olw0d0004qdesj12mudg7",
          "supplierPriceSnapshot": "3834",
          "totalSalePriceSnapshot": "4260",
          "quantity": 2,
          "createdAt": "2026-07-03T14:32:36.555Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr518ukt0003qdl0ecf5gw8d",
          "orderId": "cmr518ukr0000qdl084n6w3v3",
          "servicePaymentId": null,
          "provider": "SQUARE",
          "status": "FAILED",
          "amount": "8520",
          "currency": "USD",
          "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"VALUE_TOO_LONG\\\",\\n      \\\"detail\\\": \\\"Field must not be greater than 45 length\\\",\\n      \\\"field\\\": \\\"idempotency_key\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"VALUE_TOO_LONG\",\"detail\":\"Field must not be greater than 45 length\",\"field\":\"idempotency_key\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
          "createdAt": "2026-07-03T14:32:36.555Z"
        }
      ]
    },
    {
      "id": "cmr3olw9r002pqdesukqlbb7i",
      "orderNumber": "ELIT-DEMO-1001",
      "customerName": "Demo Customer",
      "customerEmail": "customer@example.com",
      "customerPhone": "555-0100",
      "billingAddress": "100 Market Street, New York, NY",
      "shippingAddress": "100 Market Street, New York, NY",
      "subtotal": "216",
      "supplierTotal": "194.4",
      "markupTotal": "21.60000000000002",
      "grandTotal": "216",
      "paymentMethod": "MOCK",
      "paymentStatus": "PAID",
      "fulfillmentStatus": "REVIEWED",
      "trackingNumber": null,
      "adminNotes": null,
      "createdAt": "2026-07-02T15:51:04.095Z",
      "updatedAt": "2026-07-02T15:51:04.095Z",
      "items": [
        {
          "id": "cmr3olw9r002rqdesi3sw13yh",
          "orderId": "cmr3olw9r002pqdesukqlbb7i",
          "productId": "cmr3olw5y000mqdesj9a36x1x",
          "productNameSnapshot": "1 Gram 24k Gold Bar - Nadir",
          "supplierId": "cmr3olw0b0001qdesols9vq1w",
          "supplierPriceSnapshot": "133.2",
          "totalSalePriceSnapshot": "148",
          "quantity": 1,
          "createdAt": "2026-07-02T15:51:04.095Z"
        },
        {
          "id": "cmr3olw9r002sqdesuri80ztt",
          "orderId": "cmr3olw9r002pqdesukqlbb7i",
          "productId": "cmr3olw7p001iqdeszzvw5ra0",
          "productNameSnapshot": "1 oz Silver Round",
          "supplierId": "cmr3olw0d0008qdeskccq1abh",
          "supplierPriceSnapshot": "61.2",
          "totalSalePriceSnapshot": "68",
          "quantity": 1,
          "createdAt": "2026-07-02T15:51:04.095Z"
        }
      ],
      "paymentLogs": [
        {
          "id": "cmr3olw9u002uqdes42o9fifu",
          "orderId": "cmr3olw9r002pqdesukqlbb7i",
          "servicePaymentId": null,
          "provider": "MOCK",
          "status": "PAID",
          "amount": "216",
          "currency": "USD",
          "rawResponse": "{\"seed\":true}",
          "createdAt": "2026-07-02T15:51:04.099Z"
        }
      ]
    }
  ],
  "orderItems": [
    {
      "id": "cmr6gfk2l0002qdxw39u7lv8k",
      "orderId": "cmr6gfk2l0000qdxwj6bu4b8y",
      "productId": "cmr3olw7p001iqdeszzvw5ra0",
      "productNameSnapshot": "1 oz Silver Round",
      "supplierId": "cmr3olw0d0008qdeskccq1abh",
      "supplierPriceSnapshot": "61.2",
      "totalSalePriceSnapshot": "68",
      "quantity": 1,
      "createdAt": "2026-07-04T14:25:29.949Z"
    },
    {
      "id": "cmr6f2rxx0002qdhwstkddzll",
      "orderId": "cmr6f2rxw0000qdhwv02oopn0",
      "productId": "cmr3olw8k0020qdessfil7py9",
      "productNameSnapshot": "Silver Collectible Round",
      "supplierId": "cmr3olw0d0009qdesgfrj8v2d",
      "supplierPriceSnapshot": "139.5",
      "totalSalePriceSnapshot": "155",
      "quantity": 2,
      "createdAt": "2026-07-04T13:47:34.004Z"
    },
    {
      "id": "cmr58xw860006qdn07606du8s",
      "orderId": "cmr58xw860004qdn0gtfo6cme",
      "productId": "cmr3olw8q0024qdes3jp8pobq",
      "productNameSnapshot": "Silver Starter Kit",
      "supplierId": "cmr3olw0d0005qdes5h4nnqdq",
      "supplierPriceSnapshot": "594",
      "totalSalePriceSnapshot": "660",
      "quantity": 2,
      "createdAt": "2026-07-03T18:08:02.407Z"
    },
    {
      "id": "cmr52jwib0002qd7ggxusnneg",
      "orderId": "cmr52jwib0000qd7gh1f92xdv",
      "productId": "cmr3olw6w0014qdes91pcbb1q",
      "productNameSnapshot": "Gold Collectible Coin - Royal Mint",
      "supplierId": "cmr3olw0d0006qdestshj9jd4",
      "supplierPriceSnapshot": "4045.5",
      "totalSalePriceSnapshot": "4495",
      "quantity": 2,
      "createdAt": "2026-07-03T15:09:11.892Z"
    },
    {
      "id": "cmr523pww0002qdbs46893tip",
      "orderId": "cmr523pww0000qdbsabh1cuv4",
      "productId": "cmr3olw750018qdestkr6tao0",
      "productNameSnapshot": "Gold Krugerrand 1 oz",
      "supplierId": "cmr3olw0d0004qdesj12mudg7",
      "supplierPriceSnapshot": "3834",
      "totalSalePriceSnapshot": "4260",
      "quantity": 2,
      "createdAt": "2026-07-03T14:56:36.848Z"
    },
    {
      "id": "cmr51ulss0002qdagw16jw7lt",
      "orderId": "cmr51ulsr0000qdagqy50mcbi",
      "productId": "cmr3olw750018qdestkr6tao0",
      "productNameSnapshot": "Gold Krugerrand 1 oz",
      "supplierId": "cmr3olw0d0004qdesj12mudg7",
      "supplierPriceSnapshot": "3834",
      "totalSalePriceSnapshot": "4260",
      "quantity": 2,
      "createdAt": "2026-07-03T14:49:31.611Z"
    },
    {
      "id": "cmr51k8sx0006qdl07951oxg8",
      "orderId": "cmr51k8sx0004qdl0ywt631wm",
      "productId": "cmr3olw750018qdestkr6tao0",
      "productNameSnapshot": "Gold Krugerrand 1 oz",
      "supplierId": "cmr3olw0d0004qdesj12mudg7",
      "supplierPriceSnapshot": "3834",
      "totalSalePriceSnapshot": "4260",
      "quantity": 2,
      "createdAt": "2026-07-03T14:41:28.209Z"
    },
    {
      "id": "cmr518ukt0002qdl0lkkcn4u7",
      "orderId": "cmr518ukr0000qdl084n6w3v3",
      "productId": "cmr3olw750018qdestkr6tao0",
      "productNameSnapshot": "Gold Krugerrand 1 oz",
      "supplierId": "cmr3olw0d0004qdesj12mudg7",
      "supplierPriceSnapshot": "3834",
      "totalSalePriceSnapshot": "4260",
      "quantity": 2,
      "createdAt": "2026-07-03T14:32:36.555Z"
    },
    {
      "id": "cmr3olw9r002rqdesi3sw13yh",
      "orderId": "cmr3olw9r002pqdesukqlbb7i",
      "productId": "cmr3olw5y000mqdesj9a36x1x",
      "productNameSnapshot": "1 Gram 24k Gold Bar - Nadir",
      "supplierId": "cmr3olw0b0001qdesols9vq1w",
      "supplierPriceSnapshot": "133.2",
      "totalSalePriceSnapshot": "148",
      "quantity": 1,
      "createdAt": "2026-07-02T15:51:04.095Z"
    },
    {
      "id": "cmr3olw9r002sqdesuri80ztt",
      "orderId": "cmr3olw9r002pqdesukqlbb7i",
      "productId": "cmr3olw7p001iqdeszzvw5ra0",
      "productNameSnapshot": "1 oz Silver Round",
      "supplierId": "cmr3olw0d0008qdeskccq1abh",
      "supplierPriceSnapshot": "61.2",
      "totalSalePriceSnapshot": "68",
      "quantity": 1,
      "createdAt": "2026-07-02T15:51:04.095Z"
    }
  ],
  "paymentLogs": [
    {
      "id": "cmr6gfk2l0003qdxwy2k7e5my",
      "orderId": "cmr6gfk2l0000qdxwj6bu4b8y",
      "servicePaymentId": null,
      "provider": "PAYPAL",
      "status": "FAILED",
      "amount": "68",
      "currency": "USD",
      "rawResponse": "{\"paypalOrderId\":\"3DU09476HN422214B\",\"status\":\"CANCELLED\",\"message\":\"Customer cancelled PayPal checkout.\"}",
      "createdAt": "2026-07-04T14:25:29.949Z"
    },
    {
      "id": "cmr6f2rxx0003qdhwqlkrtga0",
      "orderId": "cmr6f2rxw0000qdhwv02oopn0",
      "servicePaymentId": null,
      "provider": "PAYPAL",
      "status": "FAILED",
      "amount": "310",
      "currency": "USD",
      "rawResponse": "{\"environment\":\"sandbox\",\"order\":{\"id\":\"2C99362571831692T\",\"status\":\"PAYER_ACTION_REQUIRED\"},\"error\":{\"message\":\"PayPal approval link was not returned.\"}}",
      "createdAt": "2026-07-04T13:47:34.004Z"
    },
    {
      "id": "cmr58xw870007qdn0ge1kazn0",
      "orderId": "cmr58xw860004qdn0gtfo6cme",
      "servicePaymentId": null,
      "provider": "SQUARE",
      "status": "FAILED",
      "amount": "1320",
      "currency": "USD",
      "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Square payment request failed.\",\"errors\":[{\"category\":\"PAYMENT_METHOD_ERROR\",\"code\":\"GENERIC_DECLINE\",\"detail\":\"Authorization error: 'GENERIC_DECLINE'\"}]}}",
      "createdAt": "2026-07-03T18:08:02.407Z"
    },
    {
      "id": "cmr52jwib0003qd7gspnnizlo",
      "orderId": "cmr52jwib0000qd7gh1f92xdv",
      "servicePaymentId": null,
      "provider": "SQUARE",
      "status": "PAID",
      "amount": "8990",
      "currency": "USD",
      "rawResponse": "{\"environment\":\"sandbox\",\"payment\":{\"id\":\"XBTU2PcN5IQ9LVOfW1IKUsuRG18YY\",\"status\":\"COMPLETED\",\"sourceType\":\"CARD\",\"orderId\":\"MxPVVIRYpZPWLm4WHLM4G8RGoqNZY\",\"receiptNumber\":\"XBTU\",\"cardStatus\":\"CAPTURED\",\"cardBrand\":\"VISA\",\"last4\":\"1111\",\"totalMoney\":{\"amount\":\"899000\",\"currency\":\"USD\"}}}",
      "createdAt": "2026-07-03T15:09:11.892Z"
    },
    {
      "id": "cmr523pww0003qdbs3uq8h3uz",
      "orderId": "cmr523pww0000qdbsabh1cuv4",
      "servicePaymentId": null,
      "provider": "SQUARE",
      "status": "FAILED",
      "amount": "8520",
      "currency": "USD",
      "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"BAD_REQUEST\\\",\\n      \\\"detail\\\": \\\"Not authorized to take payments with location_id=LPOQMW\\\",\\n      \\\"field\\\": \\\"location_id\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"BAD_REQUEST\",\"detail\":\"Not authorized to take payments with location_id=LPOQMW\",\"field\":\"location_id\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
      "createdAt": "2026-07-03T14:56:36.848Z"
    },
    {
      "id": "cmr51ulss0003qdago2kmyewu",
      "orderId": "cmr51ulsr0000qdagqy50mcbi",
      "servicePaymentId": null,
      "provider": "SQUARE",
      "status": "FAILED",
      "amount": "8520",
      "currency": "USD",
      "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"INVALID_PHONE_NUMBER\\\",\\n      \\\"detail\\\": \\\"buyer_phone_number is not valid\\\",\\n      \\\"field\\\": \\\"buyer_phone_number\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    },\\n    {\\n      \\\"code\\\": \\\"BAD_REQUEST\\\",\\n      \\\"detail\\\": \\\"Not authorized to take payments with location_id= LPOQMW\\\",\\n      \\\"field\\\": \\\"location_id\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"INVALID_PHONE_NUMBER\",\"detail\":\"buyer_phone_number is not valid\",\"field\":\"buyer_phone_number\",\"category\":\"INVALID_REQUEST_ERROR\"},{\"code\":\"BAD_REQUEST\",\"detail\":\"Not authorized to take payments with location_id= LPOQMW\",\"field\":\"location_id\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
      "createdAt": "2026-07-03T14:49:31.611Z"
    },
    {
      "id": "cmr51k8sx0007qdl02j3ays6z",
      "orderId": "cmr51k8sx0004qdl0ywt631wm",
      "servicePaymentId": null,
      "provider": "SQUARE",
      "status": "FAILED",
      "amount": "8520",
      "currency": "USD",
      "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"VALUE_TOO_LONG\\\",\\n      \\\"detail\\\": \\\"Field must not be greater than 45 length\\\",\\n      \\\"field\\\": \\\"idempotency_key\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"VALUE_TOO_LONG\",\"detail\":\"Field must not be greater than 45 length\",\"field\":\"idempotency_key\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
      "createdAt": "2026-07-03T14:41:28.209Z"
    },
    {
      "id": "cmr518ukt0003qdl0ecf5gw8d",
      "orderId": "cmr518ukr0000qdl084n6w3v3",
      "servicePaymentId": null,
      "provider": "SQUARE",
      "status": "FAILED",
      "amount": "8520",
      "currency": "USD",
      "rawResponse": "{\"environment\":\"sandbox\",\"error\":{\"name\":\"Error\",\"statusCode\":400,\"message\":\"Status code: 400\\nBody: {\\n  \\\"errors\\\": [\\n    {\\n      \\\"code\\\": \\\"VALUE_TOO_LONG\\\",\\n      \\\"detail\\\": \\\"Field must not be greater than 45 length\\\",\\n      \\\"field\\\": \\\"idempotency_key\\\",\\n      \\\"category\\\": \\\"INVALID_REQUEST_ERROR\\\"\\n    }\\n  ]\\n}\",\"body\":{\"errors\":[{\"code\":\"VALUE_TOO_LONG\",\"detail\":\"Field must not be greater than 45 length\",\"field\":\"idempotency_key\",\"category\":\"INVALID_REQUEST_ERROR\"}]}}}",
      "createdAt": "2026-07-03T14:32:36.555Z"
    },
    {
      "id": "cmr3olw9u002uqdes42o9fifu",
      "orderId": "cmr3olw9r002pqdesukqlbb7i",
      "servicePaymentId": null,
      "provider": "MOCK",
      "status": "PAID",
      "amount": "216",
      "currency": "USD",
      "rawResponse": "{\"seed\":true}",
      "createdAt": "2026-07-02T15:51:04.099Z"
    }
  ],
  "contactTickets": [
    {
      "id": "cmr5hmlil0002qd6c7fxmjtgj",
      "fullName": "Smoke Test Support",
      "email": "support-1783116670742@example.com",
      "phone": "555-1000",
      "subject": "Smoke Test 1783116670742",
      "message": "Smoke test support message.",
      "attachmentUrl": "https://example.com/test.pdf",
      "status": "NEW",
      "createdAt": "2026-07-03T22:11:11.853Z",
      "updatedAt": "2026-07-03T22:11:11.853Z"
    },
    {
      "id": "cmr3olwa6002yqdesup8iwhpp",
      "fullName": "Support User",
      "email": "support-user@example.com",
      "phone": "555-0500",
      "subject": "Order question",
      "message": "Please confirm fulfillment review timing.",
      "attachmentUrl": null,
      "status": "NEW",
      "createdAt": "2026-07-02T15:51:04.111Z",
      "updatedAt": "2026-07-02T15:51:04.111Z"
    }
  ],
  "sellBackRequests": [
    {
      "id": "cmr5hmlid0001qd6cu7ku6mdq",
      "fullName": "Smoke Test Seller",
      "email": "seller-1783116670742@example.com",
      "phone": "555-1001",
      "productType": "Gold Bar",
      "weight": "1 oz",
      "mintBrand": "Test Mint",
      "serialNumber": "SER123",
      "purchaseDate": "2025-01-01T00:00:00.000Z",
      "purchaseSource": "Test Source",
      "condition": "Excellent",
      "packagingCondition": "Sealed",
      "photoUrls": "https://example.com/photo.jpg",
      "ownershipDeclarationAccepted": true,
      "amlKycAccepted": true,
      "bankDetailsForPayout": "Demo payout details",
      "signature": "Smoke Test Seller",
      "status": "NEW",
      "adminNotes": null,
      "createdAt": "2026-07-03T22:11:11.846Z",
      "updatedAt": "2026-07-03T22:11:11.846Z"
    },
    {
      "id": "cmr3olwa3002xqdesyjggf918",
      "fullName": "Seller One",
      "email": "seller@example.com",
      "phone": "555-0400",
      "productType": "Gold Bar",
      "weight": "1 oz",
      "mintBrand": "PAMP Suisse",
      "serialNumber": null,
      "purchaseDate": null,
      "purchaseSource": null,
      "condition": "Excellent",
      "packagingCondition": "Sealed",
      "photoUrls": null,
      "ownershipDeclarationAccepted": true,
      "amlKycAccepted": true,
      "bankDetailsForPayout": "Demo bank details",
      "signature": "Seller One",
      "status": "NEW",
      "adminNotes": null,
      "createdAt": "2026-07-02T15:51:04.108Z",
      "updatedAt": "2026-07-02T15:51:04.108Z"
    }
  ],
  "iraTrustApplications": [
    {
      "id": "cmr5hmli80000qd6cg4o1ipsz",
      "fullName": "Smoke Test IRA",
      "email": "ira-1783116670742@example.com",
      "phone": "555-1002",
      "dateOfBirth": "1985-01-01T00:00:00.000Z",
      "citizenshipStatus": "U.S. Citizen",
      "ssnOptional": "",
      "address": "100 Smoke Test Ave",
      "accountType": "Traditional IRA",
      "investmentPreference": "Gold",
      "storagePreference": "Allocated Storage",
      "custodianPartner": "Equity Trust",
      "amlKycAccepted": true,
      "custodianAgreementAccepted": true,
      "storageAgreementAccepted": true,
      "serviceAgreementAccepted": true,
      "status": "NEW",
      "adminNotes": null,
      "createdAt": "2026-07-03T22:11:11.840Z",
      "updatedAt": "2026-07-03T22:11:11.840Z"
    },
    {
      "id": "cmr3olw9z002wqdesc2udkx4e",
      "fullName": "IRA Prospect",
      "email": "ira@example.com",
      "phone": "555-0300",
      "dateOfBirth": "1980-01-01T00:00:00.000Z",
      "citizenshipStatus": "U.S. Citizen",
      "ssnOptional": null,
      "address": "200 Trust Ave",
      "accountType": "Traditional IRA",
      "investmentPreference": "Both",
      "storagePreference": "Custodian-Approved Vault",
      "custodianPartner": "Equity Trust",
      "amlKycAccepted": true,
      "custodianAgreementAccepted": true,
      "storageAgreementAccepted": true,
      "serviceAgreementAccepted": true,
      "status": "NEW",
      "adminNotes": null,
      "createdAt": "2026-07-02T15:51:04.104Z",
      "updatedAt": "2026-07-02T15:51:04.104Z"
    }
  ],
  "servicePayments": [
    {
      "id": "cmr3olw9x002vqdes39iw7307",
      "customerName": "Service Client",
      "customerEmail": "service@example.com",
      "customerPhone": "555-0200",
      "serviceType": "Trust Application Support",
      "amount": "149",
      "paymentMethod": "MOCK",
      "paymentStatus": "PAID",
      "agreementAccepted": true,
      "createdAt": "2026-07-02T15:51:04.101Z",
      "updatedAt": "2026-07-02T15:51:04.101Z",
      "paymentLogs": []
    }
  ],
  "productsAffectedByInventoryRestore": [
    {
      "id": "cmr3olw5y000mqdesj9a36x1x",
      "name": "1 Gram 24k Gold Bar - Nadir",
      "stockQuantity": 4,
      "stockStatus": "LOW_STOCK",
      "inventoryStatus": "LOW_STOCK"
    },
    {
      "id": "cmr3olw6w0014qdes91pcbb1q",
      "name": "Gold Collectible Coin - Royal Mint",
      "stockQuantity": 19,
      "stockStatus": "IN_STOCK",
      "inventoryStatus": "IN_STOCK"
    },
    {
      "id": "cmr3olw7p001iqdeszzvw5ra0",
      "name": "1 oz Silver Round",
      "stockQuantity": 28,
      "stockStatus": "IN_STOCK",
      "inventoryStatus": "IN_STOCK"
    }
  ]
}