The Brands REST API allows you to create, view, update, and delete individual, or a batch, of brands. The endpoint is /wp-json/wc/v1/products/brands
which basically mimics /wp-json/wc/v1/products/categories
. You can refer to the same documentation of product categories REST API.
In addition to /products/brands
endpoints, the /products
endpoints also updated to display brands
in the response and check the JSON request for brands
.
- Retrieve all product brands: