ops
ops-trade-ins

Fetch all trade ins by OPS

get/ops/trade-ins

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/trade-ins
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token URL: /oauth2/token scopes: ops-trade-in:read

Response

OK response.

Example response

{
  "tradeIns": [
    {
      "asset_grade": "abc123",
      "asset_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "company_name": "abc123",
      "estimated_residual_amount": {
        "currency": "EUR",
        "gross": 119000,
        "net": 100000
      },
      "finalised_at": "1970-01-01T00:00:01Z",
      "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "provider_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "started_at": "1970-01-01T00:00:01Z",
      "status": "abc123",
      "tenure": 1,
      "trade_in_id": "abc123",
      "trade_in_price_amount": {
        "currency": "EUR",
        "gross": 119000,
        "net": 100000
      },
      "trade_in_product_id": "abc123",
      "user_email": "alice@example.com"
    }
  ]
}

Changes

    • info

      api operation id Trade in.showAllTradeInsOps removed and replaced with Trade in#showAllTradeInsOps

    • info

      api operation id Trade in#showAllTradeInsOps removed and replaced with Trade in.showAllTradeInsOps

    • info

      api tag ops-trade-ins added