Upload an image

Upload a binary file with an image to be used for a product. This request should be encoded as multipart/form-data.

Please Note If you are reading this on https://x-series-api.lightspeedhq.com then the Try It! generated code will not work as the underlying code generator assumes the image will be base64 encoded, which the API does not support. Please have a look at https://x-series-api.lightspeedhq.com/docs/products_image_upload_basics instead.

🔒 Requires: products:write scope

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The product id

Body Params
file
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json