Skip to content

InventoryActivity

Type: schema

TypeScript Definition

typescript
InventoryActivity: {{
            product_id?: string;
            product_name?: string;
            variant_id?: string;
            variant_name?: string;
            sku?: string;
            warehouse_id?: string;
            warehouse?: components["schemas"]["WarehouseBasicDetail"];
            /** @enum {unknown} */
            activity_type?: "add" | "reserve" | "reduce" | "adjust" | "update";
            quantity?: number;
            reason?: string;
            lot_batch?: string;
            /** Format: date */
            mfg_date?: string;
            /** Format: date */
            exp_date?: string;
            manufacturer?: string;
            /** Format: date-time */
            created_at?: string;
            /** Format: date-time */
            modified_at?: string;
        };
        /** InventoryDetail */
}

Component References

ReferenceResolves To
components["schemas"]["WarehouseBasicDetail"]WarehouseBasicDetail

OpenAPI Schema

json
{
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string"
    },
    "product_name": {
      "type": "string"
    },
    "variant_id": {
      "type": "string"
    },
    "variant_name": {
      "type": "string"
    },
    "sku": {
      "type": "string"
    },
    "warehouse_id": {
      "type": "string"
    },
    "warehouse": {
      "$ref": "#/components/schemas/WarehouseBasicDetail"
    },
    "activity_type": {
      "enum": [
        "add",
        "reserve",
        "reduce",
        "adjust",
        "update"
      ]
    },
    "quantity": {
      "type": "integer"
    },
    "reason": {
      "type": "string",
      "maxLength": 512
    },
    "lot_batch": {
      "type": "string"
    },
    "mfg_date": {
      "type": "string",
      "format": "date"
    },
    "exp_date": {
      "type": "string",
      "format": "date"
    },
    "manufacturer": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "modified_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "title": "InventoryActivity",
  "x-tags": [
    "Catalog"
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: