Send consent portal link (SMS and/or email)
Sends the customer a link to review and update consents on the public web portal. SMS is sent when the customer has a mobile number and the store has SMS configured; email when an address exists.
Each send generates a new signed link and invalidates any previously sent link for the same customer. Validity is tracked server-side (customer parameter CONSENT_PORTAL_HASH_NONCE); the link has no time-based expiry but becomes invalid when a new link is issued.
Portal URL format (served by the web app, not this API): {publicBaseUrl}/tenant/{tenantUid}/customer/{customerUid}/consents/{portalHash}
Required permissions: CUSTOMER
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer.
^[A-Za-z0-9-_]+Store used for SMS sender configuration and notification attribution
No Content
No content
POST /v2/tenants/{tenantUid}/customers/{customerUid}/consents/send-portal-link HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"storeUid": "text"
}No Content
No content
Last updated
Was this helpful?

