API Throttling by Access Token

Solved
Highlighted
Excursionist
30 0 4

Hopefully this is a quick question :)

 

I understand that requests to the REST API and GraphQL API use different throttles. My question is, does throttling breakdown further by online and offline access tokens? In other words, if I'm using the GraphQL API with an online token, and I'm also running a job in the background using an offline token, would they be on the same throttle?

 

From what I've seen so far, both online and offline requests seem to use the same throttle. It look like the throttle is only different between the REST and GraphQL APIs. Can anyone confirm this?

 

Thanks!

0 Likes

Success.

Shopify Staff
Shopify Staff
470 35 90

Hi @Kris_Doyle,

 

Both online and offline access tokens are associated with the same application and therefore will use the same throttle.  As you mentioned the only separate throttles are between the REST API and the GraphQL API.

 

Cheers,

Ryan

Developer Experience @ Shopify
0 Likes