AddUserToStore
Adds a user to a store.
Stored Procedure-Specific Information
To add a user to the store, you must specify the following parameters: StoreId and either UserId or Email.
The following example shows how to add a user to the store.
EXECUTE AddUserToStore Email='[email protected]', StoreId='bc/account/store/9csrelntug';
EXECUTE AddUserToStore UserId='bc/account/user/123456', StoreId='bc/account/store/9csrelntug';
Input
| Name | Type | Required | Description |
| StoreId | String | True | The ID of the store. |
| UserId | String | False | The ID of the user to be added to the store. |
| String | False | The email of the user to be added to the store. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| StoreId | String | The ID of the store to which the user was added. |