calculateRefund( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Calculates refund amounts for a given list of an order's line items, shipping, and additional fees.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage eCommerce - all permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
orderIdstringRequired

Order ID.


optionsCalculateRefundOptions
Returns
Return Type:Promise<CalculateRefundResponse>
Did this help?