Skip to main content

Complete Product Video Upload

POST 

/api/products/:product/videos/:video/complete

Finish a multipart upload after every part was PUT. The server joins the parts and queues the video check; the video moves to processing, then ready or failed.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

parts ([{n, etag}]) is optional — the server reads the stored parts itself. Completing an already-completed upload returns the video unchanged.

Returns 422 with the missing part numbers when parts are still missing (the upload stays open), or when another request is finishing the same upload right now. Every part but the last must be exactly part_size bytes and the parts must add up to the size given at start; otherwise the upload is discarded, the video is marked failed and 422 explains which part is wrong.

Authentication: Requires Bearer token (scope products:write).

Request​

Responses​

OK

Response Headers
    Content-Type