Maginium
Admin Api
Admin Api
  • About
  • API reference
    • CustomerGroups
      • Permissions
      • Default
      • Search
    • Customers
      • Confirm
      • BillingAddress
      • ShippingAddress
      • Carts
      • Me
        • Activate
        • Password
        • BillingAddress
        • ShippingAddress
      • Search
      • Activate
      • Password
        • ResetLinkToken
      • ResetPassword
      • Validate
      • IsEmailAvailable
      • Addresses
      • Permissions
        • Readonly
    • CmsPage
      • Search
    • CmsBlock
      • Search
    • Products
      • Media
        • Types
      • Options
        • Types
      • Links
        • Types
        • Attributes
      • Websites
      • Downloadable links
        • Samples
      • Attributes
        • Options
        • Types
      • Attribute sets
        • Attributes
        • Groups
          • List
        • Sets
          • List
      • Tier prices
      • Types
      • Tier prices information
      • Tier prices delete
      • Base prices information
      • Base prices
      • Cost information
      • Cost
      • Cost delete
      • Special price information
      • Special price
      • Special price delete
      • StockItems
      • Group prices
        • Tiers
          • Price
    • Categories
      • Attributes
        • Options
      • Products
      • Move
      • List
    • StockItems
      • LowStock
        • /
    • Carts
      • Items
      • Selected payment method
      • Billing address
      • Coupons
      • Gift message
      • Order
      • Shipping methods
      • Estimate shipping methods by address id
      • Estimate shipping methods
      • Payment methods
      • Totals
      • Shipping information
      • Totals information
      • Mine
        • Items
        • Selected payment method
        • Billing address
        • Coupons
        • Payment information
        • Gift message
        • Order
        • Shipping methods
        • Estimate shipping methods by address id
        • Estimate shipping methods
        • Payment methods
        • Totals
        • Collect totals
        • Shipping information
        • Totals information
        • Set payment information
      • Licence
        • List
      • /
      • Search
    • Guest carts
      • Items
      • Selected payment method
      • Billing address
      • Coupons
      • Payment information
      • Gift message
      • Order
      • Shipping methods
      • Estimate shipping methods
      • Payment methods
      • Collect totals
      • Totals
      • Shipping information
      • Totals information
      • Set payment information
    • Orders
      • Comments
      • Statuses
      • Cancel
      • Emails
      • Hold
      • Unhold
      • Items
      • Create
    • Invoices
      • Comments
      • Emails
      • Void
      • Capture
      • /
    • Creditmemo
      • Comments
      • Emails
      • Refund
    • Shipment
      • Comments
      • Emails
      • Label
      • Track
      • /
    • Transactions
    • TaxRates
      • Search
    • TaxRules
      • Search
    • TaxClasses
      • Search
    • SalesRules
      • Search
    • Coupons
      • Search
      • Generate
      • DeleteByIds
      • DeleteByCodes
    • Bulk
      • Detailed status
      • Status
      • Operation status
    • Modules
    • Search
    • Addresses
    • Products render info
    • StockStatuses
    • Creditmemos
    • Shipments
    • Amazon shipping address
    • Amazon billing address
    • Store
      • StoreViews
      • StoreGroups
      • Websites
      • StoreConfigs
    • Adobestock
      • Asset
        • Search
        • List
      • Search
    • Directory
      • Countries
      • Currency
    • Eav
      • Attribute sets
        • List
    • AttributeMetadata
      • Customer
        • Attribute
        • Form
        • Custom
      • CustomerAddress
        • Attribute
        • Form
        • Custom
    • Bundle products
      • Links
      • Options
        • Children
        • All
        • Types
        • Add
      • Children
    • Order
      • Refund
      • Ship
      • Invoice
      • Notify orders are ready for pickup
    • Configurable products
      • Children
      • Options
        • All
      • Child
      • Variation
    • Inventory
      • Sources
      • Stocks
      • Stock source links
      • Source items
      • Low quantity notification
      • Get sources assigned to stock ordered by priority
      • Stock source links delete
      • Source items delete
      • Bulk product source assign
      • Bulk product source unassign
      • Bulk product source transfer
      • Bulk partial source transfer
      • Get distance provider code
      • Get distance
      • Get latlng from address
      • Get latslngs from address
      • Export stock salable qty
      • Dump stock index data
      • Get product salable quantity
      • Is product salable
      • Are products salable
      • Is product salable for requested qty
      • Stock resolver
      • Source selection algorithm list
      • Source selection algorithm result
      • Low quantity notifications delete
      • Are product salable for requested qty
        • /
      • In store pickup
        • Pickup locations
          • /
    • Invoice
      • Refund
    • Analytics
      • Link
    • Amazon
      • Order ref
    • Applepay
      • Auth
    • Address
      • Cleanse
    • Guest address
      • Cleanse
    • Vertex address validation
      • Vertex address
    • Integration
      • Admin
        • Token
      • Customer
        • Token
