bold-commerce / go-shopify

Go client for the Shopify API
MIT License
330 stars 256 forks source link

List Customer Addresses doesn't use pagination - just always returns the first page (and no pagination information) #230

Closed Will-Atherton closed 7 months ago

Will-Atherton commented 1 year ago

The api call to List customer addresses uses pagination in shopify. The function in go-shopify, List in customeraddresses.go (I think) just returns a list of addresses, with no pagination information It will always return the first page

bbtb1982 commented 9 months ago

Here is the reference in the docs showing the customer address allows for headers for pagination similar to other endpoints.

shopify get-customer-addresses

oliver006 commented 7 months ago

https://github.com/bold-commerce/go-shopify/pull/282 added a ListAll() call to all resources - try if that helps.