Generate product levels based on attributes and pricing information.
This endpoint uses Perplexity API to process the input to generate a list of attributes that define the product, generates pricing levels (brand & price pair), and creates levels for the provided attributes per brand/product.
Parameters:
req
: ProductAttributeRequest object containing:
why_prompt
: The main question or prompt for the productcountry
: Target country for pricing and attributesattribute_count
: Number of attributes to generate (optional)level_count
: Number of levels per attribute to generate (optional)Returns:
attribute
: An Attribute object with:
name
: The name of the attributelevels
: List of strings representing the different levels or options for the attributeExample Response:
Raises:
Note:
Successful Response