Resend a specific line item

Use the following endpoint to resend a specific Line Item to the same email address:

EndpointDescription
POST {URI}/lineItems/{referenceLineItemId}/resendsResend a specific Line Item.

Here is a path parameter for when you use POST {URI}/lineItems/{referenceLineItemId}/resends to resend a specific line item to the same email address. The identification of the line item you requested will be resent. The system autogenerates it, and you can find it by using the line item endpoint.

ParameterData typeDescription
referenceLineItemIdstring(Required) Reference line item id is returned in the line item response payload.

The response message for this endpoint is:

  • 201 Created
  • 400 Bad request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found

The following example shows the request for when you resend a specific line item to the same email address:

{
    "id": 957806,
    "legacyId":" string",
    "createdAt": "2023-09-18T17:18:05.159Z",
    "email": "string"
}

The following example shows the response 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"
}

Rewards as a Service™ and the RaaS® API are provided by Tango Card, Inc. © 2024 Tango Card, Inc.