Skip to content

POST /oms/export-brokerage/jobs/cancel

OMS > oms.outbound-order

What it does

/oms/export-brokerage/jobs/cancel accepts POST and is declared in app/systems/OMS/export-brokerage/api_routes.php:1081 as a path.

The route handler delegates to oms_export_brokerage_api_assert_workflow_enabled(). That function is the owner of this behaviour; the route entry is only dispatch.

Call chain:

  1. → oms_export_brokerage_api_assert_workflow_enabled() — app/systems/OMS/export-brokerage/api_routes.php:20
  2. ↳ tenant_export_brokerage_workflow_enabled() — app/platform/tenant/config_helper.php:760
  3. ↳ tenant_config_get_bool() — app/platform/tenant/config_helper.php:730

Who calls it

Called from:

  • frontend/pages/system/OMS/export-brokerage/mk-export-brokerage.php

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

The response is produced by a shared helper, so the key set is not visible at the route. Read the owner function to confirm the shape before writing a client.

Data

No table reference is visible in the owner function body.

Access

  • module-gated on oms.outbound-order, so tenant module access applies