Performs persist operations for a specified credit memo.
application/json
Body
-
Credit memo interface. After a customer places and pays for an order and an invoice has been issued, the merchant can create a credit memo to refund all or part of the amount paid for any returned or undelivered items. The memo restores funds to the customer account so that the customer can make future purchases.
Body
-
Credit memo interface. After a customer places and pays for an order and an invoice has been issued, the merchant can create a credit memo to refund all or part of the amount paid for any returned or undelivered items. The memo restores funds to the customer account so that the customer can make future purchases.
POST
/V1/creditmemo
cURL (application/json)
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/creditmemo' \
--header "Content-Type: application/json" \
--data '{"entity":{"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}}}'
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/creditmemo' \
--header "Content-Type: application/xml"
Request examples
{
"entity": {
"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
}
}
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
<entity>
<adjustment type="float">42.0</adjustment>
<adjustment-negative type="float">42.0</adjustment-negative>
<adjustment-positive type="float">42.0</adjustment-positive>
<base-adjustment type="float">42.0</base-adjustment>
<base-adjustment-negative type="float">42.0</base-adjustment-negative>
<base-adjustment-positive type="float">42.0</base-adjustment-positive>
<base-currency-code>string</base-currency-code>
<base-discount-amount type="float">42.0</base-discount-amount>
<base-grand-total type="float">42.0</base-grand-total>
<base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
<base-shipping-amount type="float">42.0</base-shipping-amount>
<base-shipping-discount-tax-compensation-amnt type="float">42.0</base-shipping-discount-tax-compensation-amnt>
<base-shipping-incl-tax type="float">42.0</base-shipping-incl-tax>
<base-shipping-tax-amount type="float">42.0</base-shipping-tax-amount>
<base-subtotal type="float">42.0</base-subtotal>
<base-subtotal-incl-tax type="float">42.0</base-subtotal-incl-tax>
<base-tax-amount type="float">42.0</base-tax-amount>
<base-to-global-rate type="float">42.0</base-to-global-rate>
<base-to-order-rate type="float">42.0</base-to-order-rate>
<billing-address-id type="integer">42</billing-address-id>
<created-at>string</created-at>
<creditmemo-status type="integer">42</creditmemo-status>
<discount-amount type="float">42.0</discount-amount>
<discount-description>string</discount-description>
<email-sent type="integer">42</email-sent>
<entity-id type="integer">42</entity-id>
<global-currency-code>string</global-currency-code>
<grand-total type="float">42.0</grand-total>
<discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
<increment-id>string</increment-id>
<invoice-id type="integer">42</invoice-id>
<order-currency-code>string</order-currency-code>
<order-id type="integer">42</order-id>
<shipping-address-id type="integer">42</shipping-address-id>
<shipping-amount type="float">42.0</shipping-amount>
<shipping-discount-tax-compensation-amount type="float">42.0</shipping-discount-tax-compensation-amount>
<shipping-incl-tax type="float">42.0</shipping-incl-tax>
<shipping-tax-amount type="float">42.0</shipping-tax-amount>
<state type="integer">42</state>
<store-currency-code>string</store-currency-code>
<store-id type="integer">42</store-id>
<store-to-base-rate type="float">42.0</store-to-base-rate>
<store-to-order-rate type="float">42.0</store-to-order-rate>
<subtotal type="float">42.0</subtotal>
<subtotal-incl-tax type="float">42.0</subtotal-incl-tax>
<tax-amount type="float">42.0</tax-amount>
<transaction-id>string</transaction-id>
<updated-at>string</updated-at>
<items type="array">
<item>
<additional-data>string</additional-data>
<base-cost type="float">42.0</base-cost>
<base-discount-amount type="float">42.0</base-discount-amount>
<base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
<base-price type="float">42.0</base-price>
<base-price-incl-tax type="float">42.0</base-price-incl-tax>
<base-row-total type="float">42.0</base-row-total>
<base-row-total-incl-tax type="float">42.0</base-row-total-incl-tax>
<base-tax-amount type="float">42.0</base-tax-amount>
<base-weee-tax-applied-amount type="float">42.0</base-weee-tax-applied-amount>
<base-weee-tax-applied-row-amnt type="float">42.0</base-weee-tax-applied-row-amnt>
<base-weee-tax-disposition type="float">42.0</base-weee-tax-disposition>
<base-weee-tax-row-disposition type="float">42.0</base-weee-tax-row-disposition>
<description>string</description>
<discount-amount type="float">42.0</discount-amount>
<entity-id type="integer">42</entity-id>
<discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
<name>string</name>
<order-item-id type="integer">42</order-item-id>
<parent-id type="integer">42</parent-id>
<price type="float">42.0</price>
<price-incl-tax type="float">42.0</price-incl-tax>
<product-id type="integer">42</product-id>
<qty type="float">42.0</qty>
<row-total type="float">42.0</row-total>
<row-total-incl-tax type="float">42.0</row-total-incl-tax>
<sku>string</sku>
<tax-amount type="float">42.0</tax-amount>
<weee-tax-applied>string</weee-tax-applied>
<weee-tax-applied-amount type="float">42.0</weee-tax-applied-amount>
<weee-tax-applied-row-amount type="float">42.0</weee-tax-applied-row-amount>
<weee-tax-disposition type="float">42.0</weee-tax-disposition>
<weee-tax-row-disposition type="float">42.0</weee-tax-row-disposition>
<extension-attributes>
<status>string</status>
<list-price type="float">42.0</list-price>
<size>string</size>
<color>string</color>
<merchant-product-reference>string</merchant-product-reference>
<category-code>string</category-code>
<image>string</image>
<mpn>string</mpn>
<msrp type="float">42.0</msrp>
<manufacturer-code>string</manufacturer-code>
<manufacturer-name>string</manufacturer-name>
<merchant-code>string</merchant-code>
<merchant-name>string</merchant-name>
<merchant-city>string</merchant-city>
<merchant-commission-percentage type="float">42.0</merchant-commission-percentage>
<merchant-deficiency-percentage type="float">42.0</merchant-deficiency-percentage>
<merchant-handling-fee type="float">42.0</merchant-handling-fee>
<is-sale type="boolean">true</is-sale>
<return-item-fee type="float">42.0</return-item-fee>
<base-return-item-fee type="float">42.0</base-return-item-fee>
<is-outlet type="boolean">true</is-outlet>
</extension-attributes>
</item>
</items>
<comments type="array">
<comment>
<comment>string</comment>
<created-at>string</created-at>
<entity-id type="integer">42</entity-id>
<is-customer-notified type="integer">42</is-customer-notified>
<is-visible-on-front type="integer">42</is-visible-on-front>
<parent-id type="integer">42</parent-id>
<extension-attributes>
</extension-attributes>
</comment>
</comments>
<extension-attributes>
<base-customer-balance-amount type="float">42.0</base-customer-balance-amount>
<customer-balance-amount type="float">42.0</customer-balance-amount>
<base-gift-cards-amount type="float">42.0</base-gift-cards-amount>
<gift-cards-amount type="float">42.0</gift-cards-amount>
<gw-base-price>string</gw-base-price>
<gw-price>string</gw-price>
<gw-items-base-price>string</gw-items-base-price>
<gw-items-price>string</gw-items-price>
<gw-card-base-price>string</gw-card-base-price>
<gw-card-price>string</gw-card-price>
<gw-base-tax-amount>string</gw-base-tax-amount>
<gw-tax-amount>string</gw-tax-amount>
<gw-items-base-tax-amount>string</gw-items-base-tax-amount>
<gw-items-tax-amount>string</gw-items-tax-amount>
<gw-card-base-tax-amount>string</gw-card-base-tax-amount>
<gw-card-tax-amount>string</gw-card-tax-amount>
<return-fee type="float">42.0</return-fee>
<base-return-fee type="float">42.0</base-return-fee>
<psp-reference>string</psp-reference>
<company-id type="integer">42</company-id>
</extension-attributes>
</entity>
</root>
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 (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<adjustment type="float">42.0</adjustment>
<adjustment-negative type="float">42.0</adjustment-negative>
<adjustment-positive type="float">42.0</adjustment-positive>
<base-adjustment type="float">42.0</base-adjustment>
<base-adjustment-negative type="float">42.0</base-adjustment-negative>
<base-adjustment-positive type="float">42.0</base-adjustment-positive>
<base-currency-code>string</base-currency-code>
<base-discount-amount type="float">42.0</base-discount-amount>
<base-grand-total type="float">42.0</base-grand-total>
<base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
<base-shipping-amount type="float">42.0</base-shipping-amount>
<base-shipping-discount-tax-compensation-amnt type="float">42.0</base-shipping-discount-tax-compensation-amnt>
<base-shipping-incl-tax type="float">42.0</base-shipping-incl-tax>
<base-shipping-tax-amount type="float">42.0</base-shipping-tax-amount>
<base-subtotal type="float">42.0</base-subtotal>
<base-subtotal-incl-tax type="float">42.0</base-subtotal-incl-tax>
<base-tax-amount type="float">42.0</base-tax-amount>
<base-to-global-rate type="float">42.0</base-to-global-rate>
<base-to-order-rate type="float">42.0</base-to-order-rate>
<billing-address-id type="integer">42</billing-address-id>
<created-at>string</created-at>
<creditmemo-status type="integer">42</creditmemo-status>
<discount-amount type="float">42.0</discount-amount>
<discount-description>string</discount-description>
<email-sent type="integer">42</email-sent>
<entity-id type="integer">42</entity-id>
<global-currency-code>string</global-currency-code>
<grand-total type="float">42.0</grand-total>
<discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
<increment-id>string</increment-id>
<invoice-id type="integer">42</invoice-id>
<order-currency-code>string</order-currency-code>
<order-id type="integer">42</order-id>
<shipping-address-id type="integer">42</shipping-address-id>
<shipping-amount type="float">42.0</shipping-amount>
<shipping-discount-tax-compensation-amount type="float">42.0</shipping-discount-tax-compensation-amount>
<shipping-incl-tax type="float">42.0</shipping-incl-tax>
<shipping-tax-amount type="float">42.0</shipping-tax-amount>
<state type="integer">42</state>
<store-currency-code>string</store-currency-code>
<store-id type="integer">42</store-id>
<store-to-base-rate type="float">42.0</store-to-base-rate>
<store-to-order-rate type="float">42.0</store-to-order-rate>
<subtotal type="float">42.0</subtotal>
<subtotal-incl-tax type="float">42.0</subtotal-incl-tax>
<tax-amount type="float">42.0</tax-amount>
<transaction-id>string</transaction-id>
<updated-at>string</updated-at>
<items type="array">
<item>
<additional-data>string</additional-data>
<base-cost type="float">42.0</base-cost>
<base-discount-amount type="float">42.0</base-discount-amount>
<base-discount-tax-compensation-amount type="float">42.0</base-discount-tax-compensation-amount>
<base-price type="float">42.0</base-price>
<base-price-incl-tax type="float">42.0</base-price-incl-tax>
<base-row-total type="float">42.0</base-row-total>
<base-row-total-incl-tax type="float">42.0</base-row-total-incl-tax>
<base-tax-amount type="float">42.0</base-tax-amount>
<base-weee-tax-applied-amount type="float">42.0</base-weee-tax-applied-amount>
<base-weee-tax-applied-row-amnt type="float">42.0</base-weee-tax-applied-row-amnt>
<base-weee-tax-disposition type="float">42.0</base-weee-tax-disposition>
<base-weee-tax-row-disposition type="float">42.0</base-weee-tax-row-disposition>
<description>string</description>
<discount-amount type="float">42.0</discount-amount>
<entity-id type="integer">42</entity-id>
<discount-tax-compensation-amount type="float">42.0</discount-tax-compensation-amount>
<name>string</name>
<order-item-id type="integer">42</order-item-id>
<parent-id type="integer">42</parent-id>
<price type="float">42.0</price>
<price-incl-tax type="float">42.0</price-incl-tax>
<product-id type="integer">42</product-id>
<qty type="float">42.0</qty>
<row-total type="float">42.0</row-total>
<row-total-incl-tax type="float">42.0</row-total-incl-tax>
<sku>string</sku>
<tax-amount type="float">42.0</tax-amount>
<weee-tax-applied>string</weee-tax-applied>
<weee-tax-applied-amount type="float">42.0</weee-tax-applied-amount>
<weee-tax-applied-row-amount type="float">42.0</weee-tax-applied-row-amount>
<weee-tax-disposition type="float">42.0</weee-tax-disposition>
<weee-tax-row-disposition type="float">42.0</weee-tax-row-disposition>
<extension-attributes>
<status>string</status>
<list-price type="float">42.0</list-price>
<size>string</size>
<color>string</color>
<merchant-product-reference>string</merchant-product-reference>
<category-code>string</category-code>
<image>string</image>
<mpn>string</mpn>
<msrp type="float">42.0</msrp>
<manufacturer-code>string</manufacturer-code>
<manufacturer-name>string</manufacturer-name>
<merchant-code>string</merchant-code>
<merchant-name>string</merchant-name>
<merchant-city>string</merchant-city>
<merchant-commission-percentage type="float">42.0</merchant-commission-percentage>
<merchant-deficiency-percentage type="float">42.0</merchant-deficiency-percentage>
<merchant-handling-fee type="float">42.0</merchant-handling-fee>
<is-sale type="boolean">true</is-sale>
<return-item-fee type="float">42.0</return-item-fee>
<base-return-item-fee type="float">42.0</base-return-item-fee>
<is-outlet type="boolean">true</is-outlet>
</extension-attributes>
</item>
</items>
<comments type="array">
<comment>
<comment>string</comment>
<created-at>string</created-at>
<entity-id type="integer">42</entity-id>
<is-customer-notified type="integer">42</is-customer-notified>
<is-visible-on-front type="integer">42</is-visible-on-front>
<parent-id type="integer">42</parent-id>
<extension-attributes>
</extension-attributes>
</comment>
</comments>
<extension-attributes>
<base-customer-balance-amount type="float">42.0</base-customer-balance-amount>
<customer-balance-amount type="float">42.0</customer-balance-amount>
<base-gift-cards-amount type="float">42.0</base-gift-cards-amount>
<gift-cards-amount type="float">42.0</gift-cards-amount>
<gw-base-price>string</gw-base-price>
<gw-price>string</gw-price>
<gw-items-base-price>string</gw-items-base-price>
<gw-items-price>string</gw-items-price>
<gw-card-base-price>string</gw-card-base-price>
<gw-card-price>string</gw-card-price>
<gw-base-tax-amount>string</gw-base-tax-amount>
<gw-tax-amount>string</gw-tax-amount>
<gw-items-base-tax-amount>string</gw-items-base-tax-amount>
<gw-items-tax-amount>string</gw-items-tax-amount>
<gw-card-base-tax-amount>string</gw-card-base-tax-amount>
<gw-card-tax-amount>string</gw-card-tax-amount>
<return-fee type="float">42.0</return-fee>
<base-return-fee type="float">42.0</base-return-fee>
<psp-reference>string</psp-reference>
<company-id type="integer">42</company-id>
</extension-attributes>
</root>
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 (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
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"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>