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 Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
planIdstringRequired

Plan ID.


optionsGetOnlineOrderPreviewOptions
Returns
Return Type:Promise<GetOnlineOrderPreviewResponse>
Errors
428Failed Precondition

There are 8 errors with this status code:

See the entire list and learn more about Wix errors.

Did this help?