Authenticated: Commerce/Transactions/History

Authenticated: Commerce/Transactions/History

in API Development

Posted by: Greyfus.4613

Greyfus.4613

Evening,

I’m here to discuss a “issue” that I’m encountering in:

Authenticated: Commerce/Transactions/History API

I’m accessing via HTML and programmatic, both returning only around 7 days past, and not 90 as told in:

https://wiki.guildwars2.com/wiki/API:2/commerce/transactions.

I want to know why, and how to fix that.

Ty for now
:D

Attachments:

Authenticated: Commerce/Transactions/History

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

Seems like a documentation issue. The endpoint is actually paginated, and respects both the page_size and page query parameters. Try using ?page_size=200&page=0 to start, then increment page until it stops returning results.

Authenticated: Commerce/Transactions/History

in API Development

Posted by: Greyfus.4613

Greyfus.4613

I’m trying this:

https://api.guildwars2.com/v2/commerce/transactions/history/buys?page_size=200&page=0?access_token=[API_KEY]

And gettings this:

{"text":“endpoint requires authentication”}

Authenticated: Commerce/Transactions/History

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Authenticated: Commerce/Transactions/History

in API Development

Posted by: Greyfus.4613

Greyfus.4613

Thank you for the answer!
It’s working as I expected.