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
}이미지 URL을 등록합니다. 파일 업로드는 별도 Media API 사용.
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
}API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx
리소스 ID