Powered by GitBook
On this page
  1. API reference

Creditmemo

Previous/NextComments

sales Creditmemo Repository V1Get Get

get

Loads a specified credit memo.

Path parameters
idstringRequired

(Required) The credit memo ID.

Example: <integer>
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /V1/creditmemo/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
  "order_id": "<integer>",
  "items": [
    {
      "base_cost": "<number>",
      "base_price": "<number>",
      "entity_id": "<integer>",
      "order_item_id": "<integer>",
      "qty": "<number>",
      "additional_data": "<string>",
      "base_discount_amount": "<number>",
      "base_discount_tax_compensation_amount": "<number>",
      "base_price_incl_tax": "<number>",
      "base_row_total": "<number>",
      "base_row_total_incl_tax": "<number>",
      "base_tax_amount": "<number>",
      "base_weee_tax_applied_amount": "<number>",
      "base_weee_tax_applied_row_amnt": "<number>",
      "base_weee_tax_disposition": "<number>",
      "base_weee_tax_row_disposition": "<number>",
      "description": "<string>",
      "discount_amount": "<number>",
      "discount_tax_compensation_amount": "<number>",
      "name": "<string>",
      "parent_id": "<integer>",
      "price": "<number>",
      "price_incl_tax": "<number>",
      "product_id": "<integer>",
      "row_total": "<number>",
      "row_total_incl_tax": "<number>",
      "sku": "<string>",
      "tax_amount": "<number>",
      "weee_tax_applied": "<string>",
      "weee_tax_applied_amount": "<number>",
      "weee_tax_applied_row_amount": "<number>",
      "weee_tax_disposition": "<number>",
      "weee_tax_row_disposition": "<number>",
      "extension_attributes": {
        "vertex_tax_codes": [
          "<string>",
          "<string>"
        ],
        "invoice_text_codes": [
          "<string>",
          "<string>"
        ],
        "tax_codes": [
          "<string>",
          "<string>"
        ]
      }
    },
    {
      "base_cost": "<number>",
      "base_price": "<number>",
      "entity_id": "<integer>",
      "order_item_id": "<integer>",
      "qty": "<number>",
      "additional_data": "<string>",
      "base_discount_amount": "<number>",
      "base_discount_tax_compensation_amount": "<number>",
      "base_price_incl_tax": "<number>",
      "base_row_total": "<number>",
      "base_row_total_incl_tax": "<number>",
      "base_tax_amount": "<number>",
      "base_weee_tax_applied_amount": "<number>",
      "base_weee_tax_applied_row_amnt": "<number>",
      "base_weee_tax_disposition": "<number>",
      "base_weee_tax_row_disposition": "<number>",
      "description": "<string>",
      "discount_amount": "<number>",
      "discount_tax_compensation_amount": "<number>",
      "name": "<string>",
      "parent_id": "<integer>",
      "price": "<number>",
      "price_incl_tax": "<number>",
      "product_id": "<integer>",
      "row_total": "<number>",
      "row_total_incl_tax": "<number>",
      "sku": "<string>",
      "tax_amount": "<number>",
      "weee_tax_applied": "<string>",
      "weee_tax_applied_amount": "<number>",
      "weee_tax_applied_row_amount": "<number>",
      "weee_tax_disposition": "<number>",
      "weee_tax_row_disposition": "<number>",
      "extension_attributes": {
        "vertex_tax_codes": [
          "<string>",
          "<string>"
        ],
        "invoice_text_codes": [
          "<string>",
          "<string>"
        ],
        "tax_codes": [
          "<string>",
          "<string>"
        ]
      }
    }
  ],
  "adjustment": "<number>",
  "adjustment_negative": "<number>",
  "adjustment_positive": "<number>",
  "base_adjustment": "<number>",
  "base_adjustment_negative": "<number>",
  "base_adjustment_positive": "<number>",
  "base_currency_code": "<string>",
  "base_discount_amount": "<number>",
  "base_grand_total": "<number>",
  "base_discount_tax_compensation_amount": "<number>",
  "base_shipping_amount": "<number>",
  "base_shipping_discount_tax_compensation_amnt": "<number>",
  "base_shipping_incl_tax": "<number>",
  "base_shipping_tax_amount": "<number>",
  "base_subtotal": "<number>",
  "base_subtotal_incl_tax": "<number>",
  "base_tax_amount": "<number>",
  "base_to_global_rate": "<number>",
  "base_to_order_rate": "<number>",
  "billing_address_id": "<integer>",
  "created_at": "<string>",
  "creditmemo_status": "<integer>",
  "discount_amount": "<number>",
  "discount_description": "<string>",
  "email_sent": "<integer>",
  "entity_id": "<integer>",
  "global_currency_code": "<string>",
  "grand_total": "<number>",
  "discount_tax_compensation_amount": "<number>",
  "increment_id": "<string>",
  "invoice_id": "<integer>",
  "order_currency_code": "<string>",
  "shipping_address_id": "<integer>",
  "shipping_amount": "<number>",
  "shipping_discount_tax_compensation_amount": "<number>",
  "shipping_incl_tax": "<number>",
  "shipping_tax_amount": "<number>",
  "state": "<integer>",
  "store_currency_code": "<string>",
  "store_id": "<integer>",
  "store_to_base_rate": "<number>",
  "store_to_order_rate": "<number>",
  "subtotal": "<number>",
  "subtotal_incl_tax": "<number>",
  "tax_amount": "<number>",
  "transaction_id": "<string>",
  "updated_at": "<string>",
  "comments": [
    {
      "comment": "<string>",
      "is_customer_notified": "<integer>",
      "is_visible_on_front": "<integer>",
      "parent_id": "<integer>",
      "created_at": "<string>",
      "entity_id": "<integer>",
      "extension_attributes": "<object>"
    },
    {
      "comment": "<string>",
      "is_customer_notified": "<integer>",
      "is_visible_on_front": "<integer>",
      "parent_id": "<integer>",
      "created_at": "<string>",
      "entity_id": "<integer>",
      "extension_attributes": "<object>"
    }
  ],
  "extension_attributes": {
    "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>"
  }
}

