Skip to main content
POST
Register an uploaded image into the shop's media library
This endpoint is in beta and subject to change.

Body

application/json
fileUrl
string
required

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

width
integer<int32>
required

Pixel width of the uploaded artwork.

height
integer<int32>
required

Pixel height of the uploaded artwork.

Response

201 - application/json

Created

id
string
required

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

uri
string
required
width
integer<int32>
required
height
integer<int32>
required