CloneProductInput
Copies a product.
input CloneProductInput {
idempotencyKey: String!
name: String
sourceProductId: ID!
status: ProductStatus
}
Fields
CloneProductInput.idempotencyKey ● String! non-null scalar
A unique key per user action. Sending the same key again returns the copy already made instead of a second one.
CloneProductInput.name ● String scalar
The name for the copy. Leave blank to name it automatically after the original.
CloneProductInput.sourceProductId ● ID! non-null scalar
The ID of the product to copy.
CloneProductInput.status ● ProductStatus enum
The status of the copy. Defaults to INACTIVE, so a copy that is not yet reviewed is never visible to buyers.
Member Of
cloneProduct mutation