Attach product images

Adds one or more images to a product and returns the updated product. Existing images are kept.

Send the files as multipart/form-data, with one images[] key per file. An empty upload or a damaged file returns 422.

A product can have up to 6 images. An upload that would go over the limit returns 422, and none of its files are attached.

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

Your merchant profile ID. Required in every request.

Find it in the BillPro dashboard address, after /profiles/. For example, in /profiles/1234/orders the profile ID is 1234.

string
required

ID of the product. A product from another profile returns 404.

Body Params
images[]
array of files

An image file. Repeat the key to send several.

Responses

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