Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Fetch several ProductBookingCredit records in a single request by passing their Ids as a comma-separated list enclosed in square brackets.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.
The authenticated user must be a full unrestricted administrator or have the ProductBookingCredit-Read role.
Query Parameters
A comma-separated list of ProductBookingCredit Ids enclosed in square brackets, e.g. [123,456,789].
Code Examples
curl -X GET \
"https://spaces.nexudus.com/api/billing/productbookingcredits/?id=[87654321,87654322,87654323]" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
Returns an array of ProductBookingCredit records. Each record has the same structure as the response from the Get one ProductBookingCredit endpoint.
Partial records — This endpoint returns a summary representation of each ProductBookingCredit. The following fields are not populated in the response: ExpireTimeInMonths, ExpireTimeInWeeks, CaneBeUsedForBookings, CaneBeUsedForEvents, ExpiresIn, IsUniversalCredit, AppliesToCharges.To get all fields, fetch the full record using the Get one ProductBookingCredit endpoint.Important for updates: When updating a record via PUT, always retrieve the full record with a GET request first, apply your changes to that complete data, and then send the updated record. Do not use data from this endpoint as the base for a PUT request, as missing fields may be unintentionally cleared.
[
{
"Name": "",
"ProductId": 0,
"ProductName": null,
"ProductBusinessCurrencyCode": null,
"ElegibleResourceTypes": [],
"ElegibleProducts": [],
"ElegibleTariffs": [],
"Credit": 0,
"EventCategories": [],
"ExpirationType": 0,
"ElegiblePasses": [],
"Id": 87654321,
"UpdatedOn": "2025-01-15T10:30:00Z",
"CreatedOn": "2025-01-10T08:00:00Z",
"UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"UpdatedBy": "admin@example.com",
"IsNew": false,
"SystemId": null,
"ToStringText": "ProductBookingCredit Example",
"LocalizationDetails": null,
"CustomFields": null
}
]