v1

latestOpenAPI 3.1.02026-07-216139114.2 KB
Previews
Shops

Register an uploaded image into the shop's media library

Returns a media image id to reference as a region's imageId in POST /previews.

post/channel-api/v1.0/media/images

Request body

fileUrlstring required

URL of the uploaded artwork, as returned by POST /upload-url (fileUrl).

widthinteger required

Pixel width of the uploaded artwork.

heightinteger required

Pixel height of the uploaded artwork.

Response

Created

idstring required

Media image id. Pass this as a region's imageId to POST /previews.

uristring required
widthinteger required
heightinteger required