Documentation Index
Fetch the complete documentation index at: https://docs.shopi.lk/llms.txt
Use this file to discover all available pages before exploring further.
Limits
Rate limits are enforced per API key with a sliding window of 60 seconds. The limit is set by the shop owner when generating the key from the seller dashboard. The SDK automatically retries429 responses — you only need to handle them if all retries are exhausted.
Checking remaining requests
After every successful request, the SDK populatesshop.rateLimit with the current window state:
Displaying rate limit state in UI
Handling 429 in UI
The SDK retries
429 responses automatically using the Retry-After header. Your catch block only runs if all retries are exhausted.