Do you need to create an integration to drive store process or can it be done via rest API? Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?magento 2 model update recommendationRest api - create customerMagento 2:User Permission via API RestHow we can create partial shipment programmatically using rest apiget order by string/value in product_options arrayMagento 2.2.2 REST API - I need to change the customer password using REST APIError Consumer is not authorized to access %resourcesGet category meta tags via REST APICan you rename product image filename via Rest Api?How to not use attribute default value over rest API in magento2

Using audio cues to encourage good posture

Why is "Consequences inflicted." not a sentence?

List of Python versions

How to react to hostile behavior from a senior developer?

Sci-Fi book where patients in a coma ward all live in a subconscious world linked together

What is Wonderstone and are there any references to it pre-1982?

English words in a non-english sci-fi novel

51k Euros annually for a family of 4 in Berlin: Is it enough?

How to deal with a team lead who never gives me credit?

The logistics of corpse disposal

In predicate logic, does existential quantification (∃) include universal quantification (∀), i.e. can 'some' imply 'all'?

Should I use a zero-interest credit card for a large one-time purchase?

How widely used is the term Treppenwitz? Is it something that most Germans know?

Why are both D and D# fitting into my E minor key?

How to tell that you are a giant?

What does an IRS interview request entail when called in to verify expenses for a sole proprietor small business?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

What would be the ideal power source for a cybernetic eye?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

Why are Kinder Surprise Eggs illegal in the USA?

Apollo command module space walk?

Error "illegal generic type for instanceof" when using local classes

Gordon Ramsay Pudding Recipe

Why was the term "discrete" used in discrete logarithm?



Do you need to create an integration to drive store process or can it be done via rest API?



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?magento 2 model update recommendationRest api - create customerMagento 2:User Permission via API RestHow we can create partial shipment programmatically using rest apiget order by string/value in product_options arrayMagento 2.2.2 REST API - I need to change the customer password using REST APIError Consumer is not authorized to access %resourcesGet category meta tags via REST APICan you rename product image filename via Rest Api?How to not use attribute default value over rest API in magento2



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








2















We are working on integrating our ERP system with a Magento store. To this point, we have been developing a REST API connection to the store which is working fine. The goal is to be able to take orders from the Magento store, create them in the ERP system, and then update the store as the order is processed by our normal business processes.



Is it possible to update the order status directly from a back end admin connection via the REST API so that the order state is reflected correctly to the customer, or will we need to write an integration that lives on the server to move the order through the various states?










share|improve this question






























    2















    We are working on integrating our ERP system with a Magento store. To this point, we have been developing a REST API connection to the store which is working fine. The goal is to be able to take orders from the Magento store, create them in the ERP system, and then update the store as the order is processed by our normal business processes.



    Is it possible to update the order status directly from a back end admin connection via the REST API so that the order state is reflected correctly to the customer, or will we need to write an integration that lives on the server to move the order through the various states?










    share|improve this question


























      2












      2








      2








      We are working on integrating our ERP system with a Magento store. To this point, we have been developing a REST API connection to the store which is working fine. The goal is to be able to take orders from the Magento store, create them in the ERP system, and then update the store as the order is processed by our normal business processes.



      Is it possible to update the order status directly from a back end admin connection via the REST API so that the order state is reflected correctly to the customer, or will we need to write an integration that lives on the server to move the order through the various states?










      share|improve this question
















      We are working on integrating our ERP system with a Magento store. To this point, we have been developing a REST API connection to the store which is working fine. The goal is to be able to take orders from the Magento store, create them in the ERP system, and then update the store as the order is processed by our normal business processes.



      Is it possible to update the order status directly from a back end admin connection via the REST API so that the order state is reflected correctly to the customer, or will we need to write an integration that lives on the server to move the order through the various states?







      magento2 rest-api order-status integration






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 at 23:07









      WISAM HAKIM

      1,617618




      1,617618










      asked Apr 12 at 20:44









      Sean BenningtonSean Bennington

      211




      211




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Please have a look at these endpoints
          https://devdocs.magento.com/swagger/index.html#!/salesOrderManagementV1



          to Cancel an order




          post /V1/orders/id/cancel




          to Hold an order




          post /V1/orders/id/hold




          to unHold an order




          post /V1/orders/id/unhold




          in case you want to change the order status from Pending to Processing, you have two options




          1. use standard Magento logic:



            a. when you create an invoice/shipment to a placed order, the status will be changed automatically to "processing"



            b. use this endpoint to add a comment with changing the status (I suggest to use this way)




          post /V1/orders/id/comments




          1. Create your own endpoint





          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%2f269943%2fdo-you-need-to-create-an-integration-to-drive-store-process-or-can-it-be-done-vi%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Please have a look at these endpoints
            https://devdocs.magento.com/swagger/index.html#!/salesOrderManagementV1



            to Cancel an order




            post /V1/orders/id/cancel




            to Hold an order




            post /V1/orders/id/hold




            to unHold an order




            post /V1/orders/id/unhold




            in case you want to change the order status from Pending to Processing, you have two options




            1. use standard Magento logic:



              a. when you create an invoice/shipment to a placed order, the status will be changed automatically to "processing"



              b. use this endpoint to add a comment with changing the status (I suggest to use this way)




            post /V1/orders/id/comments




            1. Create your own endpoint





            share|improve this answer



























              0














              Please have a look at these endpoints
              https://devdocs.magento.com/swagger/index.html#!/salesOrderManagementV1



              to Cancel an order




              post /V1/orders/id/cancel




              to Hold an order




              post /V1/orders/id/hold




              to unHold an order




              post /V1/orders/id/unhold




              in case you want to change the order status from Pending to Processing, you have two options




              1. use standard Magento logic:



                a. when you create an invoice/shipment to a placed order, the status will be changed automatically to "processing"



                b. use this endpoint to add a comment with changing the status (I suggest to use this way)




              post /V1/orders/id/comments




              1. Create your own endpoint





              share|improve this answer

























                0












                0








                0







                Please have a look at these endpoints
                https://devdocs.magento.com/swagger/index.html#!/salesOrderManagementV1



                to Cancel an order




                post /V1/orders/id/cancel




                to Hold an order




                post /V1/orders/id/hold




                to unHold an order




                post /V1/orders/id/unhold




                in case you want to change the order status from Pending to Processing, you have two options




                1. use standard Magento logic:



                  a. when you create an invoice/shipment to a placed order, the status will be changed automatically to "processing"



                  b. use this endpoint to add a comment with changing the status (I suggest to use this way)




                post /V1/orders/id/comments




                1. Create your own endpoint





                share|improve this answer













                Please have a look at these endpoints
                https://devdocs.magento.com/swagger/index.html#!/salesOrderManagementV1



                to Cancel an order




                post /V1/orders/id/cancel




                to Hold an order




                post /V1/orders/id/hold




                to unHold an order




                post /V1/orders/id/unhold




                in case you want to change the order status from Pending to Processing, you have two options




                1. use standard Magento logic:



                  a. when you create an invoice/shipment to a placed order, the status will be changed automatically to "processing"



                  b. use this endpoint to add a comment with changing the status (I suggest to use this way)




                post /V1/orders/id/comments




                1. Create your own endpoint






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 13 at 18:27









                WISAM HAKIMWISAM HAKIM

                1,617618




                1,617618



























                    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%2f269943%2fdo-you-need-to-create-an-integration-to-drive-store-process-or-can-it-be-done-vi%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

                    Sum ergo cogito? 1 nng

                    419 nièngy_Soadمي 19bal1.5o_g

                    Queiggey Chernihivv 9NnOo i Zw X QqKk LpB