Duplicate product
Creates a copy of an existing product within the same project. Useful when you need the same product multiple times with different configurations or for different time periods.
What gets duplicated:
- All product details (name, description, category, logo)
- All pricing information
- All variants and their configurations
- All options and option values
- Current quantity and settings
Use cases:
- Same product with different active date ranges
- Same product with different variant/option selections
- Multiple instances of a product in one project
Returns the ID of the newly created duplicate product.
/projects/{projectId}/products/{productId}/duplicateAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredprojectIdstring<uuid>requiredProject ID
productIdstring<uuid>requiredProduct ID to duplicate
fieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
compactfullLT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
fullProduct duplicated successfully
successbooleanrequiredOperation success flag
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient permissions or no project access
Not Found - Product or project does not exist