Orders

post/api/v1.0/orders/{id}/refund

Request

  • Base URL: https://api.flipdish.co
  • URL: https://api.flipdish.co/api/v1.0/orders/{id}/refund
  • Auth: OAuth 2 (implicit, authorization URL https://api.flipdish.co/identity/connect/authorize, scopes: api)

Path parameters

idinteger required

Request body

RefundReasonstring

Refund reason

RefundAmountnumber double required

Refund amount

NotifyCustomerboolean required

If true, the system sends notification to the customer about the refund

Example request

{
  "RefundReason": "reason",
  "RefundAmount": 20,
  "NotifyCustomer": true
}

Response

The order is successfully refunded.

Changes

No recorded changes to this operation across all 12 revisions of this API.