curl --location -g --request GET '/v1/products/watches?metadata[metadata_created]=value_created' \
--header 'Authorization: Bearer {{token}}'{
"meta": {
"total": 2,
"from": 1,
"to": 2,
"current_page": 1,
"last_page": 1,
"per_page": 100,
"fields": [],
"trace_id": "0195cedc-b193-7096-8df4-e7104abf799d"
},
"data": [
{
"watch_id": "9e84ce37-63be-41cf-87ef-72465fb8ead2",
"name": " Testing Watch 01",
"target_type": "product",
"target_id": "1301920351976391947",
"status": "active",
"metadata": {
"key1": "value1",
"key16": "value16"
},
"rules": [
{
"field": "final_price",
"start_value": 9840,
"condition": "changed",
"threshold": {
"type": null,
"value": null
}
}
],
"notifications": [
{
"channel": "webhook",
"channel_target": "https://webhookhere.com",
"frequency": "immediately",
"enabled": true
}
]
},
{
"watch_id": "9e84ce38-336e-4923-aa55-d23630684e04",
"name": "Testing Watch 01",
"target_id": "1062900034486247121",
"status": "active",
"metadata": {
"key1": "value1",
"key16": "value16"
},
"rules": [
{
"field": "final_price",
"start_value": 8000,
"condition": "changed",
"threshold": {
"type": null,
"value": null
}
}
],
"notifications": [
{
"channel": "webhook",
"channel_target": "https://webhookhere.com",
"frequency": "immediately",
"enabled": true
}
],
"filters": [],
"expire_timestamp": 1774751812
}
]
}