ops
ops-sellers
Categorize products with AI
Changed onFor the given product IDs, categorize them automatically with AI (open AI ChatGPT) For categorizing all seller products (that are not categorized) send an empty list for ids
post/ops/sellers/{seller_id}/catalog/categorize
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/sellers/{seller_id}/catalog/categorize
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: catalog:edit
Path parameters
seller_idstring regexp required
Seller ID
Example:739b63c2-9e58-4964-b38d-4ebb424de242
Query parameters
batch_sizeinteger
number of products per batch to be sent to openAI
Example:1
num_workersinteger
number of workers to use for processing product batches
Example:2
Request body
Example request
{
"ids": [
"abc123"
]
}Response
OK response.
Example response
{
"result": {
"errors": [
"abc123"
],
"total_categorized": 1,
"total_errors": 1,
"total_products": 1
}
}Changes
- info
api operation id
catalog.CategorizeProductsremoved and replaced withcatalog#CategorizeProducts
- info
- info
api operation id
catalog#CategorizeProductsremoved and replaced withcatalog.CategorizeProducts - info
api tag
ops-sellersadded
- info