NexusAPI IntegrationRetrieve Owned Product

Nexus Integrations / API / Orders and Customers

Retrieve Owned Product

Find a matching download for a product owned by a Discord user.

1. Endpoint

GEThttps://api.gpirblx.com/api/v1/stores/{Store-Id}/discord/users/{Discord-User-Id}/retrieve-product

Searches the user's active entitlements and returns a temporary download link. This route is limited to 10 requests per minute.

AuthenticationBearer API key
Accessownership:read

2. Parameters

NameLocationRequiredDescription
storeIdPathYesThe store ID the API key belongs to.
discordUserIdPathYesThe Discord user ID.
queryQueryYesA product name or search term.

3. Request

Example request:

curl "https://api.gpirblx.com/api/v1/stores/STORE_ID/discord/users/DISCORD_USER_ID/retrieve-product?query=vehicle" \
  -H "Authorization: Bearer YOUR_API_KEY"

4. Response

Successful response:

{
  "success": true,
  "data": {
    "product": { "id": "PRODUCT_ID", "name": "Premium Vehicle Pack" },
    "downloadUrl": "https://api.gpirblx.com/api/v1/downloads/TEMPORARY_TOKEN",
    "filename": "vehicle-pack.zip",
    "expiresInSeconds": 600,
    "suggestions": []
  }
}