Skip to main content
POST
Upload Product Image

Authorizations

X-API-KEY
string
header
required

Your secret API key obtained from the Clink dashboard (Developers section)

Headers

X-Timestamp
string
required

Current timestamp in milliseconds since Unix epoch (required for request signing)

Example:

"1783513683000"

Body

multipart/form-data

Multipart request body for uploading a product image.

file
file

Product image file. Supported extensions are jpg, jpeg, png, gif, and webp.

Response

Product image uploaded successfully

code
integer<int32>

Response status code, 200 when success

Example:

200

msg
string

Brief description of what happened, 'success' when happy case

Example:

"success"

data
object

Uploaded OSS file information returned after a successful upload.