Update User Id

GET Designer/Services/UpdateUserId?newUserId={newUserId}&oldUserId={oldUserId}&websiteId={websiteId}&webApiClientKey={webApiClientKey}&IsGuest={IsGuest}


This operation is used to change/update user id with the new user id. This operation requires old user id, new user id, is guest (To determine whether the user is guest or registered). This operation update user id of existing user id.


The user of your e-commerce website can be registered or guest user. If the user is not registered with your website, it will be treated as a guest user.


Both of the users will have a unique id. The guest user will have a temporary id.


If the guest user customizes the product and adds it to the cart, Artifi will maintain its record as a guest user.


When the guest user checkouts the product, your website will ask the user to register with your website. The user will register and you will create a unique id of the user and at that time.


Now you will need to replace the old id of the user with a newly created id in Artifi. To do this, you will need to call the "UpdateUserId" method.



Request Information

Parameters

Response Information

Response body formats

application/json, text/json


{

  "Response": "Success",

  "Message": "User id updated successfully.",

  "Data": null,

  "ErrorCode": null

}



{

  "Response": "Success",

  "Message": "User id updated successfully.",

  "Data": null,

  "ErrorCode": null

}


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.