Retrieves a credit memo with a specified ID.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/credit-memos/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/credit-memos/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/credit-memos/{id}
- SecretApiKey
- JWT
- ApplicationJWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/credit-memos/{id}' \
-H 'Accept: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Credit memo retrieved.
Auto-incrementing number based on the sequence of credit memos for any particular customer.
Status of the credit memo.
| Enum Value | Description |
|---|---|
| draft | Credit memo is in process of being created. The full amount of the credit memo is unused, and the customer has not seen it yet. |
| quotation | Credit memo is associated with a quote. If the customer approves the quotation, the credit memo changes to the |
| issued | Credit memo is available with a full amount to be applied. |
| applied | The full amount of the credit memo has been applied. No more credit can be created from it. |
| partially-applied | A partial amount of the credit memo has been applied. A credit can be created from the remaining amount. |
| voided | Credit memo has been voided and cannot be used anymore. |
Reason for the credit memo.
Public description, that is visible to customers, which describes the purpose of the credit memo.
Total amount of all credits in the credit memo, including items, shipping, and tax.
Unused credit memo amount that has not been allocated.
ID of the customer resource.
ID of the invoice to which the credit memo is issued.
ID of the related quote.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
- application/json
- application/pdf
- CreditMemoTaxItem
- null
{ "id": "crmm_0YVCNN22TWC3G8H82QNPNVZCHG", "number": 0, "allocations": { "transactions": [ … ], "invoices": [ … ] }, "items": [ { … } ], "status": "draft", "reason": "return", "description": "string", "shippingAmount": 0, "taxAmount": 0, "totalAmount": 0, "unusedAmount": 0, "revision": 0, "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "currency": "USD", "invoiceId": "in_0YVF9605RKC62BP14NE2R7V2XT", "quoteId": "qt_0YVF9605RKC62BP14NE2R7V2XT", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ], "_embedded": { "customer": {} } }