Itemsv1
Create new set item
Create a new set item associated with a record
POST
/v1/items/setHeader Parameters
Accept-Language?string
Language preference for the response
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/items/set" \ -H "Content-Type: application/json" \ -d '{ "record_id": "string", "record_type": "string", "type": "string", "name": "string" }'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"record_id": "user123",
"record_type": "user",
"type": "preference",
"name": "theme",
"created_at": "2019-08-24T14:15:22Z",
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"modified_at": "2019-08-24T14:15:22Z",
"modified_by": "e8d4374d-93a1-4e98-a6c6-fdcf00c5059f",
"active": true,
"metadata": {}
}Empty
Empty
Empty