Merge categories
As an operator, you can merge the categories of a product in the Operator portal.
- Sign in to the Operator portal.
- Click CATEGORISATION > Categories.
- In the Edit Category window, click the Migrate Category button.
- Select a category from the Select new category dropdown.
- Click Migrate Category.
Note: You can only merge categories with similar prototypes.
Change the prototype of a category
As an Operator, you can change a Category’s prototype in the Operator portal.
- Sign in to the Operator portal.
- Click CATEGORISATION > Categories.
- In the Edit Category window, scroll down to the Prototype field.
- Select from the Prototype dropdown.
- Click Update Category to save changes.
Merge categories through CSV or XLS
As an operator, you can merge categories of the products in bulk through CSV or XLS import.
- In the Operator portal, export a CSV or XLS file of the products you want to change the category.
- Open the export file and locate the Category column.
- Update the value of the product category.
- Go back to the Operator portal.
- Go to CATEGORISATION.
- Click Choose File and select the updated file.
- Click Upload Categories.
- Optionally, you can check the status of your imports by going to the REPORTING > Imports & Exports.
Change the prototype of products through CSV or XLS import
As an Operator, you can change a Category’s prototype through CSV or XLS import.
- In the Operator portal, export a CSV or XLS file of the products for which you want to change the prototype.
- Open the export file and locate the Prototype column.
- Update the value of the product’s prototype.
- Go back to the Operator portal.
- Go to CATEGORISATION > Prototypes.
- Click Choose File and select the updated file.
- Click Upload Categories.
- Optionally, you can check the status of your imports by going to the REPORTING > Imports & Exports.
Merge categories through API
Use the mutation ‘AdvertUpsert’ to update the category of a product. For more details, refer to this article.
To get the taxonId, use an online encoding/decoding site or tool and paste the generated ‘taxonID’ in the mutation similar to the sample below.
{
advertUpsert(
input: {
advertId: "QWR2ZXJ0LTEwMDA5NTM5Mw==",
attributes: {
taxonId: "VGF4b24tMzAx"
}
}
) {
advert {
id
legacyId
externalId
variants {
nodes {
externalId
id
legacyId
}
}
}
errors {
field
messages
}
}
}
Change the prototype of a category through API
Use the mutation ‘AdvertUpsert’ to update the category of a product. For more details, refer to this article.
To get the protypeId, use an online encoding/decoding site or tool and paste the generated ‘prototypeId’ in the mutation similar to the sample below.
{
taxonCreateOrUpdate(
input: {
id: "VGF4b24tMzAx"
prototypeId: "UHJvdG90eXBlLTE0OA=="
}
) {
status
taxon {
id
legacyId
displayName
prototype {
name
id
}
}
}
}
Related articles