The Shopify documentation mentions that the creation of checkouts may be throttled in some circumstances, causing the API to send HTTP 303 See Other response codes. These responses need to be polled with the provided Location header.
Although I was personally not able to reproduce a 303 code through this module, I'm wondering if the polling is missing? Or is it being handled somewhere else?
got the underlying HTTP client we use in shopify-api-node already follows redirects (3xx) automatically unless the feature is disabled (which is not currently).
The Shopify documentation mentions that the creation of checkouts may be throttled in some circumstances, causing the API to send
HTTP 303 See Other
response codes. These responses need to be polled with the providedLocation
header.From what I can tell,
shopify-api-node
only polls for202
response codes: https://github.com/MONEI/Shopify-api-node/blob/master/index.js#L138Although I was personally not able to reproduce a
303
code through this module, I'm wondering if the polling is missing? Or is it being handled somewhere else?Reference: https://shopify.dev/tutorials/sell-through-the-checkout-api#checkout-throttle-polling