Sign-up
- Sign-up page: localhost:8080/sign-up

- form field
- Required: Email address (cannot sign up with free domains like Gmail, Cloud...)
- Optional: Promotion code
- It will create a new userID using AWS Cognito and then create a new tenantID using that userID


- 2 new records will be created in**
TenantAndUserAccessManagementService**

Schemas
TenantID
{
TenantId: string
RangeKey: string (MASTER)
CreatedAtUtc: string
AmazonSellerInfo: string
Billing: string
Owner: string
FreeTrialPeriodDays: number
FreeTrialStartDateAtUtc: string
Plan: string
PromotionCode: string
RequestedBy: string
Status: string
TenantType: string (NORMAL)
UpdatedAtUtc: string
}
[
{
"marketplaceId":
"merchantId":
"merchantName":
"timeZone":
"spApi": {
"refreshToken":
"updatedAtUtc":
"createdAtUtc":
},
"adsApi": {
"profileId":
"name":
"refreshToken":
"createdAtUtc":
},
"updatedAtUtc":
"createdAtUtc":
}
]
{"companyName":"",
"postalCode":"",
"prefecture":"",
"city":"",
"address1":"",
"phoneNumber":"",
"department":"",
"title":"",
"lastName":"",
"firstName":"",
"email":""}
Owner
{
TenantID: string
RangeKey: string (UserID)
CreatedAtUtc: string
RequestedBy: string
Status: string
UpdatedAtUtc: string
UserType: string (OWNER)
}