A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
New Product Search & Category Endpoints | Acquia DAM (Widen) | Acquia Product Documentation
Acquia DAM (Widen)
New Product Search & Category Endpoints
New Product Search & Category Endpoints
Date Published: February 24, 2023
In 2020, we introduced a number of new product information endpoints to the Acquia DAM API v2.0. We're now providing even more functionality to easily search your products and also organize them within your product category hierarchy.
Product Search
You can now access the power of product search through the API. With the new endpoint, you can do the same searches you access via the Entries UI and more. Search with a simple query string to search by product name and SKU or add filters to unlock the full power of the search endpoint. Filters can be used to search only parent products or only variants. They can also be used to search by attribute values.
POST /v2/products/search
Search parameters that can be set in the request body are query, filters, expand, sort, limit, and offset.
Get the details about the product search endpoint in our API documentation.
Product Categories
Entries recently added the ability to organize your products into categories. This functionality is now available through the API. This affects a few endpoints.
GET /v2/product-categories
This is a new endpoint to list product categories. It accepts a parent category id to return subcategories of that parent. With a few calls, you can get your whole product hierarchy.
PUT /v2/products//product-category
This is a new endpoint to update the product category for a product
POST /v2/products
The request body of this endpoint now allows for setting the category at product creation
POST /v2/products/search
The products in the response will include their category information
GET /v2/products/
The returned product will include category information
GET /v2/products/channel/
The products in the response will include their category information
Details about these endpoints are available in our API documentation. Reach out to our support team if you have any questions.