Subscriptions
Update Subscription
Update a specific subscription
put/customers/{customer_id}/subscriptions/{id}
Path parameters
customer_idstring required
Example:cus_2tGzG1GxtDAZHEGPH
Identifier of the customer resource
idstring required
Example:sub_2tGzG1GxtDAZHEGPH
Identifier of the subscription resource
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Request body
Example request
{
"plan_id": "f84gdgf5g48r15fd21g8w424fd1",
"card_id": "src_2qUCNd5AyQqfPMBuV",
"trial_end": 1484040996
}Response
successful