Duplicate a product form component. The new field is an exact copy including all items and pricing. Returns the ID of the newly created field.
Required parameters
| Parameter | Description |
id | Form field ID to duplicate |
product_id | Product ID to duplicate the form into (can be the same product or a different one) |
Optional parameters
| Parameter | Description |
with_archived | Include archived items in the duplicate: 1 = yes, 0 = no (default) |
Request
PHP Samples
PHP Samples: Duplicate including archived items
Response