如何解决在 PayPal 计划更新 API 中使用补丁/更新间隔单位时出现 INVALID_PATCH_PATH 错误
我使用了正文中的详细信息
[
{
"op": "replace","path": "/billing_cycles/frequency/interval_unit","value": "MONTH"
}
]
我得到的输出如下
{
"name": "INVALID_REQUEST","message": "Request is not well-formed,syntactically incorrect,or violates schema.","debug_id": "7e77554e0bd6d","details": [
{
"field": "/0/path","value": "/billing_cycles/frequency/interval_unit","location": "body","issue": "INVALID_PATCH_PATH","description": "The specified field cannot be patched."
}
],"links": [
{
"href": "https://developer.paypal.com/docs/api/v1/billing/subscriptions#INVALID_REQUEST","rel": "information_link","method": "GET"
}
]
}
为更新 PayPal 计划数据的interval_unit 传递的正确正文数据是什么。
解决方法
"issue": "INVALID_PATCH_PATH","description": "The specified field cannot be patched."
错误信息正确,该字段无法修补。
有关可以修补的字段,请参阅 the update API call's documentation。
如果您需要不同计费周期的计划,请创建一个新计划。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。