Uncategorized

Managing Storefront Waitlists via API

The Checklick API allows you to manage Storefront waitlists programmatically. Here's how: 1. Ensure you have a valid API key (see "Managing API Keys"). 2. To view waitlist entries, use GET /v2/waitlists. Example: curl -X GET https://api.checklick.com/v2/waitlists?product_id=123 -H "Authorization: Bearer YOUR_API_KEY" -H "Organization-Id: YOUR_ORG_ID". 3. To add a user to a waitlist, use POST /v2/waitlists with person_id and product_id. Example: curl -X POST https://api.checklick.com/v2/waitlists -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/vnd.api+json" -H "Organization-Id: YOUR_ORG_ID" -d '{"data": {"type": "waitlists", "attributes": {"person_id": "123", "product_id": "456"}}}'. Quick tips: * Use DELETE /v2/waitlists/{id} to remove users. * Check https://api.checklick.com/docs for payload details. * Respect the 100 requests/min rate limit.