Resend a line item
This endpoint is particularly useful to ensure a reward is received again when the recipient has accidentally deleted, or hasn't received their reward due to an email delivery issue or technical glitch.
Note:
- You can't change the brand, value, or message of a reward that has been sent to its recipient. However, you can resend rewards to a different email address of the original reward recipient.
- You can resend a reward email to a different email address of the original recipient if they no longer have access to the original email address. for example, an outdated work email.
- You can't resend a reward email if any reward or physical gift card is sent by mail.
Use the following endpoint to resend a specific Line Item to the same email address on the platform.
Endpoint | Description |
---|---|
POST {URI}/lineItems/{referenceLineItemId}/resends | Resend a specific line item on this platform. |
Replace {URI} with the base URI of your API, and replace {referenceLineItemId}
with the unique identifier of the line item you want to resend.
The following path parameter is a required parameter. It represents the unique identifier of the line item you want to resend. This ID is autogenerated by the system and can be found in the response payload when you initially retrieve the line item:
Path params | Data type | Requirement | Description |
---|---|---|---|
referenceLineItemId | string | required | Reference line item ID is returned in the line item response payload. |
The following example shows the payload for when you resend a specific line item to the same email address:
{
"id": 0,
"legacyId": "string",
"createdAt": "2025-05-07T18:26:01.119Z",
"email": "string"
}
The following example shows the payload for when you resend a specific line item to the same email address:
{
"ID": 0,
"Legacy ID (only when resending v1 orders)": "string",
"Created Date": "2022-11-14T17:02:45.166Z",
"Email address that the resend was sent to": "string"
}
The possible response codes for this endpoint are as follows. For details, see i18nkey codes and their error messages:
- 201 Created
- 400 Bad request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
Updated 23 days ago