<p>You will need to write a plugin to perform the integration. If you make it generic enough, you could share it with the community.</p>

<p>Your plugin would use Craft Commerce <strong>events</strong> to run PHP code at specific points in the code, which would communicate with the third-party systems.</p>

<p>Docs on event:
<a href="https://craftcommerce.com/docs/events-reference" rel="nofollow">https://craftcommerce.com/docs/events-reference</a></p>

<p>The event you would probably be most interested in is the <code>onOrderComplete</code> event:</p>

<p><a href="https://craftcommerce.com/docs/events-reference#commerce_orders.onordercomplete" rel="nofollow">https://craftcommerce.com/docs/events-reference#commerce_orders.onordercomplete</a></p>

CC BY-SA 4.0
2019-10-30T09:15:59.420Z
Has there been any development on this lately? I am a little impatiently waiting for full two way API on Craft Commerce's products and other entities.
nitech
CC BY-SA 3.0
2016-07-06T15:30:26.813Z
2016-07-06T15:30:26.813Z
Luke Holder
<p>A client wants his CRM connected to Craft Commerce. If someone finishes an order the customer data and the ordered products should be send to the CRM.
I assume I have to write a plugin for that, but I have no idea how to start and how the grab the desired data. Can anyone point me to the right direction? The CRM used is <a href="https://www.bitrix24.com/" rel="nofollow">https://www.bitrix24.com/</a> if that's of importance.</p>

<plugin-craftcommerce>
How can I get Craft Commerce talk to the API of a CRM?
# How can I get Craft Commerce talk to the API of a CRM?

(Asked by: username_0 on 2016-07-06)

A client wants his CRM connected to Craft Commerce. If someone finishes an order the customer data and the ordered products should be send to the CRM.
I assume I have to write a plugin for that, but I have no idea how to start and how the grab the desired data. Can anyone point me to the right direction? The CRM used is <https://www.bitrix24.com/> if that's of importance.

**Tags:** plugin-craftcommerce

---

## 1 answers

### Answer by username_1 on 2016-07-06. Score: 2 | Accepted answer

You will need to write a plugin to perform the integration. If you make it generic enough, you could share it with the community.

Your plugin would use Craft Commerce **events** to run PHP code at specific points in the code, which would communicate with the third-party systems.

Docs on event:
<https://craftcommerce.com/docs/events-reference>

The event you would probably be most interested in is the `onOrderComplete` event:

<https://craftcommerce.com/docs/events-reference#commerce_orders.onordercomplete>

> **Comments:**
> **username_2**: Has there been any development on this lately? I am a little impatiently waiting for full two way API on Craft Commerce's products and other entities.  

---

