curl --location -g --request POST 'http:///V1/order//invoice' \
--header 'Content-Type: application/json' \
--data-raw '{
"appendComment": true,
"arguments": {
"extension_attributes": {}
},
"capture": true,
"comment": {
"comment": "string",
"extension_attributes": {},
"is_visible_on_front": 0
},
"items": [
{
"extension_attributes": {},
"order_item_id": 0,
"qty": 0
}
],
"notify": true
}'
0