Learn how to create a product with consecutive API calls.
Creating a Product currently requires 3 Consecutive API Calls.
👩💻 Create Products Entity
Method: POST
Body
{
"name": "product name",
"description": "product description",
"sku": "unique-identifier"
}
Response Example
{
"id": "f3591827-908b-4bc7-b801-032ea8e41e12",
"createdAt": "2023-07-06T14:22:53.531907065Z",
"updatedAt": "2023-07-06T14:22:53.531907065Z",
"deletedAt": null,
"name": "product name",
"description": "product description",
"sku": "unique-identifier"
}
👨💻 Associate Product with Model
Method: POST
Product ID should be taken from the response in the first call
Body
{
"id": "{model-id}"
}
Model ID can be retrieved from getting the list of models at: https://api.dimensions.cloudinary.com/3DModel
👩💻 Associate Product with Preset
Product ID should be taken from the response in the first call
Body
[
"{preset-id}"
]
Preset ID can be retrieved from the web interface URL by opening an existing Preset or by listing presets at https://api.dimensions.cloudinary.com/preset