PUT /catalog/products/{product_id}/videos/{id}

Updates a *Product Video.

Required Fields

Read-Only Fields

The Catalog API integrates with third-party YouTube, and you must load videos through YouTube. The YouTube Terms of Service and Google Privacy Policy apply, as indicated in our Privacy Policy and Terms of Service.

Servers

Path parameters

Name Type Required Description
id Integer Yes

The BigCommerce ID of the Video

product_id Integer Yes

The ID of the Product to which the resource belongs.

Request headers

Name Type Required Description
Accept String Yes

The MIME type of the response body.

Default value: "application/json"

Content-Type String Yes

The MIME type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id Integer No

The unique numeric ID of the product video; increments sequentially.

sort_order Integer No

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.

description String No

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

title String No

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

type String No

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

Valid values:

  • "youtube"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.