square / connect-csharp-sdk

C# client library for the Square Connect APIs
https://docs.connect.squareup.com/
Apache License 2.0
27 stars 25 forks source link

v1ItemsApi batchtoken issue #63

Closed ramprudvi closed 6 years ago

ramprudvi commented 6 years ago

getting only 1000 products out of 3000 items which is queried result of v2 api
language: C#

StephenJosey commented 6 years ago

Hi @ramprudvi there is an undocumented function called ListItemsWithHttpInfo (see here for info: https://github.com/square/connect-csharp-sdk/blob/master/src/Square.Connect/Api/V1ItemsApi.cs), that includes the batch_token in the response.

If that doesn't resolve your question, can you please reach out to us via developers@help-messaging.squareup.com so we can work with you to resolve this?

ramprudvi commented 6 years ago

Hi, the exact issue is i am using v1itemAPI to get List items but unable to entire list even i pass parameters only 1000 items are retrieved and batch_token cursor is returned as blank Can you please specify more on this issue.

thanks & regards, ramaprudvi akula

On Tue, Jun 5, 2018 at 10:32 PM, Stephen Josey notifications@github.com wrote:

Hi @ramprudvi https://github.com/ramprudvi there is an undocumented function called ListItemsWithHttpInfo (see here for info: https://github.com/square/connect-csharp-sdk/blob/ master/src/Square.Connect/Api/V1ItemsApi.cs), that includes the batch_token in the response.

If that doesn't resolve your question, can you please reach out to us via developers@help-messaging.squareup.com so we can work with you to resolve this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/square/connect-csharp-sdk/issues/63#issuecomment-394785879, or mute the thread https://github.com/notifications/unsubscribe-auth/AmGspV-R8eswlH2W7pH5cAuGI7lBFCvYks5t5rm4gaJpZM4UayEr .

StephenJosey commented 6 years ago

@ramprudvi were you able to resolve this issue? I saw you had emailed in, but just wanted to make sure it got cleared up. Please let me know if there's any further issues. Thanks!