> For the complete documentation index, see [llms.txt](https://w3block.gitbook.io/w3block-eng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://w3block.gitbook.io/w3block-eng/dev-docs/api/key-api-services/integration/ecommerce/hooks.md).

# Hooks

This module enables integration of other plataforms with the key API

### Create a new order on the key API standards

{% openapi src="<https://api.pixway.io/docs-json>" path="/integration/ecommerce/hooks/{companyId}/new-order" method="post" %}
<https://api.pixway.io/docs-json>
{% endopenapi %}

### Create a new order on woo commerce standards

{% openapi src="<https://api.pixway.io/docs-json>" path="/integration/ecommerce/hooks/{companyId}/woo-commerce" method="post" %}
<https://api.pixway.io/docs-json>
{% endopenapi %}

### Get status from created order

{% openapi src="<https://api.pixway.io/docs-json>" path="/integration/ecommerce/hooks/{companyId}/external-order-id/{externalOrderId}" method="get" %}
<https://api.pixway.io/docs-json>
{% endopenapi %}
