Push Hook Order
POST
/api/v1/webhooks/hook-shop/{{platform}}
Platform
Platform | Platform Name | Description |
---|---|---|
prestashop | Prestashop | PrestaShop ecommerce platform. |
woocommerce | Woocommerce | WooCommerce is an open-source e-commerce plugin for WordPress. |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.omisell.com/api/v1/webhooks/hook-shop/{{platform}}' \
--header 'Authorization;' \
--header 'Seller-ID;' \
--header 'Country;' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"created_time": 0,
"order_id": "string",
"order_status": "string",
"hook_type": "order.status"
},
"shop_id": 0
}'
Response Response Example
{
"data": {},
"error": true,
"error_code": 0,
"messages": "string",
"request_id": "string",
"timestamp": 0
}
Request
Header Params
Content-Type
string
required
Default:
application/json
Authorization
string
required
Default:
Omi {{Token}}
Seller-ID
number
optional
Country
string
optional
Examples:
THVNPHIDMY
Body Params application/json
Responses
Modified at 2024-02-26 06:13:12