Admin API / Types
DuplicateProductInput
InputThe listing to copy and the number of copies.
input DuplicateProductInputInput fields
| Field | Type | Description |
|---|---|---|
copyCount | PositiveInt! | 1 to 20. More than 20 fails with VALIDATION_ERROR. |
idempotencyKey | String! | 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. |
productId | ID! | The listing to copy: a listing of the caller or of a seller in Viewer.access.actingFor. |