ffl_integrations.distributor.tasks¶
Source: apps/ffl_integrations/ffl_integrations/distributor/tasks.py · 1 endpoint(s)
Generated by
make api-docs— do not edit by hand.
poll_order_now¶
POST /api/method/ffl_integrations.distributor.tasks.poll_order_now
Auth (derived from code): Roles: Stock Manager / System Manager
Pull one Distributor Order's status from the house right now — the
"Check status now" button, for a parcel that beat the 30-minute poll.
Runs the same poll_order the scheduler runs (schedule advances as
usual); a non-pollable order (Draft, Complete, Cancelled…) is left alone.
| arg | type | required | default | description |
|---|---|---|---|---|
do_name |
string | yes | — | Distributor Order name. |
Returns: {name, status, receive_status, hold_status, lines} after the poll.
Permissions: Receive roles.
apps/ffl_integrations/ffl_integrations/distributor/tasks.py:440