Outcoming requests (External Endpoint Integration)
Authorization#
Currently, one authentication method is available - through the transmission of Basic Authorization in the HTTP header. Example:
Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l
Unloading a category of goods#
GET {root_endpoint}/categories
Required response structure:
count* | integer | ||||||
results* | [{
|
Demo: https://botifi.me/api/demodata/categories
Unloading goods#
GET {root_endpoint}/products
Required response structure:
count* | integer | ||||||||||||||||||||||||||
results* | [{
|
Demo: https://botifi.me/api/demodata/products
Sending orders (Order Webhook)#
POST {root_endpoint}/orders/
Responses:
- on successful processing of the request, return 200 or 201 status code, from the "id" fields in your system
{ "id": 123 }
- on processing error, return "message" field with error text
{ "message": "Error on handling request" }
- request processing time - 5 seconds, after the request is reset with a 408 Timeout Error
Was the article useful?