Nexus Integrations / API / Orders and Customers
Get Discord Customer
Look up the Nexus customer connected to a Discord user.
1. Endpoint
GET
https://api.gpirblx.com/api/v1/stores/{Store-Id}/customers/discord/{Discord-User-Id}Returns a customer identity and the orders belonging to that customer in the store.
2. Parameters
| Name | Location | Required | Description |
|---|---|---|---|
storeId | Path | Yes | The store ID the API key belongs to. |
discordUserId | Path | Yes | The Discord user ID. |
3. Request
Example request:
curl "https://api.gpirblx.com/api/v1/stores/STORE_ID/customers/discord/DISCORD_USER_ID" \
-H "Authorization: Bearer YOUR_API_KEY"4. Response
Successful response:
{
"success": true,
"data": {
"id": "customer_id",
"name": "Customer",
"robloxUserId": "123456789",
"discordUserId": "DISCORD_USER_ID",
"orders": [],
"lifetimeValue": 100
}
}