Skip to content

ShipmentItem

Type: schema

Description

Shipment item model

TypeScript Definition

typescript
ShipmentItem: {{
            product_id: string;
            product_name?: $Read<string>;
            variant_id: string | null;
            variant_name?: $Read<string | null>;
            product_image_url?: $Read<string | null>;
            sku?: $Read<string>;
            quantity: number;
            free_quantity?: number;
            is_free_item?: $Read<boolean>;
            /** Format: double */
            selling_price?: number;
        };
        /** ShipmentList */
}

OpenAPI Schema

json
{
  "description": "Shipment item model",
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string"
    },
    "product_name": {
      "type": "string",
      "readOnly": true
    },
    "variant_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "variant_name": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "product_image_url": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "sku": {
      "type": "string",
      "readOnly": true
    },
    "quantity": {
      "type": "integer"
    },
    "free_quantity": {
      "type": "integer"
    },
    "is_free_item": {
      "type": "boolean",
      "readOnly": true
    },
    "selling_price": {
      "type": "number",
      "format": "double"
    }
  },
  "required": [
    "product_id",
    "variant_id",
    "quantity"
  ],
  "title": "ShipmentItem"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: