Move a picture of an offer
PATCH/v1/offers/:id/pictures/:pictureId
Changes where the picture comes among the offer's pictures. Possible while the offer is a draft. Requires the write:offers scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
The picture after the change.
validation_error: the body, a path or a query parameter is not valid. message names each problem, e.g. firstName: Required.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such offer in your company, or no such picture on it.
offer_not_draft: the offer was published already; its pictures can no longer change.
db_error: the files could not be read. storage_error: they could not be signed for download. message has the details.