cURL
curl --request PATCH \ --url https://api.kyren.top/v1/products/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "2000 AI Credits", "price": "18.99" } '
{ "code": 0, "message": "success", "data": { "id": "<string>", "name": "<string>", "description": "<string>", "image": "<string>", "price": "<string>", "currency": "<string>", "status": "ACTIVE", "metadata": {}, "createdAt": 123, "updatedAt": 123 } }
Updates an existing product. Only the provided fields will be updated.
Your API key. Use kyren_live_* for production and kyren_test_* for testing.
kyren_live_*
kyren_test_*
The unique identifier of the resource
200
1000
^\d+(\.\d{1,2})?$
Show child attributes
Product updated successfully
0
"success"