Running in real troubles with our products? Get in touch with our Support Team 👉

0
No products in the cart.
  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9899
    luke
    Participant

    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}

    #9900
    luke
    Participant

    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]
    

    Invoices Screen Grab

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.