cURL
curl --request PUT \ --url https://api.decodahealth.com/v1/item/update/{id} \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data '{ "description": "<string>", "image": "<string>", "meta": {}, "name": "<string>", "price": 123, "unit": "<string>" }'
{ "description": "<string>", "id": "<string>", "image": "<string>", "meta": {}, "name": "<string>", "price": 123, "unit": "<string>" }
The tenant you are making this request on behalf of
Your api key
Successful Response
The response is of type object.
object