Next Page Link on pagination customer is null

Highlighted
Shopify Partner
4 0 0

Hello, 

 

I've headed an issue during dealing with customer pagination. I'm calling a mtehod $this->shopifySdk->Customer->get($exportParams); from my class and my next step should be getting the nextPageLink attribute from ShopifyResource class but I always get null.

While I'm dumping this attribute inside ShopifyResource class all goes fine. It seems like this attribute is setting only temporary and after close this call $this->shopifySdk->Customer->get($exportParams);  is no longer avaiable. 

 

How can I get a nextPageLink outside the ShopifyResource class ?

 

Thanks!

0 Likes