Use case: Creating a New Product#
To register a new product, you must first ensure that all the necessary data records for the product creation have been registered. Below are the required records:1.
Dimension Group: If you want to use a new dimension group, call the API with a POST request to /api/v1/dimensionGroups/{DIMENSION_TYPE} Insert dimension group. 2.
Collection: If it is a new collection, make a POST request to /api/v1/seasons Insert season. 3.
Product: After the above records are registered, you can create the product via a POST request to /api/v1/products Insert product. The dimension group cannot be changed once an item has been moved.
When registering a product, ensure that hierarchies, attributes, the brand, and all other related data records you want to link have been registered.Preconditions#
The external system must have the necessary permissions and access to the document creation service, please refer to Authentication.Example Workflow#
Below is an example of how you should proceed to register a product:This sequence diagram demonstrates the process of creating a product and handling missing categories by creating them before retrying the product creation. Ensure that all related data is in place to avoid errors during product registration.