Skip to content

OR26 - Perform a refund of order lines of an order
⚠️ No Integration Allowed ⚠️
deprecated

Request

Deprecated endpoint

This API is going to be removed in a future update, please use OR28 instead.

Call Frequency
Maximum usage: On each new refund demand
Security
Operator-Bearer-Token or OAuth-2
Path
order_idstringrequired

Order's identifier

Bodyapplication/json
order_linesArray of objectsrequired

List of order line's representations

curl -i -X PUT \
  'https://your-instance.mirakl.net/api/orders/{order_id}/refund' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "order_lines": [
      {
        "id": "MIR-VOE5RDAE-A-1",
        "reason_code": 15
      }
    ]
  }'

Responses

No Content