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 Bookings Services and Settings
Manage Events
Manage Portfolio
Access Verticals by Automations
Manage Restaurants - all permissions
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?