I am using Shopify's shopify_api gem in Ruby. I am updating each products cost and price from an external source however I am hitting the API limits and receiving 429 Too Many Requests ( https://help.shopify.com/en/api/reference/rest-admin-api-rate-limits ). How can I edit the below to respect the API limits? I would rather use the data supplied in X-Shopify-Shop-Api-Call-Limit and Retry-After rather than adding a fixed sleep . products =...
Originally asked by user11736353 on Stack Exchange (stackoverflow) (CC BY-SA 4.0).
Variant 65.
Variant 380.