jef-store-carts

Source

  • Repository: jef-systems/jef-store-backend

  • Table: jef-store-carts

  • Schema path: dynamodb/jef-store-carts/schema.json

  • Commit: 99b0887e35e946655c1cd3b2fc261423c6ac470e

  • Generated at: 2026-04-29T12:13:10Z

Attributes

{
  "cart_id": "string",
  "entity_number": "string",
  "employee_number": "string",
  "customer": "string",
  "buyer_name": "string",
  "buyer_phone": "string",
  "channel": "string",
  "source": "string",
  "status": "string",
  "items": [
    {
      "jsin": "string",
      "barcode": "string",
      "name": "string",
      "category": "string",
      "unit_label": "string",
      "quantity": "number",
      "price": "number",
      "line_total": "number"
    }
  ],
  "total_lines": "number",
  "total_quantity": "number",
  "subtotal": "number",
  "discount": "number",
  "shipping_fee": "number",
  "grand_total": "number",
  "total_amount": "number",
  "delivery_mode": "string",
  "delivery_address": "string",
  "notes": "string",
  "converted_order_id": "string",
  "converted_order_number": "string",
  "created_at": "string",
  "updated_at": "string",
  "expires_at": "string",
  "converted_at": "string",
  "cancelled_at": "string",
  "deleted_at": "string",
  "local_version": "number",
  "sync_status": "string",
  "idempotency_key": "string"
}

Main Index

{
  "pk": "cart_id"
}

Raw Schema

{
  "table": "jef-store-carts",
  "attributes": {
    "cart_id": "string",
    "entity_number": "string",
    "employee_number": "string",
    "customer": "string",
    "buyer_name": "string",
    "buyer_phone": "string",
    "channel": "string",
    "source": "string",
    "status": "string",
    "items": [
      {
        "jsin": "string",
        "barcode": "string",
        "name": "string",
        "category": "string",
        "unit_label": "string",
        "quantity": "number",
        "price": "number",
        "line_total": "number"
      }
    ],
    "total_lines": "number",
    "total_quantity": "number",
    "subtotal": "number",
    "discount": "number",
    "shipping_fee": "number",
    "grand_total": "number",
    "total_amount": "number",
    "delivery_mode": "string",
    "delivery_address": "string",
    "notes": "string",
    "converted_order_id": "string",
    "converted_order_number": "string",
    "created_at": "string",
    "updated_at": "string",
    "expires_at": "string",
    "converted_at": "string",
    "cancelled_at": "string",
    "deleted_at": "string",
    "local_version": "number",
    "sync_status": "string",
    "idempotency_key": "string"
  },
  "main_index": {
    "pk": "cart_id"
  },
  "gsi_1": {
    "gsi_1_pk": "status",
    "gsi_1_sk": "updated_at"
  }
}