Get User's inventory items
Retrieve a complete list of items in the User's inventory with filtering options. This includes: - All purchased products - Subscription items - Limited-time access items Use filters to narrow down results by product type.
Authorization
Public key In: header
Path Parameters
Unique identifier (UUID) of the User.
uuidQuery Parameters
Page number, starting at 1.
int641 <= value <= 90071992547409911Number of items per page. Defaults to 10, maximum 100.
int641 <= value <= 10010Return only inventory entries for products of this type.
Value in
- "DigitalDownload"
- "Game"
- "GiftCard"
- "SoftwareKey"
- "VirtualCurrency"
- "VirtualItem"
- "Subscription"
- "OneTimePayment"
Response Body
application/json
application/json
curl -X GET "https://example.com/v0/users/123e4567-e89b-12d3-a456-426614174000/inventory"{ "status": "success", "data": { "inventory": [ { "object": "item", "quantity": 0, "value": 0, "currency": "AFN", "name": "string", "variant": null, "plan": null, "product": { "object": "product", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "DigitalDownload", "internalId": null }, "offer": { "object": "offer", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "internalId": null }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customFields": null } ], "count": -1.7976931348623157e+308, "pages": -1.7976931348623157e+308 }}Unarchive User PATCH
Restore a User account that has been previously archived. A User deleted by the merchant from the dashboard can't be restored: the request returns 400.
List webhooks GET
Retrieve all configured webhooks for the workspace, newest first. A workspace may have at most 5 webhooks configured at once — see the create endpoint's error if that limit is reached.