Predicts the required product properties and their recommended values from the product category and content. The result is generated synchronously for one product and can be used to prepare a create or edit product request.
Do not include personal data, such as names, phone numbers, email addresses, or postal addresses, in the product title, description, or images. The response does not return the submitted product content.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The ID of the leaf category selected for the product.
Product description used to improve prediction accuracy. Do not include personal data.
Ordered product images used to improve prediction accuracy. Do not include images containing personal data.
object
The URI of the image.
Obtain this URI by uploading the images through the Upload Product Image API with use_case=CERTIFICATION_IMAGE.
Product title used to predict required properties. Do not include personal data.
Existing standard sales properties that define the product variants and provide additional prediction context.
object
ID of the sales property.
Existing values selected for the sales property.
object
ID of the sales property value.
Optional property IDs that limit prediction to specific properties. When omitted, no property ID filter is applied.
Example
{ "category_id": "600001", "description": "Lightweight cotton ankle socks designed for everyday wear.", "images": [ { "uri": "tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe" } ], "product_title": "Short Boat Invisible Socks", "sales_properties": [ { "id": "100000", "values": [ { "id": "100001" } ] } ], "target_property_ids": [ "100392" ]}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Ordered required properties predicted for the product. The array is empty when no property recommendation is available.
object
ID of the recommended property.
Whether the seller can enter a custom value when no recommended value applies.
Whether the seller can select more than one value for the property.
Whether the property must be provided when the product is created or edited.
Display name of the recommended property for the shop’s region.
Type of the recommended property. Possible values:
UNSPECIFIED: The service could not classify the property type.KEY_PROPERTY: A key property used to identify the product.SALES_PROPERTY: A sales property that defines product variants.PRODUCT_PROPERTY: A property that describes the product as a whole.
Ordered values recommended for the property. The array is empty when the property requires a custom value or no value is recommended.
object
ID of the recommended property value.
Display name of the recommended property value for the shop’s region.
Example
{ "code": 0, "data": { "recommended_properties": [ { "id": "100392", "is_customizable": false, "is_multiple_selection": false, "is_required": true, "name": "Occasion", "type": "PRODUCT_PROPERTY", "values": [ { "id": "1001533", "name": "Birthday" } ] } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}