Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
22 lines
527 B
YAML
22 lines
527 B
YAML
type: object
|
|
required:
|
|
- amount
|
|
- reason
|
|
properties:
|
|
amount:
|
|
description: >-
|
|
The amount to refund. It should be less than or equal the
|
|
`refundable_amount` of the order.
|
|
type: integer
|
|
reason:
|
|
description: The reason for the Refund.
|
|
type: string
|
|
note:
|
|
description: A note with additional details about the Refund.
|
|
type: string
|
|
no_notification:
|
|
description: >-
|
|
If set to `true`, no notification will be sent to the customer related to
|
|
this Refund.
|
|
type: boolean
|