edit

abstract fun edit(token: String, userId: String, itemId: String, payload: Map<String, Any>): String

Method to edit an existing item

Return

the response of the request as String

Parameters

userId

The identifier of the user

token

The token of the user

itemId

The identifier of the item to edit

payload

The payload to edit the item