How to update order details by calling api from external system?

Amol Raut asked on February 23, 2017 06:20

How to update order details by calling api from external system? For Example, I want to update my order status for order no 'XXXX' from my external supporting system. How can i achieve this?

Recent Answers


Dawid Jachnik answered on February 23, 2017 08:30

Hello, You can achive that using Integration bus, check the incoming tasks, you have full overview of the process how it should goes in documentation

https://docs.kentico.com/k10/integrating-3rd-party-systems/using-the-integration-bus/integration-bus-overview#Integrationbusoverview-Incomingtasks-FromexternalapplicationstoKentico

0 votesVote for this answer Mark as a Correct answer

Peter M answered on February 24, 2017 00:21 (last edited on February 24, 2017 05:00)

I would look at the Kentico REST API. When you configure your rest service and it is pretty simple

GET - will give you all the orders:

http://localhost/K8/REST/ecommerce.order/

SET status for oder #10 just do PUT
http://localhost/K8/REST/ecommerce.order/10

<COM_Order>
  <OrderStatusID>8</OrderStatusID>
</COM_Order>

It is all pretty well described in Managing objects using REST

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.