POST businesses/:id/upload-image

Special multipart/form-data endpoint that can handle image uploads for businesses.

Resource URL

https://api.localtunity.com/v2/businesses/:id/upload-image

Example

curl -F type=logo -F image="@/path/to/image.jpg" -H "Authorization: Bearer {access_token}" https://api.localtunity.com/v2/businesses/{id}/upload-image

Response 201 Status Code

Parameters

type: (string, required) The type of image for the business. Must be one of [logo]

image: (file, required) The file on your local filesystem of the image to upload. The image must be under 5MB and have a minimum height & width of 400px.