curl --location 'https://us-prod.notte.cc/functions/3555f1f5-4dfb-4227-b665-fda5cbd84a0c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "3555f1f5-4dfb-4227-b665-fda5cbd84a0c",
"variables": {
"business_id": 48173
}
}'
{
"products": [
{
"id": "<string>",
"name": "<string>",
"image": "<string>",
"active": true,
"prices": [
{
"type": "<string>",
"values": [
{
"key": "<string>",
"label": "<string>",
"amount": 0
}
]
}
],
"category": {
"id": "<string>",
"name": "<string>"
},
"lab_stats": [
{
"name": "<string>",
"value": 0
}
],
"prices_old": [
{
"type": "<string>",
"values": [
{
"key": "<string>",
"label": "<string>",
"amount": 0
}
]
}
],
"business_id": 0,
"description": "<string>",
"has_ordering": true
}
],
"categories": [
{
"id": "<string>",
"name": "<string>",
"items_count": 0,
"subcategories": [
{
"name": "<string>",
"items_count": 0
}
]
}
],
"business_id": 0,
"business_name": "<string>",
"product_count": 0
}