post https://api.listingleopard.com/triggers/create
Your triggers will run according to UTC time.
To run a file Daily at 8 AM (UTC) and 4 PM (UTC) for the "product" endpoint, you would make a request with body:
{
"schedule_type": "daily",
"file_id": "your_file_id_here",
"trigger_function": [
"product"
],
"schedule_hours": [
8,
16
]
}
To run a file Weekly on Monday (1) and Thursday (4) at 8 AM (UTC) for the "product" endpoint, you would make a request with body:
{
"schedule_type": "weekly",
"file_id": "your_file_id_here",
"trigger_function": [
"product"
],
"schedule_hours": [
8
],
"schedule_days_of_week": [
1,
4
]
}