offer

Find terms and conditions links

Changed on

Fetch the terms and conditions links based on params. If no params are provided, the links will be returned in the language of the end customer.

post/offers/{id}/terms_and_conditions_links/

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/offers/{id}/terms_and_conditions_links/
  • Auth
    none declared

Path parameters

idstring regexp required

Offer ID

Example:739b63c2-9e58-4964-b38d-4ebb424de242

Request body

Example request

{
  "params": {
    "language": "abc123"
  }
}

Response

OK response.

Example response

{
  "applicable_terms_and_conditions": [
    {
      "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "type": "abc123",
      "url": "abc123"
    }
  ],
  "de": [
    {
      "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "type": "abc123",
      "url": "abc123"
    }
  ],
  "en": [
    {
      "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "type": "abc123",
      "url": "abc123"
    }
  ],
  "nl": [
    {
      "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "type": "abc123",
      "url": "abc123"
    }
  ]
}

Changes

    • info

      api operation id offer.findTermsAndConditionsLinks removed and replaced with offer#findTermsAndConditionsLinks

    • info

      api operation id offer#findTermsAndConditionsLinks removed and replaced with offer.findTermsAndConditionsLinks