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": 123, "currency": "<string>", "status": "ACTIVE", "metadata": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
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
x >= 0.01
Show child attributes
Product updated successfully
0
"success"