The Venddor API provides a comprehensive set of tools for integrating with the Venddor e-commerce platform. Our API follows RESTful principles and is designed for seamless integration with your existing systems.
The following HTTP methods are available for interacting with resources:
| Method | Description |
|---|---|
| GET | Retrieve object data from the system |
| PUT | Update existing object data |
| POST | Create a new object in the system |
| DELETE | Remove an object from the system |
All API calls require authentication. Use your admin email as the username and your API key as the password with Basic HTTP Authentication.
Authorization: Basic {base64_encoded_credentials}
admin@example.com:your_api_key) and encode the result in base64.
The Venddor API accepts and returns data in JSON format. All data fields are provided as strings or arrays/objects, regardless of their logical data type.
{
"product_id": "42",
"product_code": "PRD-001",
"product_name": "Premium T-shirt",
"price": "29.99",
"in_stock": "Y",
"options": [
{
"option_id": "3",
"option_name": "Size"
},
{
"option_id": "4",
"option_name": "Color"
}
]
}