Magento 2 : how to change order status processing to complete using Rest ApiForce an order to go to the status completeProcessing Order StatusMagento 2: How do I notify a customer about an order status change done via the REST Api?Magento 1.9 - Create order using REST APICannot change order status back to Processing from CompleteMagento 2 cannot change order status to custom from completeChange Custom status(Ready to ship) using rest api in magento2.1.12How to change Order-Status with custom-order-status(Ready To Dispatch) using rest API in magento 2.1?Custom order status between Processing and complete in Magento2Magento 2.3 Change Order Status Programmatically

QGIS Linestring rendering curves between vertex

Players of unusual orchestral instruments

The monorail explodes before I can get on it

Did any of the founding fathers anticipate Lysander Spooner's criticism of the constitution?

Can I play a first turn Simic Growth Chamber to have 3 mana available in the second turn?

School House Points (Python + SQLite)

In which ways do anagamis still experience ignorance?

Is a public company able to check out who owns its shares in very detailed format?

Why would an Inquisitive rogue choose to use Insightful Fighting as opposed to using their Cunning Action to Hide?

How does one stock fund's charge of 1% more in operating expenses than another fund lower expected returns by 10%?

Doing research in academia and not liking competition

Find values of x so that the matrix is invertible

Are there any double stars that I can actually see orbit each other?

TikZ Can I draw an arrow by specifying the initial point, direction, and length?

Construct a pentagon avoiding compass use

A DVR algebra with weird automorphisms

Alternatives to using writing paper for writing practice

About the number of real roots

How do a planet's moons and a planet's rings interact?

Why does java.time.Period#normalized() not normalize days?

Why is the total number of hard disk sectors shown in fdisk not the same as theoretical calculation?

What is this welding tool I found in my attic?

Should you avoid redundant information after dialogue?

Metric version of "footage"?



Magento 2 : how to change order status processing to complete using Rest Api


Force an order to go to the status completeProcessing Order StatusMagento 2: How do I notify a customer about an order status change done via the REST Api?Magento 1.9 - Create order using REST APICannot change order status back to Processing from CompleteMagento 2 cannot change order status to custom from completeChange Custom status(Ready to ship) using rest api in magento2.1.12How to change Order-Status with custom-order-status(Ready To Dispatch) using rest API in magento 2.1?Custom order status between Processing and complete in Magento2Magento 2.3 Change Order Status Programmatically






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















Any option to update order status processing to complete in Magento 2 using Rest API.










share|improve this question
























  • You should create shipment throught API. The status will automatically change to complete.

    – Abdul Pathan
    Jul 5 at 17:07

















2















Any option to update order status processing to complete in Magento 2 using Rest API.










share|improve this question
























  • You should create shipment throught API. The status will automatically change to complete.

    – Abdul Pathan
    Jul 5 at 17:07













2












2








2








Any option to update order status processing to complete in Magento 2 using Rest API.










share|improve this question
















Any option to update order status processing to complete in Magento 2 using Rest API.







magento-2.1 rest-api order-status






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 6 at 0:22









Abdul Pathan

3507 bronze badges




3507 bronze badges










asked Jul 5 at 15:26









GaganGagan

1217 bronze badges




1217 bronze badges












  • You should create shipment throught API. The status will automatically change to complete.

    – Abdul Pathan
    Jul 5 at 17:07

















  • You should create shipment throught API. The status will automatically change to complete.

    – Abdul Pathan
    Jul 5 at 17:07
















You should create shipment throught API. The status will automatically change to complete.

– Abdul Pathan
Jul 5 at 17:07





You should create shipment throught API. The status will automatically change to complete.

– Abdul Pathan
Jul 5 at 17:07










2 Answers
2






active

oldest

votes


















0














Use SalesShipOrder



POST https://host/index.php/rest/V1/orders/orderId/ship with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"






share|improve this answer








New contributor



Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0














    For changing order status processing to complete You need to call following API.



    Endpoint



    POST <host>/rest/<store_code>/V1/order/3/ship


    where 3 is the order id.



    Headers



    Content-Type application/json

    Authorization Bearer <administrator token>


    You will get Shipment ID in resonse and status of order will changed to completed.






    share|improve this answer

























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f280998%2fmagento-2-how-to-change-order-status-processing-to-complete-using-rest-api%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Use SalesShipOrder



      POST https://host/index.php/rest/V1/orders/orderId/ship with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"






      share|improve this answer








      New contributor



      Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0














        Use SalesShipOrder



        POST https://host/index.php/rest/V1/orders/orderId/ship with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"






        share|improve this answer








        New contributor



        Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





















          0












          0








          0







          Use SalesShipOrder



          POST https://host/index.php/rest/V1/orders/orderId/ship with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"






          share|improve this answer








          New contributor



          Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          Use SalesShipOrder



          POST https://host/index.php/rest/V1/orders/orderId/ship with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"







          share|improve this answer








          New contributor



          Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.








          share|improve this answer



          share|improve this answer






          New contributor



          Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.








          answered Jul 9 at 4:20









          EnzoaeneasEnzoaeneas

          1




          1




          New contributor



          Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




          New contributor




          Enzoaeneas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.

























              0














              For changing order status processing to complete You need to call following API.



              Endpoint



              POST <host>/rest/<store_code>/V1/order/3/ship


              where 3 is the order id.



              Headers



              Content-Type application/json

              Authorization Bearer <administrator token>


              You will get Shipment ID in resonse and status of order will changed to completed.






              share|improve this answer



























                0














                For changing order status processing to complete You need to call following API.



                Endpoint



                POST <host>/rest/<store_code>/V1/order/3/ship


                where 3 is the order id.



                Headers



                Content-Type application/json

                Authorization Bearer <administrator token>


                You will get Shipment ID in resonse and status of order will changed to completed.






                share|improve this answer

























                  0












                  0








                  0







                  For changing order status processing to complete You need to call following API.



                  Endpoint



                  POST <host>/rest/<store_code>/V1/order/3/ship


                  where 3 is the order id.



                  Headers



                  Content-Type application/json

                  Authorization Bearer <administrator token>


                  You will get Shipment ID in resonse and status of order will changed to completed.






                  share|improve this answer













                  For changing order status processing to complete You need to call following API.



                  Endpoint



                  POST <host>/rest/<store_code>/V1/order/3/ship


                  where 3 is the order id.



                  Headers



                  Content-Type application/json

                  Authorization Bearer <administrator token>


                  You will get Shipment ID in resonse and status of order will changed to completed.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 9 at 4:34









                  user4536user4536

                  3281 silver badge15 bronze badges




                  3281 silver badge15 bronze badges



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f280998%2fmagento-2-how-to-change-order-status-processing-to-complete-using-rest-api%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                      Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?