facets property.curl --location --request POST 'https://api.managem.co.uk/search/hierarchy//' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "string",
"filters": [
{
"property1": null,
"property2": null
}
],
"facets": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"from": 0,
"size": 25,
"sorting": {
"field": "name",
"order": "asc"
}
}'{
"total": 0,
"hits": [
{
"urn": "string",
"type": "card",
"game": "Pokemon",
"title": "string",
"name": "string",
"rarity": "string",
"number": "string",
"description": "string",
"set": {
"name": "string",
"size": 0,
"urn": "string",
"counts": {
"printed": 0,
"total": 0
},
"symbol": {
"url": "string"
},
"released": "string",
"references": [
"string"
]
},
"series": {
"name": "string",
"urn": "string"
},
"images": [
{
"urn": "string",
"illustrator": "string",
"url": "http://example.com"
}
],
"price": 0,
"available": 0,
"quantity": 0,
"min": {
"id": "string",
"sellerId": "string",
"price": 0
},
"max": {
"id": "string",
"sellerId": "string",
"price": 0
}
}
],
"facets": {
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
}
}