Register Sale
BetaRegisters a sale, with points being added to membership based on the contents of it. Reservations on the membership can be finalized.
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
membershipId
Unique identifier for a membership.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-api-version
Used for API versioning. More details.
Request
This endpoint expects an object.
requestId
A unique identifier for the request. If you send the same requestId twice, it will be guaranteed to only trigger once.
externalReferenceNo
Your external reference number, such as a POS Receipt number, invoice number etc.
externalSystemIdentifier
An identifier of your external system. This together with the entra app name identifies the external system that is making the operation.
externalSystemUserIdentifier
An identifier for the user in the external system, e.g. a POS UnitId, a salesperson code in an external POS or a user ID in a customer support tool.
externalBusinessUnitIdentifier
An identifier for the business unit of the external system.
items
reservations
Response
This endpoint returns an object.
pointsEarned
The total points earned by the transaction
pointsCaptured
the total amount of points captured by the transaction
newBalance
The points balance on the membership after the transaction