v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
CallOffOrderRule

Evaluates an enabled rule and returns the paged list of matching

Call-Off Order ids. Optionally AND-composes the rule expression with a statusFilter to scope results to a single status.

post/commerce/rules/callOffOrder/{code}/evaluate

Path parameters

codestring required

The rule's tenant-unique code.

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

pageSizeinteger nullable

Requested page size. Defaults to 50 when omitted. Values above 200 are silently clamped to 200 per FR-009.

pageTokenstring nullable

Opaque cursor returned by a prior response's NextPageToken. Null on the first page.

statusFilterstring nullable

Optional Call-Off Order status (e.g. "Hold") AND-composed with the rule predicate at evaluation time.

Response

OK

callOffOrderIdsstring[] nullable

Matched Call-Off Order ids, up to PageSize, ordered by _id ascending.

nextPageTokenstring nullable

Cursor for the next page; null when this is the last page.

ruleCodestring nullable

Echoed input rule code for client correlation.

totalCountinteger

Total number of matching orders across all pages (not capped at PageSize).