Start Subscription
Use this endpoint to enable subscription for the membership. This requires that a payment method is active and selected for the membership. If the subscription has an unprocessed refund (partial regret), the request is rejected unless confirmPendingRefund is set to true.
Authentication
x-np-api-keystring
API Key authentication via header
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
x-api-version
Used for API versioning. More details.
Query parameters
confirmPendingRefund
When true, allows starting the subscription even if it has an unprocessed refund (partial regret) that might be processed at a later point and affect the membership. Defaults to false, in which case the request is rejected when an unprocessed refund exists.
Response
This endpoint returns an object.
id
Unique identifier for a subscription.
blocked
Defines if the subscription is blocked and therefore not useable for renewing the membership.
autoRenew
Indicates the auto-renewal state
startedAt
Defines the date the subscription was started.
committedUntil
Defines the date that the subscription is committed until. It's not possible to terminate the subscription before this date.
terminateAt
Defines the date the membership will be terminated if it has been requested to terminate.
terminationRequestedAt
Defines the date and time termination was requested.
terminationReason
Defines the reason for a termination.