sales Creditmemo Management V1Cancel Put

put

Cancels a specified credit memo.

Path parameters
idstringRequired

(Required) The credit memo ID.

Example: <integer>
Body
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /V1/creditmemo/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true
  • GETsales Creditmemo Repository V1Get Get
  • PUTsales Creditmemo Management V1Cancel Put
  • POSTsales Creditmemo Repository V1Save Post

sales Creditmemo Repository V1Save Post

post

Performs persist operations for a specified credit memo.

Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"entity":{"order_id":"<integer>","items":[{"base_cost":"<number>","base_price":"<number>","entity_id":"<integer>","order_item_id":"<integer>","qty":"<number>","additional_data":"<string>","base_discount_amount":"<number>","base_discount_tax_compensation_amount":"<number>","base_price_incl_tax":"<number>","base_row_total":"<number>","base_row_total_incl_tax":"<number>","base_tax_amount":"<number>","base_weee_tax_applied_amount":"<number>","base_weee_tax_applied_row_amnt":"<number>","base_weee_tax_disposition":"<number>","base_weee_tax_row_disposition":"<number>","description":"<string>","discount_amount":"<number>","discount_tax_compensation_amount":"<number>","name":"<string>","parent_id":"<integer>","price":"<number>","price_incl_tax":"<number>","product_id":"<integer>","row_total":"<number>","row_total_incl_tax":"<number>","sku":"<string>","tax_amount":"<number>","weee_tax_applied":"<string>","weee_tax_applied_amount":"<number>","weee_tax_applied_row_amount":"<number>","weee_tax_disposition":"<number>","weee_tax_row_disposition":"<number>","extension_attributes":{"vertex_tax_codes":["<string>","<string>"],"invoice_text_codes":["<string>","<string>"],"tax_codes":["<string>","<string>"]}},{"base_cost":"<number>","base_price":"<number>","entity_id":"<integer>","order_item_id":"<integer>","qty":"<number>","additional_data":"<string>","base_discount_amount":"<number>","base_discount_tax_compensation_amount":"<number>","base_price_incl_tax":"<number>","base_row_total":"<number>","base_row_total_incl_tax":"<number>","base_tax_amount":"<number>","base_weee_tax_applied_amount":"<number>","base_weee_tax_applied_row_amnt":"<number>","base_weee_tax_disposition":"<number>","base_weee_tax_row_disposition":"<number>","description":"<string>","discount_amount":"<number>","discount_tax_compensation_amount":"<number>","name":"<string>","parent_id":"<integer>","price":"<number>","price_incl_tax":"<number>","product_id":"<integer>","row_total":"<number>","row_total_incl_tax":"<number>","sku":"<string>","tax_amount":"<number>","weee_tax_applied":"<string>","weee_tax_applied_amount":"<number>","weee_tax_applied_row_amount":"<number>","weee_tax_disposition":"<number>","weee_tax_row_disposition":"<number>","extension_attributes":{"vertex_tax_codes":["<string>","<string>"],"invoice_text_codes":["<string>","<string>"],"tax_codes":["<string>","<string>"]}}],"adjustment":"<number>","adjustment_negative":"<number>","adjustment_positive":"<number>","base_adjustment":"<number>","base_adjustment_negative":"<number>","base_adjustment_positive":"<number>","base_currency_code":"<string>","base_discount_amount":"<number>","base_grand_total":"<number>","base_discount_tax_compensation_amount":"<number>","base_shipping_amount":"<number>","base_shipping_discount_tax_compensation_amnt":"<number>","base_shipping_incl_tax":"<number>","base_shipping_tax_amount":"<number>","base_subtotal":"<number>","base_subtotal_incl_tax":"<number>","base_tax_amount":"<number>","base_to_global_rate":"<number>","base_to_order_rate":"<number>","billing_address_id":"<integer>","created_at":"<string>","creditmemo_status":"<integer>","discount_amount":"<number>","discount_description":"<string>","email_sent":"<integer>","entity_id":"<integer>","global_currency_code":"<string>","grand_total":"<number>","discount_tax_compensation_amount":"<number>","increment_id":"<string>","invoice_id":"<integer>","order_currency_code":"<string>","shipping_address_id":"<integer>","shipping_amount":"<number>","shipping_discount_tax_compensation_amount":"<number>","shipping_incl_tax":"<number>","shipping_tax_amount":"<number>","state":"<integer>","store_currency_code":"<string>","store_id":"<integer>","store_to_base_rate":"<number>","store_to_order_rate":"<number>","subtotal":"<number>","subtotal_incl_tax":"<number>","tax_amount":"<number>","transaction_id":"<string>","updated_at":"<string>","comments":[{"comment":"<string>","is_customer_notified":"<integer>","is_visible_on_front":"<integer>","parent_id":"<integer>","created_at":"<string>","entity_id":"<integer>","extension_attributes":"<object>"},{"comment":"<string>","is_customer_notified":"<integer>","is_visible_on_front":"<integer>","parent_id":"<integer>","created_at":"<string>","entity_id":"<integer>","extension_attributes":"<object>"}],"extension_attributes":{"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>"}}}
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /V1/creditmemo HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 4686

