Documentation
How to send orders to the service: REST API, CMS modules and cloud connectors.
REST API v1
Orders with waybills are accepted over HTTPS. Issue a key in the dashboard under Integrations. Base path: /api/inform/v1
curl -X POST "https://agroupcrm.online/api/inform/v1/orders" \
-H "Content-Type: application/json" \
-H "X-AUR-Inform-Key: KEY_PREFIX" \
-H "X-AUR-Inform-Timestamp: $(date +%s)" \
-H "X-AUR-Inform-Signature: SIGNATURE" \
-d '{"order_id":"1001","phone":"+380XXXXXXXXX","carrier":"nova_poshta","tracking":"20450000000000"}'
Request signature
Every request is signed with HMAC-SHA256 over the timestamp and body. Requests older than 5 minutes are rejected.
$body = json_encode($payload, JSON_UNESCAPED_UNICODE);
$ts = time();
$sig = hash_hmac('sha256', $ts . "\n" . $body, $secret);
CMS modules
Install the archive as a regular CMS module and paste the API key from the dashboard.
- OpenCart 3 / 4
aur-inform-opencart-*.ocmod.zip - WooCommerce
aur-inform-woocommerce.zip - PrestaShop
aurinform-prestashop.zip
Cloud platforms
For cloud platforms the platform API token is enough — orders are pulled automatically.
- Horoshop
- Prom
- Rozetka
- KeyCRM
- SalesDrive
Public endpoints
POST /inform/public-checkRisk level by number (with captcha)POST /inform/public/dispute/*Dispute by SMS codePOST /api/inform/v1/blacklist/checkNumber check for shops by API key