calculateOrderCashback
Calculate the cashback amount for an order based on total paid, discount, and shipping costs.
Instructions
Create cashback
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| mobile | No | ||
| merchant | No | This object contains deta | |
| lineItems | No | An array containing detai | |
| totalPaid | Yes | ||
| customerId | No | ||
| totalPrice | No | ||
| totalDiscount | Yes | ||
| totalShipping | Yes |