A BasketSession is an internal entity that temporarily stores basket items while a customer is checking out on the Members Portal. It is not intended for direct use via the API or CLI.
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 BasketSession-Read role.
Path Parameters
The Id of the BasketSession record to retrieve.
Code Examples
curl -X GET \
"https://spaces.nexudus.com/api/billing/basketsessions/87654321" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
Unique session identifier linking the basket to the customer’s browser session.
JSON-serialised basket contents including selected products, quantities, and pricing.
Unique record identifier.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
{
"BusinessId": 0,
"SessionId": "",
"JsonContents": null,
"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": "BasketSession Example",
"LocalizationDetails": null,
"CustomFields": null
}