cURL
curl --request PATCH \ --url https://api.yuvexpay.com/v1/products/{productId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "amount": 500000.005, "isActive": true, "metadata": {} } '
{ "product": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "amount": 123, "externalId": "<string>", "isActive": true, "createdAt": "2023-11-07T05:31:56Z" }, "message": "<string>" }
Update one or more fields of an existing product.
API access token obtained from POST /oauth/token. Include as Authorization: Bearer {token}.
Authorization: Bearer {token}
The product ID.
1 - 200
1000
Set to null to remove the default price.
null
0.01 <= x <= 1000000
Show child attributes
Product updated.