PUT /users/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
Archive reason
Values are
subscription
orother
. Default value isother
. -
Closed conversations
Default value is
0
. -
createdAt string(date-time)
Created at
-
Credential cycles
Default value is
0
. -
customerId integer(int32) | null
Customer
-
dropDescription string | null
Drop description
-
dropReason string | null
Drop reason
Values are
old
orhardfail
. -
droppedAt string(date-time) | null
Dropped at
-
dropshipProviderId integer(int32) | null
Dropship provider
-
Email
-
Email export
Default value is
true
. -
Email set
Default value is
true
. -
Enabled
Default value is
true
. -
firstName string | null
First name
-
Has unviewed announcements
Default value is
false
. -
id integer(int32)
Id
-
Invitation status
Values are
notSent
,sent
, oraccepted
. Default value isnotSent
. -
invoicingNotifications boolean | null
Invoicing notifications
-
lastName string | null
Last name
-
limitConsumption integer(int32) | null
Limit consumption
-
Open conversations
Default value is
0
. -
partnerId integer(int32) | null
Partner
-
Password
-
Password set
Default value is
true
. -
profileImage string | null
Profile image
-
resellerId integer(int32) | null
Reseller
-
resetToken string | null
Reset token
-
Role
Values are
accounting
,admin
,api
,manager
,partner
,shipping
,vendor
,customer
,dropship_provider
, orreseller
. Default value isadmin
. -
Shipping notifications
Default value is
true
. -
Throttle
Default value is
true
. -
throttleParity boolean | null
Throttle parity
-
token string | null
Token
-
updatedAt string(date-time)
Updated at
-
vendorId integer(int32) | null
Vendor
curl \
-X PUT http://api.example.com/v1/users/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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}'
{
"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
}