docs
  1. Resources
  2. Product Videos
  3. Update A Product Video

Update a product video

v1.204.1
OpenAPI 3.0.3

This is the specification of the SCAYLE Admin API.

For more information about how to interact with the Admin API, you can read the respective developer guide. The developer guide includes code samples for our PHP SDK, for our Java SDK and for JavaScript and curl.

Authentication is done via X-Access-Token HTTP Header as described here.

Base url should be prefixed with /api/admin/v1.

If a client side timeout is deemed necessary, it is recommended to set it at a minimum of 380 seconds.

Server:https://{tenant-space}.admin.api.scayle.cloud/v1
Client Libraries

Videos

​

Update a product video

​

Updates global and optional shop-country positions of a product video. Other videos on the same scopes are shifted accordingly. Optional customData creates/updates or clears video custom data when the field is present (null deletes). Optional productLocks.videoPositions creates video sorting locks (isLocked: true only).

Path Parameters

  • Product ID or reference key. If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

  • Product Video ID or video reference key. If you are using a reference key, use the key= prefix (URL-encode = as %3D when needed).

Query Parameters

  • Comma-separated list of additional properties that should be included in the response. productLocks is always included on standalone product-video responses (create, patch, GET list) as ProductVideoLocks (videoPositions only) and is not controlled by with. Nested videos under a product response never include productLocks.

  • If true, requested video positions are applied even when a sorting lock exists. Existing locks are not removed.

Body·

required
application/json
  • Position of the video. Counting starts with 0.

  • custom data of an entity

    Properties: 1
  • Video sorting locks for this product (videoPositions only). Use PATCH image or create/update product to set imagePositions.

    Properties: 1
  • Optional per-shop-country positions. When present, must contain at least one entry.

    Properties: 3

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for patch/products/{productIdentifier}/videos/{productVideoIdentifier}
const sc = new ProductVideoShopCountryPosition();
sc.shopKey = 'ms';
sc.countryCode = 'de';
sc.position = 1;

const body = new ProductVideoPosition();
body.position = 2;
body.shopCountrySpecific = [sc];

let response = await client.apis.Videos.patchProductVideo(
  { productIdentifier: 1, productVideoIdentifier: 123 },
  { requestBody: body }
);
let updatedVideo = response.body;

{
  "id": 123,
  "referenceKey": "myReferenceKey",
  "format": "mp4",
  "assetUrl": "videos/myReferenceKey.mp4",
  "isUploaded": true,
  "position": 2,
  "shopCountrySpecific": [
    {
      "shopKey": "ms",
      "countryCode": "de",
      "position": 1
    }
  ],
  "attributes": [
    {
      "name": "view",
      "type": "simple",
      "value": "front",
      "isLocked": false
    }
  ],
  "customData": {
    "isValid": true,
    "name": "ayou",
    "score": 100
  }
}

Models

​
​
​
​
​
​
​
​
​
​
​

Last updated: December 02, 2026