Set default price
Set a specific price as the default for its plan. Unsets previous default.
Set a specific price as the default for its plan. Unsets previous default.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
id*string
priceId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/plans/string/prices/string/default"{ "success": true, "data": { "id": "string", "isDefault": true, "object": "plan", "livemode": true }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}