PlutocracyMercury developer docs

PageQuery

Query parameters the bundle sends to the collection and search routes. All strings on the wire.

Type: object

FieldTypeDescription
takestring

Page size, 1-50. The bundle never sends page/pageNumber.

skipstring

Offset, >= 0.

sort optionalstring
query optionalstring

JSON-encoded QueryClause[].

bypassToken optionalstring
currency optionalstring
grid_config optional"1"

"1" to include grid_config in the response. Never "false".

Example (illustrative)
{
  "take": "string",
  "skip": "string",
  "sort": "newest",
  "query": "linen",
  "bypassToken": "<token>",
  "currency": "AUD",
  "grid_config": "1"
}

Declared in api-types/src/kit-contract/v1/search-api.ts.