cancel_lot
Return unsold units by canceling your lot. Specify the return shipment chain for open lots; omit for draft lots.
Instructions
Withdraw your lot; unsold units return to you. Requires a session. For an OPEN lot pass chain = [hub, ...waypoints, your destination cell] (the return shipment); omit chain only for a DRAFT lot (nothing has shipped yet). A return through a foreign Hub costs $CPU — auto-approved and paid on-chain — otherwise it is free. Track with list_my_lots / get_lot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lotId | Yes | The lot id to cancel (must be yours). | |
| chain | No | [hub, ...waypoints, destination] for the return shipment — REQUIRED to cancel an OPEN lot; omit for a DRAFT lot (nothing has shipped yet). |