Skip to Content
0
Jun 05, 2020 at 11:33 AM

Integration APIs - SAP Commerce Cloud

64 Views

I have below query regrading Integration APIs:-

I have created a product integration object and exposed the api. Using that api,I created a product having 2 super-categories.Now I want to post a new request to change this existing 2 super-categories to new categories.How can we achieve this as sending new post request is only adding to list of the super-categories,the existing ones are not getting deleted?

Can we write this type of business logic in any persistent hooks to delete the existing super-categories first and then add the new one?