/v2/commerce/delivery

Guest
Guest

June 15th, 2017, 11:12 pm #1

Looks like you might be using a non-paginated request for the new delivery box feature.

This will time out for any accounts with over x number of items waiting to be picked up (possibly 100).

Despite the notes pagination works in the same method as /v2/commerce/transactions/

As per https://github.com/arenanet/api-cdi/pull/514 the API dev is looking to modify the current result to accumulate results based upon item, so that 3 stacks of 250 Copper Ore will result in 1 750 Copper Ore entry (or the more practical liklihood of 2 Copper Ore, 3 Copper Ore, 1 Copper Ore, 8 Copper Ore, etc etc etc etc times 50, becoming a nice and neat 750 Copper Ore).

Even after the potential change pagination may still be necessary for people trading a large variety of items, I sometimes delve in to buying all 76/80 green weapons for instance, giving a large number of different yet similar items.
Quote
Share

Guest
Guest

June 15th, 2017, 11:28 pm #2

Checking my secondary accounts, looks like the limit per page is 5000. With the non-paginated request erroring out if there are more.

So I guess the number of accounts affected are very edge cases.

Would be great if it could be checked however.
Quote
Share

Joined: August 8th, 2008, 8:42 am

June 16th, 2017, 1:04 am #3

Because I don't access or store user keys, I depend on my friends and people who publicly posted their API keys to test various cases. I just bought a few dozen stack of 2 copper items and the box is filling normally. Maybe it takes thousands of stacks to mess up the fetching, but unfortunately even with an API key from an outlier user who messaged me, I cannot load:

Code: Select all

https://api.guildwars2.com/v2/commerce/delivery?access_token=THEIR-API-KEY&page_size=100&page=1
Maybe it's just because the API is new and ArenaNet has to even out the bugs. I can reuse my pagination fetch function from the transaction pages, but it's useless if I can't read the number of pages or just the first page.
Last edited by Drant on June 16th, 2017, 8:42 am, edited 2 times in total.
Quote
Like
Share

Joined: August 8th, 2008, 8:42 am

June 16th, 2017, 8:28 pm #4

Anet has disabled the delivery box feature for now. I guess we'll wait until then.
Quote
Like
Share

Confirmation of reply: