POST /users.json

POST /users.json
application/json

Body Required

Responses

POST /users.json
curl \
 -X POST http://api.example.com/v1/users.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"archiveReason":"other","channel":{},"closedConversations":0,"credentialCycles":0,"customerId":42,"dropDescription":"string","dropReason":"old","droppedAt":"2024-05-04T09:42:00+00:00","dropshipProviderId":42,"email":"string","emailExport":true,"emailSet":true,"enabled":true,"firstName":"string","fullName":{},"hasUnviewedAnnouncements":false,"hash":{},"initials":{},"invitationStatus":"notSent","invoicingNotifications":true,"lastName":"string","limitConsumption":42,"openConversations":0,"partnerId":42,"password":"string","passwordSet":true,"profileImage":"string","resellerId":42,"resetToken":"string","role":"admin","shippingNotifications":true,"throttle":true,"throttleParity":true,"token":"string","vendorId":42}'
Request example
{
  "archiveReason": "other",
  "channel": {},
  "closedConversations": 0,
  "credentialCycles": 0,
  "customerId": 42,
  "dropDescription": "string",
  "dropReason": "old",
  "droppedAt": "2024-05-04T09:42:00+00:00",
  "dropshipProviderId": 42,
  "email": "string",
  "emailExport": true,
  "emailSet": true,
  "enabled": true,
  "firstName": "string",
  "fullName": {},
  "hasUnviewedAnnouncements": false,
  "hash": {},
  "initials": {},
  "invitationStatus": "notSent",
  "invoicingNotifications": true,
  "lastName": "string",
  "limitConsumption": 42,
  "openConversations": 0,
  "partnerId": 42,
  "password": "string",
  "passwordSet": true,
  "profileImage": "string",
  "resellerId": 42,
  "resetToken": "string",
  "role": "admin",
  "shippingNotifications": true,
  "throttle": true,
  "throttleParity": true,
  "token": "string",
  "vendorId": 42
}
Response examples (200)
{
  "archiveReason": "other",
  "channel": {},
  "closedConversations": 0,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "credentialCycles": 0,
  "customerId": 42,
  "dropDescription": "string",
  "dropReason": "old",
  "droppedAt": "2024-05-04T09:42:00+00:00",
  "dropshipProviderId": 42,
  "email": "string",
  "emailExport": true,
  "emailSet": true,
  "enabled": true,
  "firstName": "string",
  "fullName": {},
  "hasUnviewedAnnouncements": false,
  "hash": {},
  "id": 42,
  "initials": {},
  "invitationStatus": "notSent",
  "invoicingNotifications": true,
  "lastName": "string",
  "limitConsumption": 42,
  "openConversations": 0,
  "partnerId": 42,
  "password": "string",
  "passwordSet": true,
  "profileImage": "string",
  "resellerId": 42,
  "resetToken": "string",
  "role": "admin",
  "shippingNotifications": true,
  "throttle": true,
  "throttleParity": true,
  "token": "string",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "vendorId": 42
}