상품 이미지 추가
curl --request POST \
--url https://api.headlesscommerce.io/v1/admin/products/{id}/images \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"alt_text": "<string>",
"position": 123
}
'{
"id": "<string>",
"url": "<string>",
"alt_text": "<string>",
"position": 123,
"width": 123,
"height": 123
}Admin - 상품
상품 이미지 추가
Registers an image URL. For file uploads, use the separate Media API.
POST
/
admin
/
products
/
{id}
/
images
상품 이미지 추가
curl --request POST \
--url https://api.headlesscommerce.io/v1/admin/products/{id}/images \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"alt_text": "<string>",
"position": 123
}
'{
"id": "<string>",
"url": "<string>",
"alt_text": "<string>",
"position": 123,
"width": 123,
"height": 123
}⌘I