Credit memo webhook request body resource.
Return any 2xx status to indicate that the data was received successfully.
{- "creditMemoId": "string",
- "eventType": "credit-memo-applied",
- "_embedded": {
- "creditMemo": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "invoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "customerId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "number": 0,
- "items": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "invoiceItemId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "description": "string",
- "unitPrice": 0,
- "quantity": 0,
- "price": 0,
- "productId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "planId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}
], - "status": "issued",
- "reason": "return",
- "description": "string",
- "currency": "USD",
- "shippingAmount": 0,
- "taxAmount": 0,
- "totalAmount": 0,
- "unusedAmount": 0,
- "revision": 0,
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "rel": "self",
- "href": "string"
}
]
}
}, - "_links": [
- {
- "rel": "creditMemo",
- "href": "string"
}
]
}