Closed camilo300792 closed 4 years ago
protected function buildUrl($resource)
{
# return sprintf('https://%s/admin/%s.json', $this->shop, $resource);
return sprintf('https://%s/admin/api/2019-10/%s.json', $this->shop, $resource);
}
see #46
The link header includes a rel parameter, where relation-types describes the relation of the linked page to the current page of results. The value can either be previous or next.
The URL in the link header can include up to two parameters:
A request that includes the page_info parameter can't include any other parameters except for limit. If you want your results to be filtered by other parameters, then you need to include those parameters in the first request you make.