Hello @Starlord
Thanks for reaching out!
Referring the Graph API documentation you shared, I'm able to Create/Update SharePoint List Item with Client-credential Token.
Please find below sample request along with screenshots for reference:
Sample request:
POST https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items
Content-Type: application/json
{
"fields": {
"Title": "Widget",
"Color": "Purple",
"Weight": 32
}
}
Results:
Update List Item:
Sample request body:
PATCH https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items/{item-id}/fields
Content-Type: application/json
{
"Color": "Fuchsia",
"Quantity": 934
}
Results:
NOTE: Please use only valid Column Names while executing both Operations (CREATE/PATCH).
References:
https://learn.microsoft.com/en-us/graph/api/listitem-create?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/listitem-update?view=graph-rest-1.0&tabs=http
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.