reviewRequests
Status: Trusted Tester
A Review Request is an instance of a business location attempting to send an email or SMS review request to a customer.
RQT-00003fa2-bd72-40c2-9101-xxxxxxxxxxxxreviewRequestsattributes object
Possible values: [email, sms]
sending- the initial status of a successfully created ReviewRequest.
sent- set when review request delivery is confirmed.
opened- set when an email review request has been opened.
clicked- set when the review site link has been clicked in a review request.
dropped- set when a review request delivery has failed ex. sending an SMS review request to a landline phone number.
unsubscribed- set when attempting to send a request to a customer that has previously unsubscribed from review requests from this business location.
Possible values: [sending, sent, opened, clicked, dropped, unsubscribed]
relationships object
customer object
data object
Should be in the format {{business location id}}:{{Vendasta customer id}}. Vendasta customer ids may be in the form of CUSTOMER-003c26eb-f940-48c6-a5dc-xxxxxxxxxxxx or CONTACT-003c26eb-f940-48c6-a5dc-xxxxxxxxxxxx.
Possible values: <= 256 characters
AG-abc123:CUSTOMER-003c26eb-f940-48c6-a5dc-xxxxxxxxxxxxcustomerprimaryTemplate object
data object
Should be in the format {{business location id}}:{{template type}}:{{template id}}
Possible values: <= 256 characters
AG-abc123:sms:TEM-d2f4cf1aa7ae480bbf0a2da67dxxxxxxtemplatefallbackTemplate object
data object
Should be in the format {{business location id}}:{{template type}}:{{template id}}
Possible values: <= 256 characters
AG-abc123:email:TEM-d2f4cf1aa7ae480bbf0a2da67dxxxxxxtemplate{
"id": "RQT-00003fa2-bd72-40c2-9101-xxxxxxxxxxxx",
"type": "reviewRequests",
"attributes": {
"requestType": "email",
"status": "sending",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"relationships": {
"customer": {
"data": {
"id": "AG-abc123:CUSTOMER-003c26eb-f940-48c6-a5dc-xxxxxxxxxxxx",
"type": "customer"
}
},
"primaryTemplate": {
"data": {
"id": "AG-abc123:sms:TEM-d2f4cf1aa7ae480bbf0a2da67dxxxxxx",
"type": "template"
}
},
"fallbackTemplate": {
"data": {
"id": "AG-abc123:email:TEM-d2f4cf1aa7ae480bbf0a2da67dxxxxxx",
"type": "template"
}
}
}
}