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