Skip to main content
POST
Add an asset to the library

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side, so never send a shop id.

Body

application/json
url
string<uri>
required
name
string
type
enum<string>
Available options:
image,
video
album
string

Response

201 - application/json

The saved asset.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required
success
boolean
required
message
string
required
data
any

Operation-specific payload (object, array, or null).