Create Membership

Use this endpoint to create a new membership.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
itemNumberstringRequired
Unique identifier for an item.
activationDatedateOptional
The date from which the membership should be active. Setup can dictated and override this date.
companyNamestringOptional
The name of the company associated with the membership.
preassignedCustomerNumberstringOptional
A preassigned customer number for the membership. When there is no customer number, the system will generate one.
documentNostringOptional
External identifier for the sales document.
attributeslist of objectsOptional

Response

This endpoint returns an object.
membershipobject
The MembershipEntity describes the basic attributes of a Membership.