curl --location --request POST 'https://data.api.attribuly.com/v2-4-2/api/get/setting-goals' \
--header 'ApiKey: 15xvome1000dh5vsow9geg7110yi43zd' \
--header 'Content-Type: application/json' \
--data-raw '{}'{
"code": 1,
"message": "Service succeed",
"data": {
"goals": [
{
"name": "Purchase",
"code": "x4w0tc0elo0co1n9eftdalo100h8dp6k",
"event_type": "checkout_completed",
"limit_type": "no",
"limit_value": [
"1"
],
"data_source": 1,
"conversion_num": 0
},
{
"name": "Add to cart",
"code": "x4w0tc0szc0co1ngbm1iidg3001z2nn1",
"event_type": "product_added_to_cart",
"limit_type": "no",
"limit_value": null,
"data_source": 1,
"conversion_num": 0
}
]
}
}