{
    "name": "UTTeam",
    "app_type": "utteam",
    "sync_type": "api",
    "is_active": true,
    "debug_mode": false,
    "authorization": {
        "auth_type": "no-auth",
        "auth_settings": []
    },
    "connections": [
        {
            "name": "Products",
            "type": "api",
            "is_active": true,
            "is_primary": true,
            "resource_type": "product",
            "priority": 1,
            "configuration": {
                "body": {
                    "data": {
                        "action": "product",
                        "format": "json"
                    },
                    "type": "json"
                },
                "method": "POST",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json"
                },
                "endpoint": "https://utteam.com/api/dataexport/<api_key>",
                "auth_enabled": false,
                "prerequisites": {
                    "product_response": "",
                    "variable_response": {},
                    "main_product_unique_identifier": "sku",
                    "variable_product_unique_identifier": "sku"
                },
                "advanced_configuration": {
                    "time_delay": ""
                }
            }
        },
        {
            "name": "Inventory",
            "type": "api",
            "is_active": true,
            "is_primary": false,
            "resource_type": "product",
            "priority": 2,
            "configuration": {
                "body": {
                    "data": {
                        "action": "stock",
                        "format": "json"
                    },
                    "type": "json"
                },
                "method": "POST",
                "headers": {
                    "Content-Type": "application/json",
                    "Accept": "application/json"
                },
                "endpoint": "https://utteam.com/api/dataexport/<api_key>",
                "auth_enabled": false,
                "prerequisites": {
                    "product_response": "",
                    "variable_response": {},
                    "main_product_unique_identifier": "sku",
                    "variable_product_unique_identifier": ""
                },
                "advanced_configuration": {
                    "time_delay": ""
                }
            }
        }
    ],
    "attribute_mapping": [
        {
            "connection": "Products",
            "product_type": "parent",
            "type": "core",
            "wc_attribute": "description",
            "supplier_attribute": "longdesc_en",
            "advanced_configuration": {
                "translation": {
                    "is_active": false,
                    "attributes": [
                        {
                            "apiValue": "",
                            "condition": "equals",
                            "translatedValue": ""
                        }
                    ]
                },
                "add_during_sync": true,
                "update_during_sync": true,
                "fetch_from_other_api": {
                    "is_active": false,
                    "connection": ""
                }
            }
        },
        {
            "connection": "Inventory",
            "product_type": "parent",
            "type": "core",
            "wc_attribute": "regular_price",
            "supplier_attribute": "price",
            "advanced_configuration": {
                "translation": {
                    "is_active": false,
                    "attributes": [
                        {
                            "apiValue": "",
                            "condition": "equals",
                            "translatedValue": ""
                        }
                    ]
                },
                "tier_pricing": {
                    "base_path": "",
                    "is_active": false,
                    "format_type": "key-value",
                    "configuration": [],
                    "use_discount_percentage": false
                },
                "add_during_sync": true,
                "update_during_sync": true,
                "price_margin_config": {
                    "amount": "",
                    "operator": "",
                    "is_active": false
                },
                "fetch_from_other_api": {
                    "is_active": false,
                    "connection": ""
                }
            }
        },
        {
            "connection": "Products",
            "product_type": "parent",
            "type": "core",
            "wc_attribute": "images",
            "supplier_attribute": "modelimageurl",
            "advanced_configuration": {
                "translation": {
                    "is_active": false,
                    "attributes": [
                        {
                            "apiValue": "",
                            "condition": "equals",
                            "translatedValue": ""
                        }
                    ]
                },
                "image_src_attr": "",
                "add_during_sync": true,
                "image_path_attr": "https://utteam.com/utt_img/product_images/640",
                "update_during_sync": true,
                "fetch_from_other_api": {
                    "is_active": false,
                    "connection": ""
                }
            }
        },
        {
            "connection": "Products",
            "product_type": "parent",
            "type": "core",
            "wc_attribute": "name",
            "supplier_attribute": "shortdesc_en",
            "advanced_configuration": {
                "translation": {
                    "is_active": false,
                    "attributes": [
                        {
                            "apiValue": "",
                            "condition": "equals",
                            "translatedValue": ""
                        }
                    ]
                },
                "add_during_sync": true,
                "update_during_sync": true,
                "fetch_from_other_api": {
                    "is_active": false,
                    "connection": ""
                }
            }
        },
        {
            "connection": "Products",
            "product_type": "parent",
            "type": "core",
            "wc_attribute": "sku",
            "supplier_attribute": "sku",
            "advanced_configuration": {
                "translation": {
                    "is_active": false,
                    "attributes": [
                        {
                            "apiValue": "",
                            "condition": "equals",
                            "translatedValue": ""
                        }
                    ]
                },
                "add_during_sync": true,
                "update_during_sync": true,
                "fetch_from_other_api": {
                    "is_active": false,
                    "connection": ""
                }
            }
        },
        {
            "connection": "Inventory",
            "product_type": "parent",
            "type": "core",
            "wc_attribute": "stock_quantity",
            "supplier_attribute": "uttstock",
            "advanced_configuration": {
                "translation": {
                    "is_active": false,
                    "attributes": [
                        {
                            "apiValue": "",
                            "condition": "equals",
                            "translatedValue": ""
                        }
                    ]
                },
                "add_during_sync": true,
                "update_during_sync": true,
                "fetch_from_other_api": {
                    "is_active": false,
                    "connection": ""
                }
            }
        }
    ],
    "operations": [
        {
            "operation": "product-operations",
            "operation_type": "data-sync",
            "is_active": true,
            "configuration": {
                "available_products": {
                    "add": false,
                    "update": true,
                    "product_status": "publish",
                    "update_product_status": false
                },
                "unavailable_products": {
                    "operation": "none",
                    "products_of": "none"
                }
            },
            "connections": [
                "Inventory"
            ]
        },
        {
            "operation": "product-operations",
            "operation_type": "data-sync",
            "is_active": true,
            "configuration": {
                "available_products": {
                    "add": true,
                    "update": true,
                    "product_status": "publish",
                    "update_product_status": false
                },
                "unavailable_products": {
                    "operation": "none",
                    "products_of": "none"
                }
            },
            "connections": [
                "Products"
            ]
        },
        {
            "operation": "product-operations",
            "operation_type": "data-sync",
            "is_active": true,
            "configuration": {
                "available_products": [],
                "unavailable_products": []
            },
            "connections": [
                "Inventory"
            ]
        },
        {
            "operation": "batch",
            "operation_type": "performance-optimization",
            "is_active": true,
            "configuration": {
                "batch_size": "100"
            },
            "connections": [
                "Products"
            ]
        },
        {
            "operation": "batch",
            "operation_type": "performance-optimization",
            "is_active": true,
            "configuration": {
                "batch_size": "100"
            },
            "connections": [
                "Inventory"
            ]
        },
        {
            "operation": "batch",
            "operation_type": "performance-optimization",
            "is_active": true,
            "configuration": [],
            "connections": [
                "Products"
            ]
        },
        {
            "operation": "batch",
            "operation_type": "performance-optimization",
            "is_active": true,
            "configuration": [],
            "connections": [
                "Inventory"
            ]
        }
    ]
}