cURL
curl --request PUT \ --url http://localhost:4000/v1/products \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "productId": 123, "name": "<string>", "description": "<string>" } '
200
Example
{ "data": { "product": { "id": 123, "name": "<string>", "description": "<string>", "price": 123, "contractValue": 123, "accountId": 123, "createdAt": "<string>", "updatedAt": "<string>" } } }
Update an existing product
API key required in Authorization header. Format: iclosed-<token>
iclosed-<token>
1
Successfully updated product
Show child attributes