Path parameters
-
The credit memo ID.
GET /V1/creditmemo/{id}
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/creditmemo/{id}
Response examples (200)
{
"adjustment": 42.0,
"adjustment_negative": 42.0,
"adjustment_positive": 42.0,
"base_adjustment": 42.0,
"base_adjustment_negative": 42.0,
"base_adjustment_positive": 42.0,
"base_currency_code": "string",
"base_discount_amount": 42.0,
"base_grand_total": 42.0,
"base_discount_tax_compensation_amount": 42.0,
"base_shipping_amount": 42.0,
"base_shipping_discount_tax_compensation_amnt": 42.0,
"base_shipping_incl_tax": 42.0,
"base_shipping_tax_amount": 42.0,
"base_subtotal": 42.0,
"base_subtotal_incl_tax": 42.0,
"base_tax_amount": 42.0,
"base_to_global_rate": 42.0,
"base_to_order_rate": 42.0,
"billing_address_id": 42,
"created_at": "string",
"creditmemo_status": 42,
"discount_amount": 42.0,
"discount_description": "string",
"email_sent": 42,
"entity_id": 42,
"global_currency_code": "string",
"grand_total": 42.0,
"discount_tax_compensation_amount": 42.0,
"increment_id": "string",
"invoice_id": 42,
"order_currency_code": "string",
"order_id": 42,
"shipping_address_id": 42,
"shipping_amount": 42.0,
"shipping_discount_tax_compensation_amount": 42.0,
"shipping_incl_tax": 42.0,
"shipping_tax_amount": 42.0,
"state": 42,
"store_currency_code": "string",
"store_id": 42,
"store_to_base_rate": 42.0,
"store_to_order_rate": 42.0,
"subtotal": 42.0,
"subtotal_incl_tax": 42.0,
"tax_amount": 42.0,
"transaction_id": "string",
"updated_at": "string",
"items": [
{
"additional_data": "string",
"base_cost": 42.0,
"base_discount_amount": 42.0,
"base_discount_tax_compensation_amount": 42.0,
"base_price": 42.0,
"base_price_incl_tax": 42.0,
"base_row_total": 42.0,
"base_row_total_incl_tax": 42.0,
"base_tax_amount": 42.0,
"base_weee_tax_applied_amount": 42.0,
"base_weee_tax_applied_row_amnt": 42.0,
"base_weee_tax_disposition": 42.0,
"base_weee_tax_row_disposition": 42.0,
"description": "string",
"discount_amount": 42.0,
"entity_id": 42,
"discount_tax_compensation_amount": 42.0,
"name": "string",
"order_item_id": 42,
"parent_id": 42,
"price": 42.0,
"price_incl_tax": 42.0,
"product_id": 42,
"qty": 42.0,
"row_total": 42.0,
"row_total_incl_tax": 42.0,
"sku": "string",
"tax_amount": 42.0,
"weee_tax_applied": "string",
"weee_tax_applied_amount": 42.0,
"weee_tax_applied_row_amount": 42.0,
"weee_tax_disposition": 42.0,
"weee_tax_row_disposition": 42.0,
"extension_attributes": {
"status": "string",
"list_price": 42.0,
"size": "string",
"color": "string",
"merchant_product_reference": "string",
"category_code": "string",
"image": "string",
"mpn": "string",
"msrp": 42.0,
"manufacturer_code": "string",
"manufacturer_name": "string",
"merchant_code": "string",
"merchant_name": "string",
"merchant_city": "string",
"merchant_commission_percentage": 42.0,
"merchant_deficiency_percentage": 42.0,
"merchant_handling_fee": 42.0,
"is_sale": true,
"return_item_fee": 42.0,
"base_return_item_fee": 42.0,
"is_outlet": true
}
}
],
"comments": [
{
"comment": "string",
"created_at": "string",
"entity_id": 42,
"is_customer_notified": 42,
"is_visible_on_front": 42,
"parent_id": 42,
"extension_attributes": {}
}
],
"extension_attributes": {
"base_customer_balance_amount": 42.0,
"customer_balance_amount": 42.0,
"base_gift_cards_amount": 42.0,
"gift_cards_amount": 42.0,
"gw_base_price": "string",
"gw_price": "string",
"gw_items_base_price": "string",
"gw_items_price": "string",
"gw_card_base_price": "string",
"gw_card_price": "string",
"gw_base_tax_amount": "string",
"gw_tax_amount": "string",
"gw_items_base_tax_amount": "string",
"gw_items_tax_amount": "string",
"gw_card_base_tax_amount": "string",
"gw_card_tax_amount": "string",
"return_fee": 42.0,
"base_return_fee": 42.0,
"psp_reference": "string",
"company_id": 42
}
}
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}