getOnlineOrderPreview( )


Returns an order object that represents a potential online order for a site member.

You can use this method to show a site member a preview of an online order before creating it.

This method must be called using the site member identity (SDK | REST). Therefore, Wix apps can't currently call this method using REST.

Permissions
Manage Blog
Manage Bookings Services and Settings
Manage Challenges
Access Verticals by Automations
Set Up Automations
Manage Events
Manage Portfolio
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
planIdstringRequired

Plan ID.


optionsGetOnlineOrderPreviewOptions
Returns
Return Type:Promise<GetOnlineOrderPreviewResponse>
Errors
400Invalid Argument

There are 2 errors with this status code.

428Failed Precondition

There are 9 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?
OSZAR »