Upload Instant Site tile image
POST
https://vuega.ecwid.com/api/v1/{storeId}/tile/{tileId}/image
Required access scopes
Your app must have the following access scopes to make this request: manage_instant_site
Path params
All path params are required.
storeId
number
Ecwid store ID.
tileId
string
Internal tile ID.
Headers
Both headers are required.
Authorization
string
Token for Instant Site API calls. Get token
Requires a token with grant_type=authorization_code
type.
Content-type
string
Must be application/json
Request JSON
A JSON object with the following fields:
acceptHeader
string
Must be multipart/form-data
.
Required
JSON in the request body must look like:
{
"acceptHeader": "multipart/form-data"
}
Response JSON
A JSON object with the following fields:
url
string
URL for uploading the image.
Image must be uploaded through a POST
request with the Content-Type: multipart/form-data
header and image binary data in the request body.
id
string
Internal ID reserved for the image. Use Get tile image upload result request to check the status and details after uploading the image.
Last updated
Was this helpful?