Create Product Assets

Upload assets to a product

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Using v4/assets/products, you can upload two types of assets:

  1. Image Assets (asset->type = "image" or asset->type = "swatch").
  2. Video Assets (asset->type = "video"). Please note that "Product Videos" are a premium feature and must be enabled for your account. Contact your account manager if you would like Product Videos to be activated.

When uploading new assets, the following restrictions apply:

Image Asset Restrictions

  • asset->type must be "image" or "swatch".
  • Allowed file extensions: .gif, .jpeg, .jpg, .png
  • The file name cannot exceed 100 characters.
  • Maximum allowed file size: 10 MB.

Video Asset Restrictions

  • asset->type must be "video".
  • Allowed file extension: .mp4
  • The file name cannot exceed 100 characters.
  • Maximum allowed file size: 15 MB.
  • Only one video asset per product is allowed.
Query Params
string
required

JOOR Account ID

boolean
Defaults to false

If set to "true", all existing assets will be deleted before adding new ones. If you upload only image assets and set replace_all = true, then only existing image assets will be deleted. If you upload only video assets and set replace_all = true, then only existing video assets will be deleted. If you upload both image and video assets in the same request, all existing image and video assets will be deleted and replaced with the new assets provided in the request.

Body Params
RAW_BODY
array of objects
RAW_BODY
Headers
string

Authorization token

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json