Skip to content

ItemWiseInventory

Type: schema

TypeScript Definition

typescript
ItemWiseInventory: {{
            product_id?: string;
            product_name?: string;
            variant_id?: string;
            variant_name?: string;
            sku?: string;
            track_quantity?: boolean;
            allow_backorder?: boolean;
            track_lot_batch?: boolean;
            /** Format: decimal */
            low_stock_threshold?: number;
            /** Format: decimal */
            received_quantity?: number;
            /** Format: decimal */
            reserved_quantity?: number;
            /** Format: decimal */
            sold_quantity?: number;
            /** Format: decimal */
            adjusted_quantity?: number;
            /** Format: decimal */
            stock_quantity?: number;
            images?: components["schemas"]["ProductImage"][];
        };
        /** @enum {unknown} */
}

Component References

ReferenceResolves To
components["schemas"]["ProductImage"]ProductImage

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"
    },
    "track_quantity": {
      "type": "boolean"
    },
    "allow_backorder": {
      "type": "boolean"
    },
    "track_lot_batch": {
      "type": "boolean"
    },
    "low_stock_threshold": {
      "type": "number",
      "format": "decimal"
    },
    "received_quantity": {
      "type": "number",
      "format": "decimal"
    },
    "reserved_quantity": {
      "type": "number",
      "format": "decimal"
    },
    "sold_quantity": {
      "type": "number",
      "format": "decimal"
    },
    "adjusted_quantity": {
      "type": "number",
      "format": "decimal"
    },
    "stock_quantity": {
      "type": "number",
      "format": "decimal"
    },
    "images": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProductImage"
      }
    }
  },
  "title": "ItemWiseInventory"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: