Home > @poq/sdk-sfcc > ProductSearchRequestRefinements > toRecord
Method returns record with refinements.
Signature:
toRecord(): {
[k: `refine_${number}`]: string;
};
Returns:
{ [k: `refine_${number}`]: string; }
Return simple object with refinements.
value.toRecord();
// {
// refine_1: 'cgid=women',
// refine_2: 'price=(1..20)',
// }