Modify the Billing Grace Period Opt-in Status and Duration
Change the Boolean value representing the billing grace period opt-in status.
URL
PATCH https://api.appstoreconnect.apple.com/v1/subscriptionGracePeriods/{id}Path Parameters
| Name | Type | Description |
|---|---|---|
id Required | string |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | SubscriptionGracePeriodResponse | |
| 400 | Bad Request Content-Type: application/json | ErrorResponse | |
| 401 | Unauthorized Content-Type: application/json | ErrorResponse | |
| 403 | Forbidden Content-Type: application/json | ErrorResponse | |
| 404 | Not Found Content-Type: application/json | ErrorResponse | |
| 409 | Conflict Content-Type: application/json | ErrorResponse | |
| 422 | Content-Type: application/json | ErrorResponse | |
| 429 | Content-Type: application/json | ErrorResponse |
Mentioned in
Discussion
Example Request and Response
HTTP Body
There are now new duration options that can be set by using SubscriptionGracePeriodDuration