API rate limit for rest api, variant

iozyigit
Tourist
3 0 1

Hi,

I am doing some test and trying to understand Shopify.

Here I am creating a variant programmatically doing 5 calls to api. Thinking 2 calls per second, how this will be applicable in real world when developing public app or even for custom app.

Or am I doing something wrong.

  1. Getting existing variant(GET)
  2. Copy existing one and create new one(POST)
  3. GetInventoryItem for variant(GET)
  4. Add quantity to inventory(POST)
  5. Add met-afield to the variant(POST)

Thanks 

 

0 Likes