Nexus Integrations / API / Roblox Integration
Create Product License
Create a license entitlement for a published license product.
1. Endpoint
POST
https://api.gpirblx.com/api/v1/products/{Product-Id}/licensesCreates a license entitlement for a Roblox user when the product is configured as a license.
2. Parameters
| Name | Location | Required | Description |
|---|---|---|---|
productId | Path | Yes | The Nexus license product ID. |
storeId | Body | Yes | The store ID used by the integration key. |
user_id | Body | Yes | The Roblox user ID receiving the license. |
purchase_price | Body | Yes | The purchase price as a non-negative number. |
3. Request
When sending JSON, include the following request body:
{
"storeId": "STORE_ID",
"user_id": "123456789",
"purchase_price": 100
}Example request:
curl -X POST "https://api.gpirblx.com/api/v1/products/PRODUCT_ID/licenses" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"storeId":"STORE_ID","user_id":"123456789","purchase_price":100}'4. Response
Successful response:
{
"success": true,
"data": {
"entitlementId": "entitlement_id",
"productId": "PRODUCT_ID",
"userId": "nexus_user_id",
"status": "ACTIVE"
}
}