First request:
brings back a page of orders as expected:
{"orders":[{"id":3014249775… blah
…
From “Link” in Response.Headers, I get:
However, when I then try to use this URL to get the next batch of orders eg:
the response I get is this (with data blatted of course):
“\n \n \n <a href="https://accounts.shopify.com/oauth/authorize?client_id=XXX&destination_uuid=8ec0793a-6e17-4586-8b6a-94ddc6a4feec&nonce=XXX&prompt=merge&redirect_uri=https%3A%2F%2Fsolobeauty-ie.myshopify.com%2Fadmin%2Fauth%2Fidentity%2Fcallback&response_type=code&scope=email%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly%20openid%20profile%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fbanking.manage&state=f1c9452596b096f03427f9111cb566e1&ui_locales=en&ux=shop%20new_design_language\”>Continue\n \n\n <script type="text/javascript" defer>\n window.location = "https:\/\/accounts.shopify.com\/oauth\/authorize?client_id=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c\u0026destination_uuid=8ec0793a-6e17-4586-8b6a-9
4ddc6a4feec\u0026nonce=54c1063fee993e5d08a8ca2cb7f11e4e\u0026prompt=merge\u0026redirect_uri=https%3A%2F%XXX-ie.myshopify.com%2Fadmin%2Fauth%2Fidentity%2Fcallback\u0026response_type=code\u0026scope=email%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly%20openid%20profile%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fbanking.manage\u0026state=f1c9452596b096f03427f9111cb566e1\u0026ui_locales=en\u0026ux=shop%20new_design_language";\n \n \n\n"
I don’t understand what i am doing wrong. The second call should bring back the next batch of orders…???
Sai.