Skip to content

API Reference

All API requests should be made to:

https://api.prediko.io/api/v1
EndpointDescription
GET /ordersList all orders
GET /orders/{id}Get a specific order
POST /ordersCreate or update orders
PATCH /orders/statusUpdate order status
DELETE /orders/{id}Delete an order
EndpointDescription
POST /skusList all SKUs
EndpointDescription
GET /suppliersList all suppliers
EndpointDescription
GET /warehousesList all warehouses

List endpoints that support pagination return paginated results:

{
"data": [...],
"pagination": {
"total": 250,
"limit": 100,
"offset": 0,
"has_more": true
}
}

Some endpoints return a simpler format:

{
"data": [...],
"total": 50
}
ParameterTypeDescription
limitintegerResults per page
offsetintegerNumber of results to skip

All endpoints require authentication via API key:

Authorization: Bearer pk_live_YOUR_API_KEY

See Authentication for details.