List Batch Records
Return price records associated with a batch (any status).
Hides the new_prices vs republish source-type difference from the
UI: for new_prices batches it returns every record linked by
batch_id; for republish batches it returns the records referenced
via referenced_record_keys. Unlike the worker’s
resolve_dispatch_records this does NOT filter by status
— the UI needs to show draft records too, otherwise the
table is empty for any pre-approval batch.
group_skip/group_limit are OPTIONAL and OFF by default. When
BOTH are omitted this returns the legacy return-all shape
({items, total}), byte-identical to before — the vendored SDK,
workers, and the current UI depend on that. When either is present,
the response switches to style-group pagination (Task H1): items are
enriched with product_name/brand/gender/product_type and the shape
gains total_groups/group_skip/group_limit.
search/status/gender/brand/sort_by/sort_dir
are only implemented on the grouped path. Supplying any of them
WITHOUT group pagination is a 400 rather than a silent no-op: the
legacy path returns every record in the batch, so ignoring a filter
would answer 200 with the exact opposite of what was asked for.
Path Parameters
Query Parameters
x >= 01 <= x <= 200200^(name|amount)$^(asc|desc)$Cookies
Response
Successful Response