Skip to main content
POST
Upload Product Image

Authorizations

Authorization
string
header
required

Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.

Path Parameters

productId
string
required

Body

multipart/form-data
file
file
required

The image file.

organizationId
string

Required for session auth. API keys already belong to one organization.

position
integer

Zero-based place in the gallery; 0 makes it the main image. Defaults to the end.

Required range: 0 <= x <= 9007199254740991

Response

The image was added to the gallery.

ok
boolean
required
apiVersion
string
required
Allowed value: "developer_v1"
operationId
string
required
status
enum<string>
required
Available options:
accepted,
completed,
failed
warnings
string[]
required
recommendations
string[]
required
data
object
required
jobId
string
productId
string