cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

change product Hierarchy or product category in a product

former_member601733
Participant
0 Likes
540

Hi All,

In our project we are trying to change the product Hierarchy and category in a product. But it is added to the existing hierarchy and not replacing the same.

Regards,

Selvam

Accepted Solutions (0)

Answers (1)

Answers (1)

Josef_Ehbauer
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Selvam,

if I understand your inquiry correct, you want to unassign products from product categories and assign them to a different category of a different hierarchy. For that you have two options:

1. Use the OData DELETE operation on the entity type ProductCategoryAssignment to remove the product category assignment of a product to a specific category

2. Use the Function import DeleteProductCategoryAssignments to delete all product category assignments of a special product category hierarchy for a specified product

Once you have done this for all products, you can even delete the product category and the entire product hierarchy.

Please refer to our integration guide https://help.sap.com/viewer/0f9408e4921e4ba3bb4a7a1f75f837a7/1911.500/en-US/4700be6de2c04a31bb5aa8fa...

and administration guide https://help.sap.com/viewer/ac1eab4c66bc490da7ac2c378c46b0e7/1911.500/en-US/ebe4e5f651194a8089cf8aee...

Note, if you load a product hierarchy with its categories via the import app it is recommended to specify the product hierarchy ID, otherwise a default category will be used by the system.

Kind regards,
Josef Ehbauer
SAP Marketing Cloud Product Management