Update plan
PATCH
/v1/billing/plans/{billing_plan_id}
CREATED
or ACTIVE
status. For an INACTIVE
plan, you can make only status updates.You can patch these attributes and objects:
Attribute or object | Operations |
---|---|
description | replace |
payment_preferences.auto_bill_outstanding | replace |
taxes.percentage | replace |
payment_preferences.payment_failure_threshold | replace |
payment_preferences.setup_fee | replace |
payment_preferences.setup_fee_failure_action | replace |
name | replace |
请求参数
Path 参数
billing_plan_id
string
必需
示例值:
{{billing_plan_id}}
Header 参数
Content-Type
string
必需
示例值:
application/json
PayPal-Request-Id
string
必需
示例值:
{{$guid}}
Prefer
string
必需
return=minimal
. The server returns a minimal response to optimize communication between the API caller and the server. A minimal response includes theid
,status
and HATEOAS links.return=representation
. The server returns a complete resource representation, including the current state of the resource.
示例值:
{{prefer_representation_detailed}}
Body 参数application/json
示例代码
返回响应
修改 于 2023-08-16 07:18:59