【发布时间】:2019-07-08 22:24:22
【问题描述】:
在Documentation 之后,我尝试使用 API 更新发票的状态。
我已经尝试发送了
{"single": {"status": "$status"}} 以及
{"status": "$status"} 到
PUT api/v1/invoices/$invoiceId
其中 $status 是 canceled(也尝试使用 paid)但没有成功。尽管在所有情况下我都得到了 200 的 http 状态代码。如何“取消”发票?如果请求失败,如何发送“非法请求”状态码或其他内容?
谢谢, 马丁。
{"application":"ActiveCollab","version":"6.0.6"}
【问题讨论】:
标签: api activecollab