API:2/commerce/delivery

From Guild Wars 2 Wiki
Jump to navigationJump to search

/v2/commerce/delivery

HTTP method
GET
Format
json
API version
version 2
Release date
2017-06-16
Scope
account
tradingpost
Optional
none

This resource provides access to the current items and coins available for pickup on this account

Parameters

  • access_token (optional) – Can be used to specify an API key for the request if it is not given in the request header.

Response

This request will return an object with the following properties:

  • coins (number) – The amount of coins ready for pickup.
  • items (array of objects)
    • id (number) - The item's id, resolvable against v2/items.
    • count (number) - The amount of this item ready for pickup.

Example

Request

 https://api.guildwars2.com/v2/commerce/delivery
 Authorization: Bearer api-key-here

Response

 {
   "coins": 4294967295,
   "items": [
     {
       "id": 19700,
       "count": 3
     },
     {
       "id": 19700,
       "count": 4
     },
     {
       "id": 25557,
       "count": 1
     }
   ]
 }