v1

latestSwagger 2.02026-07-17148179252.3 KB
Catalog

Creates a video on a product, using a video ID from a host site.

post/catalog/products/{product_id}/videos

Request body

titlestring

The title for the video. If left blank, this will be filled in according to data on a host site.

descriptionstring

The description for the video. If left blank, this will be filled in according to data on a host site.

sort_orderinteger

The order in which the video will be displayed on the product page. Higher integers give the video a lower priority. When updating, if the video is given a lower priority, all videos with a sort_order the same as or greater than the video's new sort_order value will have their sort_orders reordered.

type'youtube'

The video type (a short name of a host site).

video_idstring

The ID of the video on a host site.

Response

A product video.

metaMeta

Empty meta object; may be used later.