Create Category API Encountered Error Stating Taxonomy is not in Draft Status
(Doc ID 2948046.1)
Last updated on NOVEMBER 25, 2024
Applies to:
Oracle Content Management - Version N/A and laterInformation in this document applies to any platform.
Purpose
We are using these API from Oracle Commerce Cloud to create new category:
/content/management/api/v1.1/taxonomies/{taxonomyid}/categories
/content/management/api/v1.1/taxonomies/{taxonomyid}/promote
/content/management/api/v1.1/taxonomies/{taxonomyid}/createDraft
We use the createDraft to change the status of the taxonomy back to Draft again so that we can create new categories. but we encountered an error stating taxonomy is not in draft status when we create new category faster, as we all know that the createDraft is Asychronous.
We encountered the error because the createDraft process is not yet complete when we attempt to create another category.
Do we know how much time we need to wait before the createDraft is completed?
Do we have other alternative in creating new category? (Note that we need to promote it so we can use the category to associate it to a file that need to be upload)
Details
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Purpose |
Details |