Confirm subscription switch
Confirm a subscription plan switch after payment method update.
Authorization
cookieAuth wordpress_logged_in<token>
WordPress cookie authentication for same-origin requests. Requires a valid nonce passed via X-WP-Nonce header.
In: cookie
Path Parameters
subscription_uuid*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://your-site.com/wp-json/fluent-cart/v2/customer-profile/subscriptions/string/confirm-subscription-switch" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}