{
  "info": {
    "_postman_id": "1acf0c62-ea80-484f-ab00-0e640c37c8b3",
    "name": "Loop Returns Cart Fraud Reports API",
    "description": "API for managing shop carts in Shop Now On-Store exchanges.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:07:58.000Z",
    "updatedAt": "2026-07-28T02:07:59.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-1acf0c62-ea80-484f-ab00-0e640c37c8b3"
  },
  "item": [
    {
      "name": "returns",
      "item": [
        {
          "name": "{return_id}",
          "item": [
            {
              "name": "fraud-report",
              "item": [
                {
                  "name": "Create Fraud Report",
                  "id": "fe510f49-fb72-49be-8bc8-00e540ee9f79",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "X-Authorization",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"category\": \"package-never-received\",\n  \"comment\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/returns/:return_id/fraud-report",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "returns",
                        ":return_id",
                        "fraud-report"
                      ],
                      "variable": [
                        {
                          "id": "7d1c7cbf-ab69-4316-b84d-66382762a8b1",
                          "key": "return_id",
                          "value": "<integer>",
                          "description": "(Required) The return's unique identifier."
                        }
                      ]
                    },
                    "description": "Attach a fraud report to a return to flag it for fraudulent activity."
                  },
                  "response": [
                    {
                      "id": "cbebddcf-866c-4d0f-8714-43885027397d",
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"category\": \"package-never-received\",\n  \"comment\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/returns/:return_id/fraud-report",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "returns",
                            ":return_id",
                            "fraud-report"
                          ],
                          "variable": [
                            {
                              "key": "return_id"
                            }
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<integer>\",\n  \"return_id\": \"<integer>\",\n  \"category\": \"item-is-worn\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<dateTime>\"\n}",
                      "createdAt": "2026-07-28T02:07:59.000Z",
                      "updatedAt": "2026-07-28T02:07:59.000Z",
                      "uid": "35240-cbebddcf-866c-4d0f-8714-43885027397d"
                    },
                    {
                      "id": "7d7e27d0-a361-435d-9795-6027f5462f0b",
                      "name": "Unauthorized",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"category\": \"package-never-received\",\n  \"comment\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/returns/:return_id/fraud-report",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "returns",
                            ":return_id",
                            "fraud-report"
                          ],
                          "variable": [
                            {
                              "key": "return_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"http_code\": \"<string>\",\n    \"message\": \"<string>\"\n  }\n}",
                      "createdAt": "2026-07-28T02:07:59.000Z",
                      "updatedAt": "2026-07-28T02:07:59.000Z",
                      "uid": "35240-7d7e27d0-a361-435d-9795-6027f5462f0b"
                    },
                    {
                      "id": "a762491d-e1c4-4fc0-b900-89d3c90d0f3e",
                      "name": "Return not found.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"category\": \"package-never-received\",\n  \"comment\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/returns/:return_id/fraud-report",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "returns",
                            ":return_id",
                            "fraud-report"
                          ],
                          "variable": [
                            {
                              "key": "return_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"errors\": {\n    \"message\": \"<string>\"\n  }\n}",
                      "createdAt": "2026-07-28T02:07:59.000Z",
                      "updatedAt": "2026-07-28T02:07:59.000Z",
                      "uid": "35240-a762491d-e1c4-4fc0-b900-89d3c90d0f3e"
                    },
                    {
                      "id": "b970a62a-22c8-47a2-a36c-d7efb0e1de38",
                      "name": "Fraud report already exists for this return.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"category\": \"package-never-received\",\n  \"comment\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/returns/:return_id/fraud-report",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "returns",
                            ":return_id",
                            "fraud-report"
                          ],
                          "variable": [
                            {
                              "key": "return_id"
                            }
                          ]
                        }
                      },
                      "status": "Conflict",
                      "code": 409,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"errors\": {\n    \"message\": \"<string>\"\n  }\n}",
                      "createdAt": "2026-07-28T02:07:59.000Z",
                      "updatedAt": "2026-07-28T02:07:59.000Z",
                      "uid": "35240-b970a62a-22c8-47a2-a36c-d7efb0e1de38"
                    },
                    {
                      "id": "2bdec75b-f711-4d6d-874a-d6e7a6532304",
                      "name": "Unprocessable entity.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"category\": \"package-never-received\",\n  \"comment\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/returns/:return_id/fraud-report",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "returns",
                            ":return_id",
                            "fraud-report"
                          ],
                          "variable": [
                            {
                              "key": "return_id"
                            }
                          ]
                        }
                      },
                      "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                      "code": 422,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\",\n  \"errors\": {}\n}",
                      "createdAt": "2026-07-28T02:07:59.000Z",
                      "updatedAt": "2026-07-28T02:07:59.000Z",
                      "uid": "35240-2bdec75b-f711-4d6d-874a-d6e7a6532304"
                    }
                  ],
                  "createdAt": "2026-07-28T02:07:59.000Z",
                  "updatedAt": "2026-07-28T02:07:59.000Z",
                  "uid": "35240-fe510f49-fb72-49be-8bc8-00e540ee9f79"
                }
              ],
              "id": "c62e6e8d-91ac-4f57-a1c8-c4855469ada4",
              "createdAt": "2026-07-28T02:07:59.000Z",
              "updatedAt": "2026-07-28T02:07:59.000Z",
              "uid": "35240-c62e6e8d-91ac-4f57-a1c8-c4855469ada4"
            }
          ],
          "id": "14c06f81-b2ba-4621-8cef-0e811a73ff18",
          "createdAt": "2026-07-28T02:07:59.000Z",
          "updatedAt": "2026-07-28T02:07:59.000Z",
          "uid": "35240-14c06f81-b2ba-4621-8cef-0e811a73ff18"
        }
      ],
      "id": "8f7203fa-06a5-4777-9c0e-e4a8d814c392",
      "createdAt": "2026-07-28T02:07:59.000Z",
      "updatedAt": "2026-07-28T02:07:59.000Z",
      "uid": "35240-8f7203fa-06a5-4777-9c0e-e4a8d814c392"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.loopreturns.com/api/v1"
    }
  ]
}