Sitecore OrderCloud Documentation

docs

Portal login

Move a user to a different buyer.

POST

/buyers/{buyerID}/users/{userID}/moveto/{newBuyerID}

201

Roles

At least one of the roles below is required to access this endpoint.

FullAccessBuyerUserAdmin

Parameters

NameTypeDescriptionPossible Values
buyerIDRequiredstringID of the buyer.---
userIDRequiredstringID of the user.---
newBuyerIDRequiredstringID of the new buyer.---
ordersRequiredstringOrders of the user. Possible values: None, Unsubmitted, All.None, Unsubmitted, All

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
CompanyIDRead Onlystring---------
Usernamestring---100 characters---

Passwordstringpassword------
FirstNamestring---100 characters---
LastNamestring---100 characters---
Emailstring---200 characters---
Phonestring---100 characters---
TermsAcceptedstringdate-time------
Activeboolean---------

xpobject---------
AvailableRolesRead Onlyarray---------

LocaleRead Onlyobject---------

DateCreatedRead Onlystringdate-time------
PasswordLastSetDateRead Onlystringdate-time------

Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore