- Is mandatory set
MONGO_URL
,BLING_KEY
andPIPEDRIVE_KEY
on.env
file (See.env-example
file) - This API will insert only deals with products
Return all inserted opportunities
Response example
[
{
"_id": "5f71e25e00260cf88b9fe00c",
"total_value": 13675,
"date": "2020-09-28"
}
]
Executes the "Sync" function, this function will insert all Pipedrive deals with products as orders on Bling
Response example
{
"message": "all deals were synchronized"
}