GET /oms/inbound-orders/commodity-rate-options¶
What it does¶
/oms/inbound-orders/commodity-rate-options accepts GET and is declared in app/systems/OMS/inbound-order/api_routes.php:121 as a path.
The route handler delegates to bmsRateCommodityOptions(). That function is the owner of
this behaviour; the route entry is only dispatch.
Who calls it¶
Called from:
frontend/pages/system/OMS/export-brokerage/mk-export-brokerage.phppublic/assets/js/modules/shared/mk-inbound-order-editor.js
A caller is the strongest available evidence of the intended use.
Input¶
No named input key is visible in the handler or its owner function. The endpoint
either takes no parameters or reads them through a shared helper in app/shared/api/.
Output¶
| Key |
|---|
COMMODITIES |
COMPANIES |
UOMS |
Success is { "data": …, "requestId": "…" }.
Failure is { "error": { "code", "message" }, "requestId": "…" }.
Data¶
Tables reached from the owner function:
T_COMMODITYT_COMPANY
Access¶
- module-gated on
oms.inbound-order, so tenant module access applies