CreditMemos: Magento Credit Memos
read only REST
- Catalog:
Magento - Schema:
Sales - Primary Keys:
entity_id - Label: Credit Memos
Lists credit memos that match specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#CreditmemoRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
Can only retrieve data.
Summary
Lists credit memos that match specified search criteria. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#CreditmemoRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
API Source
- Endpoint:
/V1/creditmemos - Operation:
get /V1/creditmemos
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 52 |
| Full scan rows per minute | 114,833 |
| Point query rows per minute | 1,158 |
| Write rows per minute | 599 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
search |
`` | Current page. | ||
search |
`` | Condition type | ||
search |
`` | Field | ||
search |
`` | Value | ||
search |
`` | Page size. | ||
search |
`` | Sorting direction. | ||
search |
`` | Sorting field. |
Table Columns
The columns of the table CreditMemos are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
adjustment |
decimal |
Adjustment | filters on the platform, writable, adjustment |
Credit memo adjustment. | |
adjustment_ |
decimal |
Adjustment Negative | filters on the platform, writable, adjustment_ |
Credit memo negative adjustment. | |
adjustment_ |
decimal |
Adjustment Positive | filters on the platform, writable, adjustment_ |
Credit memo positive adjustment. | |
base_ |
decimal |
Base Adjustment | filters on the platform, writable, base_ |
Credit memo base adjustment. | |
base_ |
decimal |
Base Adjustment Negative | filters on the platform, writable, base_ |
Credit memo negative base adjustment. | |
base_ |
decimal |
Base Adjustment Positive | filters on the platform, writable, base_ |
Credit memo positive base adjustment. | |
base_ |
varchar2 |
Base Currency Code | filters on the platform, writable, base_ |
Credit memo base currency code. | |
base_ |
decimal |
Base Discount Amount | filters on the platform, writable, base_ |
Credit memo base discount amount. | |
base_ |
decimal |
Base Discount Tax Compensation Amount | filters on the platform, writable, base_ |
Credit memo base discount tax compensation amount. | |
base_ |
decimal |
Base Grand Total | filters on the platform, writable, base_ |
Credit memo base grand total. | |
base_ |
decimal |
Base Shipping Amount | filters on the platform, writable, base_ |
Credit memo base shipping amount. | |
base_ |
decimal |
Base Shipping Discount Tax Compensation Amount | filters on the platform, writable, base_ |
Credit memo base shipping discount tax compensation amount. | |
base_ |
decimal |
Base Shipping Including Tax | filters on the platform, writable, base_ |
Credit memo base shipping including tax. | |
base_ |
decimal |
Base Shipping Tax Amount | filters on the platform, writable, base_ |
Credit memo base shipping tax amount. | |
base_ |
decimal |
Base Subtotal | filters on the platform, writable, base_ |
Credit memo base subtotal. | |
base_ |
decimal |
Base Subtotal Including Tax | filters on the platform, writable, base_ |
Credit memo base subtotal including tax. | |
base_ |
decimal |
Base Tax Amount | filters on the platform, writable, base_ |
Credit memo base tax amount. | |
base_ |
decimal |
Base to Global Rate | filters on the platform, writable, base_ |
Credit memo base-to-global rate. | |
base_ |
decimal |
Base to Order Rate | filters on the platform, writable, base_ |
Credit memo base-to-order rate. | |
billing_ |
int64 |
Billing Address ID | filters on the platform, writable, billing_ |
Credit memo billing address ID. | |
created_ |
varchar2 |
Created At | filters on the platform, writable, created_ |
Credit memo created-at timestamp. | |
creditmemo_ |
int64 |
Credit Memo Status | filters on the platform, writable, creditmemo_ |
Credit memo status. | |
discount_ |
decimal |
Discount Amount | filters on the platform, writable, discount_ |
Credit memo discount amount. | |
discount_ |
varchar2 |
Discount Description | filters on the platform, writable, discount_ |
Credit memo discount description. | |
discount_ |
decimal |
Discount Tax Compensation Amount | filters on the platform, writable, discount_ |
Credit memo discount tax compensation amount. | |
email_ |
int64 |
Email Sent | filters on the platform, writable, email_ |
Credit memo email sent flag value. | |
entity_ |
int64 |
Entity ID | filters on the platform, writable, entity_ |
Credit memo ID. | |
extension_ |
varchar2 |
Extension Attributes | writable | The JSON text of the nested object. | |
global_ |
varchar2 |
Global Currency Code | filters on the platform, writable, global_ |
Credit memo global currency code. | |
grand_ |
decimal |
Grand Total | filters on the platform, writable, grand_ |
Credit memo grand total. | |
increment_ |
varchar2 |
Increment ID | filters on the platform, writable, increment_ |
Credit memo increment ID. | |
invoice_ |
int64 |
Invoice ID | filters on the platform, writable, invoice_ |
Credit memo invoice ID. | |
order_ |
varchar2 |
Order Currency Code | filters on the platform, writable, order_ |
Credit memo order currency code. | |
order_ |
int64 |
Order ID | filters on the platform, writable, order_ |
Credit memo order ID. | |
shipping_ |
int64 |
Shipping Address ID | filters on the platform, writable, shipping_ |
Credit memo shipping address ID. | |
shipping_ |
decimal |
Shipping Amount | filters on the platform, writable, shipping_ |
Credit memo shipping amount. | |
shipping_ |
decimal |
Shipping Discount Tax Compensation Amount | filters on the platform, writable, shipping_ |
Credit memo shipping discount tax compensation amount. | |
shipping_ |
decimal |
Shipping Including Tax | filters on the platform, writable, shipping_ |
Credit memo shipping including tax. | |
shipping_ |
decimal |
Shipping Tax Amount | filters on the platform, writable, shipping_ |
Credit memo shipping tax amount. | |
state |
int64 |
State | filters on the platform, writable, state |
Credit memo state. | |
store_ |
varchar2 |
Store Currency Code | filters on the platform, writable, store_ |
Credit memo store currency code. | |
store_ |
int64 |
Store ID | filters on the platform, writable, store_ |
Credit memo store ID. | |
store_ |
decimal |
Store to Base Rate | filters on the platform, writable, store_ |
Credit memo store-to-base rate. | |
store_ |
decimal |
Store to Order Rate | filters on the platform, writable, store_ |
Credit memo store-to-order rate. | |
subtotal |
decimal |
Subtotal | filters on the platform, writable, subtotal |
Credit memo subtotal. | |
subtotal_ |
decimal |
Subtotal Including Tax | filters on the platform, writable, subtotal_ |
Credit memo subtotal including tax. | |
tax_ |
decimal |
Tax Amount | filters on the platform, writable, tax_ |
Credit memo tax amount. | |
transaction_ |
varchar2 |
Transaction ID | filters on the platform, writable, transaction_ |
Credit memo transaction ID. | |
updated_ |
varchar2 |
Updated At | filters on the platform, writable, updated_ |
Credit memo updated-at timestamp. |