Skip to main content
POST
Apply an image to a SKU

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

id
integer
required

File ID

Body

application/json
sku_id
integer
required

Product ID (as returned by GET /products)

set_as_photo
boolean
default:false

Also make the image the SKU's main photo

Response

Image applied

data
object