Returns the list of items from Backpack of a specified user. Items can be game keys, virtual items, and virtual currency.
X-HOST-ID required | string <uuid> A unique header issued by Xsolla. To obtain it, please contact the integration team at integration@xsolla.com or your Customer Success Manager at csm@xsolla.com. Provide them with the project ID and merchant ID. Keep X-HOST-ID confidential, as it is part of the authentication key. |
The list of items from users's Backpack was succesfully recieved.
Bad request.
Internal server error.
Error
curl -i -X GET \ 'https://metaframe.xsolla.com/web/backpack/merchants/{merchantId}/projects/{projectId}/users/{userId}/items?offset=0&limit=0' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'X-HOST-ID: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
[- {
- "item_id": "string",
- "item_sku": "string",
- "item_name": "string",
- "image_url": "string",
- "image_proxy_url": "string",
- "description": "string",
- "project_id": 0,
- "merchant_id": 0,
- "item_type": "game_key",
- "price": 0,
- "currency": "USD",
- "promo_code": "string",
- "code": "string",
- "game_name": "string",
- "external_game_id": "string",
- "created_at": "string",
- "item_status": "string",
- "quantity": 0,
- "is_external_vc": true,
- "platform": "steam"
}
]