Subscribe customer to plan
Creates a new order for a customer subscribing to a plan. The order will be created with the plan's products and pricing attributes.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
planId
The ID of the plan
Query parameters
customerExternalId
The external ID of the customer
currency
The currency code for the order (e.g., “USD”, “EUR”)
Response
Customer subscribed to plan successfully
id
name
description
customerId
organizationId
startDate
endDate
totalAmount
estimatedTax
billedAmountNoTax
billedTax
totalBilledAmount
pendingBillingAmount
creationState
Allowed values:
orderLines
customer