API Introduction
The Ta3i.com API allows you to programmatically manage your store, products, orders, customers, and more.
Welcome to the Ta3i API
The Ta3i API is a RESTful API that gives you programmatic access to your store data. You can use it to build custom storefronts, automate order management, integrate with external systems, and much more.
Base URL
https://api.ta3i.com/v1All API requests must be made over HTTPS. Requests made over plain HTTP will fail.
Authentication
The Ta3i API uses API keys for authentication. You can generate API keys from your store dashboard under Settings > API Keys. Include your API key in the Authorization header of every request.
/v1/productslimitoptionalNumber of products to return (1-100)
10pageoptionalPage number for pagination
1statusoptionalFilter by status: active, draft, or all
all{
"data": [
{
"id": "prod_xxxxxxxxxxxx",
"name": "Example Product",
"slug": "example-product",
"price": 2500,
"compare_price": 3000,
"stock": 100,
"status": "active",
"created_at": "2024-01-15T10:00:00Z"
}
],
"meta": {
"total": 50,
"page": 1,
"limit": 10,
"total_pages": 5
}
}Content Type
All API requests and responses use JSON format. Set the Content-Type header to application/json for POST, PUT, and PATCH requests.
The API is rate-limited to 100 requests per minute per API key. See the Rate Limits section for more details.