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.
Start date and time for the plan of the online order in a YYYY-MM-DDThh:mm[:ss][.sss]Z
format.
Default: Current date and time.
Coupon code to apply.
Provided if checkout is initiated on buyer's behalf.
Submission ID of the form submitted with this order.
Created online order.
There are 8 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.