Creates an online order for a site member.
If this method is called by a site member (SDK | REST), the plan is automatically ordered on behalf of that site member. Otherwise, you must specify onBehalf.memberId
in your call.
When an online order is created, but payment hasn't been processed, its status is set to DRAFT
. After the payment has been processed, if the start date is in the future the order's status is set to PENDING
. Otherwise, it's set to ACTIVE
.
Plan ID.
There are 5 errors with this status code.
There are 2 errors with this status code.
There are 13 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.