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

                      Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

                      Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form