Version: 202201
Update The Capped Amount Of Recurring Application Charge
PUT/openapi/2022-01/recurring_application_charges/:recurring_charge_id/customize
Update the capped amount for a recurring application charge.
Request
Path Parameters
recurring_charge_id stringrequired
- application/json
- Body
- Example
Body
capped_amountfloatrequired
The maximum usage fee must be greater than the original maximum
{
"capped_amount": 0
}
Responses
- 200
- 404
- 422
200
- application/json
- Schema
- Example
- Result
Schema
recurring_application_charge object
idstring
Example:
372269669345671159namestring
Example:
testpricestring
Example:
100activated_onstring
Example:
2024-04-23T00:00:00Zbilling_onstring
Example:
2024-05-23T00:00:00Zcancelled_on
capped_amountstring
Example:
10return_urlstring
Example:
https://shoplazza.comstatusstring
Example:
activetermsstring
Example:
termstestboolean
Default value:
trueExample:
falsetrial_daysinteger
Default value:
0Example:
0trial_ends_on
update_capped_amount_urlstring
Example:
https://test-shoplazza.stg.myshoplaza.com/admin/smart_apps/angora/app_store/charges/s1deCNrkHePwO3HDDZb_zfWJAge07nzNckPyfM_Hvp0/372269669345671159/recurring_usage_charge/confirm?signature=1543b02176c185b4bfe70303b7f2b300&adjust_id=372273239407212535created_atstring
Example:
2024-04-23T06:26:46Zupdated_atstring
Example:
2024-04-23T06:40:51Z{
"recurring_application_charge": {
"id": "372269669345671159",
"name": "test",
"price": "100",
"activated_on": "2024-04-23T00:00:00Z",
"billing_on": "2024-05-23T00:00:00Z",
"cancelled_on": {},
"capped_amount": "10",
"return_url": "https://shoplazza.com",
"status": "active",
"terms": "terms",
"test": false,
"trial_days": 0,
"trial_ends_on": {},
"update_capped_amount_url": "https://test-shoplazza.stg.myshoplaza.com/admin/smart_apps/angora/app_store/charges/s1deCNrkHePwO3HDDZb_zfWJAge07nzNckPyfM_Hvp0/372269669345671159/recurring_usage_charge/confirm?signature=1543b02176c185b4bfe70303b7f2b300&adjust_id=372273239407212535",
"created_at": "2024-04-23T06:26:46Z",
"updated_at": "2024-04-23T06:40:51Z"
}
}
{
"recurring_application_charge": {
"id": "372269669345671159",
"name": "test",
"price": "100",
"activated_on": "2024-04-23T00:00:00Z",
"billing_on": "2024-05-23T00:00:00Z",
"cancelled_on": null,
"capped_amount": "10",
"return_url": "https://shoplazza.com",
"status": "active",
"terms": "terms",
"test": false,
"trial_days": 0,
"trial_ends_on": null,
"update_capped_amount_url": "https://test-shoplazza.stg.myshoplaza.com/admin/smart_apps/angora/app_store/charges/s1deCNrkHePwO3HDDZb_zfWJAge07nzNckPyfM_Hvp0/372269669345671159/recurring_usage_charge/confirm?signature=1543b02176c185b4bfe70303b7f2b300&adjust_id=372273239407212535",
"created_at": "2024-04-23T06:26:46Z",
"updated_at": "2024-04-23T06:40:51Z"
}
}
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Record not found"
]
}
{
"errors": [
"Record not found"
]
}
422
- text/plain
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"RecurringChargeId is required"
]
}
{
"errors": [
"RecurringChargeId is required"
]
}