Fetch subscription from gateway
Fetch and synchronise subscription data from the payment gateway.
Authorization
applicationPassword AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Path Parameters
order_id*integer
Order ID
subscription_id*integer
Subscription ID
Response Body
application/json
application/json
curl -X PUT "https://your-site.com/wp-json/fluent-cart/v2/orders/0/subscriptions/0/fetch"{
"message": "string"
}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}