POST
/
returns
/
{return_id}
/
fraud-report
curl --request POST \
  --url https://api.loopreturns.com/api/v1/returns/{return_id}/fraud-report \
  --header 'Content-Type: application/json' \
  --header 'X-Authorization: <api-key>' \
  --data '{
  "category": "package-never-received",
  "comment": "This is a sample comment."
}'
{
  "category": "package-never-received",
  "comment": "This is a sample comment.",
  "created_at": "2024-10-25T16:44:47.038Z",
  "return_id": 23141,
  "id": 87
}

Authorizations

X-Authorization
string
header
required

Path Parameters

return_id
integer
required

The return's unique identifier.

Body

application/json
category
enum<string>

The category under which the fraudulent return falls.

Available options:
package-never-received,
package-is-empty,
package-is-missing-items,
instant-return-charge-failed,
keep-item-abuse,
splitting-returns-to-avoid-restrictions,
item-is-worn,
other
comment
string

Any additional context associated with the fraudulent return.

Response

201
application/json
Success
category
enum<string>

The category under which the fraudulent return falls.

Available options:
package-never-received,
package-is-empty,
package-is-missing-items,
instant-return-charge-failed,
keep-item-abuse,
splitting-returns-to-avoid-restrictions,
item-is-worn,
other
comment
string

Any additional context associated with the fraudulent return. This property is required if the category is set to other.

created_at
string

The date and time at which the fraud report was created.

return_id
integer

The return's unique identifier.

id
integer

The fraud report's unique identifier.