{
  "entity": {
    "order_id": "<integer>",
    "items": [
      {
        "base_cost": "<number>",
        "base_price": "<number>",
        "entity_id": "<integer>",
        "order_item_id": "<integer>",
        "qty": "<number>",
        "additional_data": "<string>",
        "base_discount_amount": "<number>",
        "base_discount_tax_compensation_amount": "<number>",
        "base_price_incl_tax": "<number>",
        "base_row_total": "<number>",
        "base_row_total_incl_tax": "<number>",
        "base_tax_amount": "<number>",
        "base_weee_tax_applied_amount": "<number>",
        "base_weee_tax_applied_row_amnt": "<number>",
        "base_weee_tax_disposition": "<number>",
        "base_weee_tax_row_disposition": "<number>",
        "description": "<string>",
        "discount_amount": "<number>",
        "discount_tax_compensation_amount": "<number>",
        "name": "<string>",
        "parent_id": "<integer>",
        "price": "<number>",
        "price_incl_tax": "<number>",
        "product_id": "<integer>",
        "row_total": "<number>",
        "row_total_incl_tax": "<number>",
        "sku": "<string>",
        "tax_amount": "<number>",
        "weee_tax_applied": "<string>",
        "weee_tax_applied_amount": "<number>",
        "weee_tax_applied_row_amount": "<number>",
        "weee_tax_disposition": "<number>",
        "weee_tax_row_disposition": "<number>",
        "extension_attributes": {
          "vertex_tax_codes": [
            "<string>",
            "<string>"
          ],
          "invoice_text_codes": [
            "<string>",
            "<string>"
          ],
          "tax_codes": [
            "<string>",
            "<string>"
          ]
        }
      },
      {
        "base_cost": "<number>",
        "base_price": "<number>",
        "entity_id": "<integer>",
        "order_item_id": "<integer>",
        "qty": "<number>",
        "additional_data": "<string>",
        "base_discount_amount": "<number>",
        "base_discount_tax_compensation_amount": "<number>",
        "base_price_incl_tax": "<number>",
        "base_row_total": "<number>",
        "base_row_total_incl_tax": "<number>",
        "base_tax_amount": "<number>",
        "base_weee_tax_applied_amount": "<number>",
        "base_weee_tax_applied_row_amnt": "<number>",
        "base_weee_tax_disposition": "<number>",
        "base_weee_tax_row_disposition": "<number>",
        "description": "<string>",
        "discount_amount": "<number>",
        "discount_tax_compensation_amount": "<number>",
        "name": "<string>",
        "parent_id": "<integer>",
        "price": "<number>",
        "price_incl_tax": "<number>",
        "product_id": "<integer>",
        "row_total": "<number>",
        "row_total_incl_tax": "<number>",
        "sku": "<string>",
        "tax_amount": "<number>",
        "weee_tax_applied": "<string>",
        "weee_tax_applied_amount": "<number>",
        "weee_tax_applied_row_amount": "<number>",
        "weee_tax_disposition": "<number>",
        "weee_tax_row_disposition": "<number>",
        "extension_attributes": {
          "vertex_tax_codes": [
            "<string>",
            "<string>"
          ],
          "invoice_text_codes": [
            "<string>",
            "<string>"
          ],
          "tax_codes": [
            "<string>",
            "<string>"
          ]
        }
      }
    ],
    "adjustment": "<number>",
    "adjustment_negative": "<number>",
    "adjustment_positive": "<number>",
    "base_adjustment": "<number>",
    "base_adjustment_negative": "<number>",
    "base_adjustment_positive": "<number>",
    "base_currency_code": "<string>",
    "base_discount_amount": "<number>",
    "base_grand_total": "<number>",
    "base_discount_tax_compensation_amount": "<number>",
    "base_shipping_amount": "<number>",
    "base_shipping_discount_tax_compensation_amnt": "<number>",
    "base_shipping_incl_tax": "<number>",
    "base_shipping_tax_amount": "<number>",
    "base_subtotal": "<number>",
    "base_subtotal_incl_tax": "<number>",
    "base_tax_amount": "<number>",
    "base_to_global_rate": "<number>",
    "base_to_order_rate": "<number>",
    "billing_address_id": "<integer>",
    "created_at": "<string>",
    "creditmemo_status": "<integer>",
    "discount_amount": "<number>",
    "discount_description": "<string>",
    "email_sent": "<integer>",
    "entity_id": "<integer>",
    "global_currency_code": "<string>",
    "grand_total": "<number>",
    "discount_tax_compensation_amount": "<number>",
    "increment_id": "<string>",
    "invoice_id": "<integer>",
    "order_currency_code": "<string>",
    "shipping_address_id": "<integer>",
    "shipping_amount": "<number>",
    "shipping_discount_tax_compensation_amount": "<number>",
    "shipping_incl_tax": "<number>",
    "shipping_tax_amount": "<number>",
    "state": "<integer>",
    "store_currency_code": "<string>",
    "store_id": "<integer>",
    "store_to_base_rate": "<number>",
    "store_to_order_rate": "<number>",
    "subtotal": "<number>",
    "subtotal_incl_tax": "<number>",
    "tax_amount": "<number>",
    "transaction_id": "<string>",
    "updated_at": "<string>",
    "comments": [
      {
        "comment": "<string>",
        "is_customer_notified": "<integer>",
        "is_visible_on_front": "<integer>",
        "parent_id": "<integer>",
        "created_at": "<string>",
        "entity_id": "<integer>",
        "extension_attributes": "<object>"
      },
      {
        "comment": "<string>",
        "is_customer_notified": "<integer>",
        "is_visible_on_front": "<integer>",
        "parent_id": "<integer>",
        "created_at": "<string>",
        "entity_id": "<integer>",
        "extension_attributes": "<object>"
      }
    ],
    "extension_attributes": {
      "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>"
    }
  }
}
{
  "order_id": "<integer>",
  "items": [
    {
      "base_cost": "<number>",
      "base_price": "<number>",
      "entity_id": "<integer>",
      "order_item_id": "<integer>",
      "qty": "<number>",
      "additional_data": "<string>",
      "base_discount_amount": "<number>",
      "base_discount_tax_compensation_amount": "<number>",
      "base_price_incl_tax": "<number>",
      "base_row_total": "<number>",
      "base_row_total_incl_tax": "<number>",
      "base_tax_amount": "<number>",
      "base_weee_tax_applied_amount": "<number>",
      "base_weee_tax_applied_row_amnt": "<number>",
      "base_weee_tax_disposition": "<number>",
      "base_weee_tax_row_disposition": "<number>",
      "description": "<string>",
      "discount_amount": "<number>",
      "discount_tax_compensation_amount": "<number>",
      "name": "<string>",
      "parent_id": "<integer>",
      "price": "<number>",
      "price_incl_tax": "<number>",
      "product_id": "<integer>",
      "row_total": "<number>",
      "row_total_incl_tax": "<number>",
      "sku": "<string>",
      "tax_amount": "<number>",
      "weee_tax_applied": "<string>",
      "weee_tax_applied_amount": "<number>",
      "weee_tax_applied_row_amount": "<number>",
      "weee_tax_disposition": "<number>",
      "weee_tax_row_disposition": "<number>",
      "extension_attributes": {
        "vertex_tax_codes": [
          "<string>",
          "<string>"
        ],
        "invoice_text_codes": [
          "<string>",
          "<string>"
        ],
        "tax_codes": [
          "<string>",
          "<string>"
        ]
      }
    },
    {
      "base_cost": "<number>",
      "base_price": "<number>",
      "entity_id": "<integer>",
      "order_item_id": "<integer>",
      "qty": "<number>",
      "additional_data": "<string>",
      "base_discount_amount": "<number>",
      "base_discount_tax_compensation_amount": "<number>",
      "base_price_incl_tax": "<number>",
      "base_row_total": "<number>",
      "base_row_total_incl_tax": "<number>",
      "base_tax_amount": "<number>",
      "base_weee_tax_applied_amount": "<number>",
      "base_weee_tax_applied_row_amnt": "<number>",
      "base_weee_tax_disposition": "<number>",
      "base_weee_tax_row_disposition": "<number>",
      "description": "<string>",
      "discount_amount": "<number>",
      "discount_tax_compensation_amount": "<number>",
      "name": "<string>",
      "parent_id": "<integer>",
      "price": "<number>",
      "price_incl_tax": "<number>",
      "product_id": "<integer>",
      "row_total": "<number>",
      "row_total_incl_tax": "<number>",
      "sku": "<string>",
      "tax_amount": "<number>",
      "weee_tax_applied": "<string>",
      "weee_tax_applied_amount": "<number>",
      "weee_tax_applied_row_amount": "<number>",
      "weee_tax_disposition": "<number>",
      "weee_tax_row_disposition": "<number>",
      "extension_attributes": {
        "vertex_tax_codes": [
          "<string>",
          "<string>"
        ],
        "invoice_text_codes": [
          "<string>",
          "<string>"
        ],
        "tax_codes": [
          "<string>",
          "<string>"
        ]
      }
    }
  ],
  "adjustment": "<number>",
  "adjustment_negative": "<number>",
  "adjustment_positive": "<number>",
  "base_adjustment": "<number>",
  "base_adjustment_negative": "<number>",
  "base_adjustment_positive": "<number>",
  "base_currency_code": "<string>",
  "base_discount_amount": "<number>",
  "base_grand_total": "<number>",
  "base_discount_tax_compensation_amount": "<number>",
  "base_shipping_amount": "<number>",
  "base_shipping_discount_tax_compensation_amnt": "<number>",
  "base_shipping_incl_tax": "<number>",
  "base_shipping_tax_amount": "<number>",
  "base_subtotal": "<number>",
  "base_subtotal_incl_tax": "<number>",
  "base_tax_amount": "<number>",
  "base_to_global_rate": "<number>",
  "base_to_order_rate": "<number>",
  "billing_address_id": "<integer>",
  "created_at": "<string>",
  "creditmemo_status": "<integer>",
  "discount_amount": "<number>",
  "discount_description": "<string>",
  "email_sent": "<integer>",
  "entity_id": "<integer>",
  "global_currency_code": "<string>",
  "grand_total": "<number>",
  "discount_tax_compensation_amount": "<number>",
  "increment_id": "<string>",
  "invoice_id": "<integer>",
  "order_currency_code": "<string>",
  "shipping_address_id": "<integer>",
  "shipping_amount": "<number>",
  "shipping_discount_tax_compensation_amount": "<number>",
  "shipping_incl_tax": "<number>",
  "shipping_tax_amount": "<number>",
  "state": "<integer>",
  "store_currency_code": "<string>",
  "store_id": "<integer>",
  "store_to_base_rate": "<number>",
  "store_to_order_rate": "<number>",
  "subtotal": "<number>",
  "subtotal_incl_tax": "<number>",
  "tax_amount": "<number>",
  "transaction_id": "<string>",
  "updated_at": "<string>",
  "comments": [
    {
      "comment": "<string>",
      "is_customer_notified": "<integer>",
      "is_visible_on_front": "<integer>",
      "parent_id": "<integer>",
      "created_at": "<string>",
      "entity_id": "<integer>",
      "extension_attributes": "<object>"
    },
    {
      "comment": "<string>",
      "is_customer_notified": "<integer>",
      "is_visible_on_front": "<integer>",
      "parent_id": "<integer>",
      "created_at": "<string>",
      "entity_id": "<integer>",
      "extension_attributes": "<object>"
    }
  ],
  "extension_attributes": {
    "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>"
  }
}