curl --location 'https://us-prod.notte.cc/functions/2f2151df-921e-45b2-a929-a8f3d91e2e1e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "2f2151df-921e-45b2-a929-a8f3d91e2e1e",
"variables": {
"page": 1,
"collection_handle": "all",
"limit": 250
}
}'
{
"products": [
{
"id": 0,
"tags": [
"<string>"
],
"title": "<string>",
"handle": "<string>",
"images": [
{
"id": 0,
"src": "<string>",
"width": 0,
"height": 0,
"position": 0,
"created_at": "<string>",
"product_id": 0,
"updated_at": "<string>"
}
],
"vendor": "<string>",
"options": [
{
"name": "<string>",
"values": [
"<string>"
],
"position": 0
}
],
"variants": [
{
"id": 0,
"sku": "<string>",
"grams": 0,
"price": "<string>",
"title": "<string>",
"option1": "<string>",
"taxable": true,
"position": 0,
"available": true,
"created_at": "<string>",
"product_id": 0,
"updated_at": "<string>",
"requires_shipping": true
}
],
"body_html": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"product_type": "<string>",
"published_at": "<string>"
}
]
}