subscriptionReinstate

Reinstating an expired or canceled subscription. The subscriptionReinstate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: standard:write

mutation subscriptionReinstate ($ids: [ID!]!, $paymentId: ID, $taxes: Boolean, $effectiveDate: ISO8601Date) {
  subscriptionReinstate (ids: $ids, paymentId: $paymentId, taxes: $taxes, effectiveDate: $effectiveDate) {
      errors
      subscriptions
  }
}

ArgumentsLink to Arguments section

{
  "ids": [
    "456123"
  ],
  "paymentId": "456123",
  "taxes": true,
  "effectiveDate": "2022-06-01"
}
Name Type Description
ids List (ID)  
paymentId ID  
taxes Boolean  
effectiveDate ISO8601Date  

ResponseLink to Response section

Name Type Description
errors List (JSON)  
subscriptions List (Subscription)