getOrder( )


Gets an existing pricing plan order by ID.

The getOrder() function returns a Promise that resolves to information about the specified order.

Note: Only site visitors with the Manage Pricing Plans and Manage Subscriptions permissions can get orders. You can override the permissions by setting the function's suppressAuth option to true.

Method Declaration
Copy
Method Parameters
orderIdstringRequired

ID of the order to get.


optionsOptions

Options to use when getting an order.

Returns
Return Type:Promise<Order>
Was this helpful?
Yes
No