Suppose I have two products in order,one is simple product and other is bundle product.When i generate first simple product invoice using item_id of simple product using this body:

  "capture": false,
  "items": [
    {"order_item_id": 1249,"qty": 1}
  "notify": false,
  "appendComment": false,
  "comment": {
    "extension_attributes": {},
    "comment": "string",
    "is_visible_on_front": 0
  "arguments": {
    "extension_attributes": {}

It show response about simple product information and also bundle parent_item id.What is issue?

  • This is screenshot of invoice which are generated by /V1/order/:order_id/invoice: i.sstatic.net/49OQy.png Commented Sep 20, 2018 at 4:54
  • can u say what should i pass in body to get invoice. Commented Sep 29, 2018 at 9:27
  • No, I will pass this data { "items": [ {"order_item_id": 1249,"qty": 1} ] }.But it generate wrong invoice details simple product and bundle parent_item detail is showing @PratapvarmaPenmetsa Commented Oct 1, 2018 at 4:50
  • { "message": "Request does not match any route.", "trace": null } i am getting this response /V1/order/51/invoice 51 is my order_id Commented Oct 1, 2018 at 4:56
  • Please check method is POST. Commented Oct 1, 2018 at 5:02


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.