RedisPricesMap
The prices field of redis/rendered products: keyed by uppercase currency
code. When a currency query param is supplied, mapOutput narrows the
map to ONLY that currency's key ({ [currency]: prices[currency] }).
Type: { [key]: RedisPriceEntry }
| Field | Type | Description |
|---|---|---|
[key: string] | RedisPriceEntry | Any further keys. |
Example (illustrative)
{
"AUD": {
"price": 89,
"compare_at_price": 89
}
}Used by
- GET
/search/collection/{handle} - GET
/search/product/{handles} - GET
/search/query/{term} - GET
/zone/query - POST
/zone/query - GET
/zone/query/{id} - POST
/zone/query/{id}
Declared in api-types/src/models/product.ts.