INVALID_PATCH_PATH 在 PayPal 计划更新中使用 patch/updating 间隔单位时出错 API
INVALID_PATCH_PATH error while using patch/updating the interval unit in PayPal plan update API
我在正文中使用了详细信息作为
[
{
"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。
如果您需要一个具有不同计费周期的计划,请创建一个新计划。
我在正文中使用了详细信息作为
[
{
"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。
如果您需要一个具有不同计费周期的计划,请创建一个新计划。