curl --request PUT \
--url https://api.jogg.ai/v1/product \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"product_id": 3924,
"name": "Physicians Formula Happy Booster Heart Blush Glow &amp; Mood Boosting, Rose, Dermatologist Tested",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder features a fresh and vibrant mix of blushing tones infused with a pop of color to create a healthy glow. Multi-reflective pearls provide a soft iridescence to highlight contour and add radiance to cheeks. Experience the mood boosting effect: Infused with our Happy Boost Blend featuring Happy Skin and Euphoryl, natural plant extracts which have been shown to promote a feeling of happiness by mimicking the effect of Endorphins and helping protect the skin from environmental stress. ",
"target_audience": "",
"media": [
{
"type": 1,
"name": "media.jpg",
"url": "https://res.jogg.ai/media.jpg",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder features a fresh and vibrant mix of blushing tones infused with a pop of color to create a healthy glow."
}
]
}'
{
"code": 123,
"msg": "<string>"
}
Optional step to update product details. Use the product_id received from Step 1 (POST /open/product response)
curl --request PUT \
--url https://api.jogg.ai/v1/product \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"product_id": 3924,
"name": "Physicians Formula Happy Booster Heart Blush Glow &amp; Mood Boosting, Rose, Dermatologist Tested",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder features a fresh and vibrant mix of blushing tones infused with a pop of color to create a healthy glow. Multi-reflective pearls provide a soft iridescence to highlight contour and add radiance to cheeks. Experience the mood boosting effect: Infused with our Happy Boost Blend featuring Happy Skin and Euphoryl, natural plant extracts which have been shown to promote a feeling of happiness by mimicking the effect of Endorphins and helping protect the skin from environmental stress. ",
"target_audience": "",
"media": [
{
"type": 1,
"name": "media.jpg",
"url": "https://res.jogg.ai/media.jpg",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder features a fresh and vibrant mix of blushing tones infused with a pop of color to create a healthy glow."
}
]
}'
{
"code": 123,
"msg": "<string>"
}
Product updated successfully
The response is of type object
.