Skip to content

inventory.pickup_discrepancy

The driver pickup count was short at Baúl pickup time — Caracol surfaces a banner so the user can accept_short_pickup or dispute. Carries per-product expected vs actual counts.

Senders

  • baul

Receivers

  • caracol

Data schema

Each field maps to a type hint. | null indicates an optional field.

json
{
  "baulDeliveryOrderId": "string",
  "externalOrderId": "string (Caracol movementId or saleId)",
  "expectedCount": "number",
  "pickupCount": "number",
  "discrepantItems": "Array<{ productId: string; expected: number; actual: number }>"
}

Example payload

The following is a synthetic payload that matches the schema. Production payloads are signed with HMAC-SHA256 and delivered to each receiver's registered webhook endpoint.

json
{
  "baulDeliveryOrderId": "example-baulDeliveryOrderId",
  "externalOrderId": "example-externalOrderId",
  "expectedCount": 0,
  "pickupCount": 0,
  "discrepantItems": "example-discrepantItems"
}

See also


Generated from ecosystem-sdk/packages/mcp-server/src/registry/events.json. Do not edit by hand.

Red Broom Software Ecosystem