Headers
-
Content-Type string
-
Accept string
POST
/api/v1/subscription
curl \
--request POST https://api.plannrcrm.com/api/v1/subscription \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"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"
}