cURL
curl --request PATCH \ --url https://api.fungies.io/v0/products/{productId}/plans/{planId}/update \ --header 'Content-Type: application/json' \ --header 'x-fngs-public-key: <api-key>' \ --header 'x-fngs-secret-key: <api-key>' \ --data ' { "name": "<string>", "description": "", "features": [ { "value": "<string>" } ], "cover": "<string>", "coverBlurHash": "<string>", "coverVideo": "<string>", "externalId": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "status": "<string>", "data": { "plan": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "object": "variant", "internalId": null, "name": "", "description": "", "order": null } } }
Update an existing plan with the specified details.
PATCH /v0/products/:productId/plans/:planId/update Parameter
PATCH /v0/products/:productId/plans/:planId/update Request body
1 - 150
Show child attributes
PATCH /v0/products/:productId/plans/:planId/update Positive response
"success"
variant
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308