post-api2-dashboard-offers-upload_redeemable_image
Upload Redeemable Image
Allows a business to upload images for redeemables in bulk by first uploading them to a server or network and then providing the image URL in the API request. The maximum allowed image size is 500 KB.
Headers
- Type: string
Accept Set this header to application/json
- Type: string
Authorization requiredBearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".
- Type: string
Content - Type Set this header to application/json
Body
application/json
- Type: array object[]
data A list of image URLs that need to be uploaded
Responses
- Type: object
200 - Type: array object[]
results List of responses indicating if the entity is created or not
- Type: object
400 - Type: string
error
- Type: object
401 - Type: string
error
- Type: object
403 - Type: string
error
post/api2/dashboard/offers/upload_redeemable_image
{
"results": [
{
"external_id": "string",
"success": true,
"errors": [
"string"
]
}
]
}