No products in the cart.
- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Requirements:
To obtain all the invoice information of a sales order, by using only the sales order id.
Problem:
Looking at the Magento 2 API Documentation, I cannot see a method that allows a HTTP GET request. Also, when viewing the response for the sales order, I cannot see a reference to the invoice id. /orders/{order_id}
Go to the API documentation, and find "invoices".
The request should look something like this:
/V1/invoices
searchCriteria[filterGroups][0][filters][0][eq]
searchCriteria[filterGroups][0][filters][0][id]
searchCriteria[filterGroups][0][filters][0][invoice_id]