Skip to main content

Save Send Lanes

PUT 

/api/send-planner/lanes

Create or update source → destination lanes: which of your warehouses may supply each network, in what priority order, and with what lead time. Each lane is upserted by its source and destination pair.

Required scope: send-plans:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Bearer Personal Access Token with the send-plans:write scope. The token's user also needs permission to edit the send planner.

Body fields:

  • lanes (array, required, max 200)
    • lanes[].source_warehouse_id (integer, required): must exist.
    • lanes[].destination_warehouse_id (integer, required): must exist.
    • lanes[].priority (integer, required, 1-1000): lower is tried first.
    • lanes[].enabled (boolean, required).
    • lanes[].lead_days_override (integer, 0-180, nullable).

Response: the full network list, as in List Send Networks.

Request​

Responses​

OK

Response Headers
    Content-Type