Enroll Allow You to Add Multiple Emails For Each Customer
Last updated 1 year ago
Success
const response = await fetch('/api/v1/onboarding/EmailInfo', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "ErrorCode": "text", "Message": "text" }
const response = await fetch('/api/v1/onboarding/EmailInfo/SendOtp', { method: 'POST', headers: {}, }); const data = await response.json();
const response = await fetch('/api/v1/onboarding/EmailInfo/ValidateOtp', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('/api/v1/onboarding/EmailInfo/GetVerifiedEmails', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "email": "text", "isDefault": false } ]
const response = await fetch('/api/v1/onboarding/EmailInfo/SetDefault', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('/api/v1/onboarding/EmailInfo/Approve', { method: 'POST', headers: {}, }); const data = await response.json();