Update subscription

POST /api/v1/subscription

Headers

application/json

Body Required

  • price_id string Required

    Price ID of the plan to subscribe to

POST /api/v1/subscription
curl \
 -X POST https://api.plannrcrm.com/api/v1/subscription \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"price_id":"price_1KrJOcS9CYhUBggDGcRxPQ8Z"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "price_id": "price_1KrJOcS9CYhUBggDGcRxPQ8Z"
}