ops
ops-assets

List return requests

Changed on

Fetch all asset return requests for Ops

get/ops/asset/return-requests

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/asset/return-requests
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token URL: /oauth2/token scopes: ops-order:read

Response

OK response.

Example response

{
  "return_requests": [
    {
      "asset_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "company_name": "abc123",
      "created_at": "1970-01-01T00:00:01Z",
      "email": "abc123",
      "end_customer_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "requested_at": "1970-01-01T00:00:01Z",
      "return_fee": {
        "amount": 34000,
        "currency": "EUR"
      },
      "updated_at": "1970-01-01T00:00:01Z",
      "user_id": "739b63c2-9e58-4964-b38d-4ebb424de242"
    }
  ]
}

Changes

    • info

      api operation id Asset.listReturnRequestsOps removed and replaced with Asset#listReturnRequestsOps

    • info

      api operation id Asset#listReturnRequestsOps removed and replaced with Asset.listReturnRequestsOps

    • info

      api tag ops-assets added