ops
ops-trade-ins

Check an email before starting a trade-in

Changed on

Check if the user email is attached to the asset to start the trade in process requested by Ops

post/ops/trade-ins/check-email

Request

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

Request body

asset_idstring regexp required

The asset ID

user_emailstring email required

E-mail of the user that requested the trade-in process

Example request

{
  "asset_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
  "user_email": "alice@example.com"
}

Response

OK response.

Changes

    • info

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

    • info

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

    • info

      api tag ops-trade-ins added