Get in touch with our hands-on, fast and professional Support Team

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9899

    Deprecated: Function seems_utf8 is deprecated since version 6.9.0! Use wp_is_valid_utf8() instead. in /home/u337135316/domains/bzotech.com/public_html/wp-includes/functions.php on line 6131

    Deprecated: Function seems_utf8 is deprecated since version 6.9.0! Use wp_is_valid_utf8() instead. in /home/u337135316/domains/bzotech.com/public_html/wp-includes/functions.php on line 6131
    David Hoang
    Keymaster

    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

    Deprecated: Function seems_utf8 is deprecated since version 6.9.0! Use wp_is_valid_utf8() instead. in /home/u337135316/domains/bzotech.com/public_html/wp-includes/functions.php on line 6131

    Deprecated: Function seems_utf8 is deprecated since version 6.9.0! Use wp_is_valid_utf8() instead. in /home/u337135316/domains/bzotech.com/public_html/wp-includes/functions.php on line 6131
    David Hoang
    Keymaster

    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.