=== Vendor API for Bazzar ===  
Contributors: desperadohouse  
Tags: woocommerce, rest api, custom api, bazzar, bazzar.ba, bazzar.hr, bazzar.rs,  
Requires at least: 5.6  
Tested up to: 6.8  
Requires PHP: 7.4  
Stable tag: 1.0  
License: GPLv2  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Custom REST API for integrating WooCommerce products with partner platforms.

== Description ==  

This plugin provides access to WooCommerce products through a custom REST API with special partner pricing. Specifically developed for KosnicaShop.ba.

Key features:  
- Returns products with partner discounts (-15% or -5%)  
- Supports variable products with price combinations  
- Includes all necessary data for integration  
- Automatic stock and price updates  

== Installation ==  

1. Upload the `vendor-api-for-bazzar` folder to `/wp-content/plugins/`  
2. Activate the plugin through the WordPress admin panel  
3. Ensure WooCommerce plugin is installed  
4. Ensure that Woocommerce Rest API is set up in Woocommerce Advanced

API endpoint becomes immediately available at:  
`https://your-site.com/wp-json/bazzar/v1/products`  

== Frequently Asked Questions ==  

= Is WooCommerce required? =  
Yes, the plugin fully depends on WooCommerce.  

= Can I change the API endpoint? =  
Not recommended without consulting the development team.  

= How to secure the API? =  
For production environments, add authentication to `permission_callback`.  

== Changelog ==  

= 1.0 (2025-03-27) =  
- Initial release  
- Core API functionality  
- Variable product support  

== License ==  

GPLv2 - GNU General Public License  

== Credits ==  

Developed by Desperado House - Cvijetin Maletic.  