order/{orderId}/refund

order/{orderId}/refund

post/V1/order/{orderId}/refund

Create offline refund for order

Request
path Parameters
orderId
required
integer
Request Body schema:
appendComment
boolean
object (sales-data-creditmemo-creation-arguments-interface)

Interface CreditmemoCreationArgumentsInterface

object (sales-data-creditmemo-comment-creation-interface)

Interface CreditmemoCommentCreationInterface

Array of objects (sales-data-creditmemo-item-creation-interface)
notify
boolean
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "items": [
    ],
  • "notify": true,
  • "appendComment": true,
  • "comment": {
    },
  • "arguments": {
    }
}
Response samples
0
0