Admin API / Types

DuplicateProductInput

Input

The listing to copy and the number of copies.

input DuplicateProductInput

Input fields

FieldTypeDescription
copyCountPositiveInt!1 to 20. More than 20 fails with VALIDATION_ERROR.
idempotencyKeyString!A client-generated key, 1 to 200 characters after trim. A repeat with the same key and input within 24 hours returns the first result and makes no more copies. The same key with another input returns IdempotencyConflictError.
productIdID!The listing to copy: a listing of the caller or of a seller in Viewer.access.actingFor.