Admin API/Products and collections/Mutations
productVideoUpdate
mutationReturns ProductVideoPayload!
mutation ProductVideoUpdate($alt: String!, $id: ID!) {
productVideoUpdate(alt: $alt, id: $id) {
video {
id
createdAt
alt
bytes
mimeType
url
}
userErrors {
code
message
field
}
}
}
# Variables
{
"alt": "",
"id": "gid://ostorya/Product/0f8c5b1e-…"
}Arguments
Payload
- userErrors[UserError!]!required
- videoProductVideo