Admin API/Products and collections/Mutations
productVideoDelete
mutationReturns ProductVideoDeletePayload!
mutation ProductVideoDelete($id: ID!) {
productVideoDelete(id: $id) {
deletedVideoId
userErrors {
code
message
field
}
}
}
# Variables
{
"id": "gid://ostorya/Product/0f8c5b1e-…"
}Arguments
- idID!required
Payload
- deletedVideoIdID
- userErrors[UserError!]!required