Skip to content

PosFulfillmentItem ​

Type: schema

Description ​

A cart line and quantity assigned to pickup or delivery.

TypeScript Definition ​

typescript
PosFulfillmentItem: {{
            product_id: string;
            variant_id: string | null;
            quantity: number;
        };
        /**
         * PosFulfillmentPreference
         * @description The pickup and delivery choices for a POS cart.
         */
}

OpenAPI Schema ​

json
{
  "description": "A cart line and quantity assigned to pickup or delivery.",
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string",
      "minLength": 1,
      "pattern": "\\S"
    },
    "variant_id": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "pattern": "\\S"
    },
    "quantity": {
      "type": "integer",
      "minimum": 1
    }
  },
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/admin-pos/schemas/PosFulfillmentItem"
  },
  "required": [
    "product_id",
    "variant_id",
    "quantity"
  ],
  "title": "PosFulfillmentItem"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: