> For the complete documentation index, see [llms.txt](https://rymera.gitbook.io/wholesale-suite-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rymera.gitbook.io/wholesale-suite-api/wholesale-v1-wwp.md).

# wholesale/v1 (Free)

This custom API is exclusive only for Free Plugin that fetches and manipulates wholesale-related data.

### Changelog:

v1.16

* Added the ability to do batch products and variations updates.
* If Wholesale Prices Premium is active, it requires a minimum version of v1.27.

This API was introduced in WWP 1.12

### Endpoints:

`/wp-json/wholesale/v1/products`

This endpoint allows you to List, Create, Update, Delete Wholesale Products.

`/wp-json/wholesale/v1/products/{product_id}/variations`

This endpoint allows you to List, Create, Update, Delete Wholesale Variations.

`/wp-json/wholesale/v1/products/batch`

This endpoint allows you to do Batch Create, Update, Delete Wholesale Products.

`/wp-json/wholesale/v1/products/batch/{variable_id}/batch`

This endpoint allows you to do Batch Create, Update, Delete Wholesale Variations.

`/wp-json/wholesale/v1/wholesale_role`

This endpoint allows you to List and Update Wholesale Role. (Free Version only have 1 wholesale role)

##
