{"order": ["order"], "addAPI": {"url": "/product/variant/v1/_create", "requestBody": "{\"ProductVariant\": [],  \"tenantId\":\"mz\",      \"apiOperation\": \"CREATE\"}", "requestJson": "ProductVariant[0]", "responseJson": "ProductVariant[0].id"}, "custom": [{"prefix": "", "suffix": "", "fieldPath": "productId", "dataSource": {"API": "/product/v1/_search", "requestBody": "{\"Product\": {}}", "responseJSON": "Product", "requestParams": "{\"limit\":50,\"offset\":0,\"tenantId\":\"mz\"}", "customFunction": "(data)=>{ return data?.Product.map(obj=>obj.id); }", "responseFieldPath": "productId"}}], "schemaCode": "Health.ProductVariant"}