我需要使用Pipedrive REST API列出所有交易及其产品。有谁知道怎么做?
提前致谢
答案 0 :(得分:0)
您可以使用this call获取所有优惠: GET / deals
检索回复后,您可以重复每笔交易并致电another API call: GET / deals / {id} / products
所以(伪)代码示例可能如下所示:
DEALS = GET /deals
for DEAL in DEALS
DEAL_ID = DEAL.ID
PRODUCTS = GET /deals/DEAL_ID/products