Per-API limits and the leaky bucket
Shopify apps call the GraphQL Admin API on behalf of a merchant with OAuth, usually token exchange, and send the token in the X-Shopify-Access-Token header. Access is limited by the scopes the app declares, for example read_orders or write_orders. By default only orders from the last 60 days are visible, and read_all_orders must be declared alongside read_orders to reach older ones. Shopify gives each app its own bucket.
There is no single Shopify limit. GraphQL Admin is cost-based by plan; REST Admin is a request bucket with headers; Storefront, Customer Account, Payments Apps, Partner and App Events APIs each have their own mechanics, and the figures live with each API’s own page.
All the request-bucket limits use the same leaky-bucket idea: the bucket leaks at a restore rate, a full bucket means a throttle error, and calls that arrive after a pause find room again. A run that watches its headers and spaces calls rarely sees a throttle.
A created or changed record is real data in the user’s account. Keep a run safe to re-execute: look up its marker first, record the id it created, and never delete records to hide a duplicate created by a retry.
Sources: API rate limits, REST pagination, Authentication, Access scopes.