curl --location 'https://us-prod.notte.cc/functions/871c4c73-366c-4604-9d83-1d9c8a7dc052/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "871c4c73-366c-4604-9d83-1d9c8a7dc052",
"variables": {
"query": "",
"category": "",
"brand": "",
"store": "",
"limit": 100
}
}'
{
"count": 0,
"coupons": [
{
"image": {
"id": "<string>",
"url": "<string>",
"width": 0,
"height": 0,
"file_name": "<string>",
"content_type": "<string>",
"file_size_bytes": 0
},
"state": "<string>",
"terms": [
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"type": "<string>"
}
],
"brands": [
"<string>"
],
"source": "<string>",
"discount": {
"final": 0
},
"coupon_id": "<string>",
"offer_url": "<string>",
"categories": [
"<string>"
],
"created_at": "<string>",
"legal_copy": "<string>",
"start_date": "<string>",
"updated_at": "<string>",
"coupon_type": "<string>",
"external_id": "<string>",
"limitations": {
"max": 0,
"min": 0
},
"discount_label": "<string>",
"discount_value": 0,
"expiration_date": "<string>",
"kcl_coupon_link": "<string>",
"redeemable_store": {
"id": "<string>",
"logo": {},
"name": "<string>",
"slug": "<string>",
"has_landing_page": true,
"clip_club_store_id": "<string>",
"enable_breadcrumb_link": true
},
"direct_offer_link": "<string>",
"product_description": "<string>",
"used_in_formula_count": 0,
"coupon_availability_rate": 0
}
],
"has_more": true,
"sorted_by": "<string>",
"pages_fetched": 0,
"scanned_count": 0
}