PackLineItemsRequest

CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada

Properties

Name Type Description
line_items array The line items to be packed
version integer The current version number of the fulfillment.
View JSON Schema on GitHub

JSON Schema

lightspeed-pack-line-items-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-pack-line-items-request-schema.json",
  "title": "PackLineItemsRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-fulfillments-api-openapi.yml#/components/schemas/PackLineItemsRequest",
  "properties": {
    "line_items": {
      "description": "The line items to be packed",
      "items": {
        "$ref": "#/$defs/PackLineItemRequest"
      },
      "type": "array"
    },
    "version": {
      "description": "The current version number of the fulfillment.",
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "version",
    "line_items"
  ],
  "type": "object",
  "$defs": {
    "PackLineItemRequest": {
      "properties": {
        "quantity": {
          "description": "The quantity to be packed",
          "format": "double",
          "type": "number"
        },
        "sale_line_item_id": {
          "description": "The unique identifier of the sale line item to be packed.",
          "format": "uuid",
          "type": "string"
        },
        "source_breakdown": {
          "$ref": "#/$defs/PackLineItemSourceBreakdown"
        }
      },
      "required": [
        "sale_line_item_id",
        "quantity"
      ],
      "type": "object"
    },
    "PackLineItemSourceBreakdown": {
      "description": "Specifies how a packing quantity should be sourced. When provided, both fields are required and must sum to the parent quantity. Source breakdown is not allowed when the parent quantity is negative (unpacking).",
      "properties": {
        "quantity_from_not_started": {
          "description": "Quantity to source from the not-started state.",
          "format": "double",
          "type": "number"
        },
        "quantity_from_picked": {
          "description": "Quantity to source from the picked state.",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "quantity_from_picked",
        "quantity_from_not_started"
      ],
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lightspeed-pack-line-items-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.