Upload a new thumbnail
Last updated
Last updated
Note:The format of the thumbnail uploaded should be image/png, image/gif, image/jpeg, and the pixel size must be between 160 to 500.
Request POST https://{networkname}.api.offerslook.com/v1/offers/23/thumbnails
Request POST http://{networkname}.api.offerslook.com/v1/offers/23/thumbnails
HTTP method
Endpoint
POST
/v1/offers/{offer_id}/thumbnails
Parameter
Description
offer_id
The unique id for the offer.
Field
Type
Description
Nullable
file
file
Upload the file.
No
Field
Type
Description
id
integer
A string that uniquely identifies this thumbnail.
offer_id
integer
A string that uniquely identifies this offer.
url
string
The url of the thumbnail preview.
mime
string
content-type.
size
integer
The size of the file in bytes.
width
integer
The width of the image.
height
integer
The height of the image.
filename
string
The name of the file that was uploaded, optionally passed in.