Previews
Shops

Register an uploaded image into the shop's media library

Changed on

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

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

Request

  • Base URL
    https://api.fourthwall.com
  • URL
    https://api.fourthwall.com/channel-api/v1.0/media/images
  • Auth
    none declared

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

Changes