Mark_as_paid_COD
Mark orders with COD payment as paid to update their status to Complete. Provide the order number to finalize payment and complete the order.
Instructions
Update order status to Complete by Mark payment status as Paid to the selected order that payment method is COD
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderNo | Yes | Order number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkoutAt | No | Checkouted date | |
| discountAmount | No | Total discount from the order price (excluding instant discounts applied to products) | |
| isGift | No | If product is set to 'Allow gift' or 'Gift only' will be returned 'true' | |
| lastUpdatedAt | No | Last updated date | |
| orderItems | No | ||
| orderNumber | No | Order number | |
| orderStatus | No | Order status | |
| paidAt | No | Paid date | |
| paymentMethod | No | Payment method | |
| paymentStatus | No | Payment status | |
| remarkBuyer | No | Note from buyer | |
| remarkRecipient | No | Remark recipient | |
| shipmentDetail | No | ||
| shipmentPrice | No | Total shipping fee | |
| shipmentStatus | No | Shipment status | |
| shippingAddress | No | ||
| subtotalPrice | No | Subtotal price after applying instant discount to order items | |
| totalPrice | No | Total order price (subtotalPrice + shipmentPrice - discountAmount) | |
| weight | No | Total weight |