invoice/{invoiceId}/refund

invoice/{invoiceId}/refund

post/V1/invoice/{invoiceId}/refund

Create refund for invoice

Request
path Parameters
invoiceId
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

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

200 Success.

401

401 Unauthorized

default

Unexpected error

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