Send messages to specific customers for a particular engagement task.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The anonymized email addresses of the buyers. Retrieve these values from the Get Order Details API.
Provide 1 to 50 addresses per request.
Note: You can only send messages to buyers who have placed at least one order with the shop in the past 365 days.
The ID of the associated customer engagement task. Use the value returned when you call the Create Engagement Task API. Note: Ensure the task is still active. You cannot send messages to tasks that have ended.
Example
{ "buyer_emails": [ "v43424bDOUSGKQQ7YLNEGXPED3CNCQO24@scs.tiktokw.us", "v4b1232DOUSGKQQ7YLNEMPPEPBORFEQ2A@scs.tiktokw.us" ], "task_id": "1381478460934"}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The list of per-buyer validation or eligibility errors.
object
The error code.
The error message.
The details of the error.
object
The anonymized buyer email address associated with the error.
Example
{ "code": 0, "data": { "errors": [ { "code": 68009003, "message": "The user adresss is invalid", "detail": { "buyer_email": "v4b1232DOUSGKQQ7YLNEMPPEPBORFEQ2A@scs.tiktokw.us" } } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}