Create Membership

POST

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

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
itemNumberstringRequired

Unique identifier for an item.

cacheInstanceIdstringOptional

Identifier for the NST instance. Providing this value will increase the performance of the API when the NST is load-balanced.

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.

Response

This endpoint returns an object.
membershipobject

The MembershipEntity describes the basic attributes of a Membership.

cacheInstanceIdstringOptional

Identifier for the NST instance. Providing this value will increase the performance of the API when the NST is load-balanced.