# API: Clone product settings

# productCloneSettings

Clone product settings from source product to multiple target products. Settings to copy are passed as array of numbers.

# Required parameters

Parameter Description
source_product_id Source product id
target_product_ids Array of target product ids to which the settings will be copied
settings Array of settings to copy, where: 1 = 'Connect with app', 2 = 'Automation', 3 = 'Emails', 4 = 'Components', 5 = 'Other settings', 6 = 'Client functions', 7 = 'Price'

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=productCloneSettings&source_product_id=SOURCE_PRODUCT_ID&target_product_ids=TARGET_PRODUCT_IDS&settings=SETTINGS

# PHP Samples

# PHP Samples: Copying product settings to another product

# Response

{
    "success": true,
    "call": "productCloneSettings",
    "server_time": 1738756897,
    "info": [
        "Connect with app: Copying completed successfully",
        "Automation: Copying completed successfully"
    ]
}
Last Updated: 2/10/2025, 3:15:57 PM