Skip to main content

Add a picture to an offer

POST 

/v1/offers/:id/pictures

Stores a picture, such as a visualisation of the roof, and shows it on the offer. Send a form (multipart/form-data) with a JPEG, PNG or WebP of at most 5 MB in file; orderPriority is optional. Send it in the size it is shown in, 1920 pixels are plenty: it is stored as it is. Possible while the offer is a draft.

An offer shows a picture once. When it has the very same file already, the call answers 409 picture_already_in_offer and names it in pictureId, so a call whose answer you did not get can simply be repeated. Requires the write:offers scope.

Request​

Responses​

The new picture.