Invoice

sales Invoice Order V1Execute Post

post
Path parameters
orderIdstringRequired

(Required)

Example: <integer>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"capture":"<boolean>","items":[{"order_item_id":"<integer>","qty":"<number>","extension_attributes":"<object>"},{"order_item_id":"<integer>","qty":"<number>","extension_attributes":"<object>"}],"notify":"<boolean>","appendComment":"<boolean>","comment":{"comment":"<string>","is_visible_on_front":"<integer>","extension_attributes":"<object>"},"arguments":{"extension_attributes":"<object>"}}
Responses
200

OK

application/json
Responseobject
post
POST /V1/order/{orderId}/invoice HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 393

{
  "capture": "<boolean>",
  "items": [
    {
      "order_item_id": "<integer>",
      "qty": "<number>",
      "extension_attributes": "<object>"
    },
    {
      "order_item_id": "<integer>",
      "qty": "<number>",
      "extension_attributes": "<object>"
    }
  ],
  "notify": "<boolean>",
  "appendComment": "<boolean>",
  "comment": {
    "comment": "<string>",
    "is_visible_on_front": "<integer>",
    "extension_attributes": "<object>"
  },
  "arguments": {
    "extension_attributes": "<object>"
  }
}
66689314