Skip to main content
GET
/
quotation
Cotar todos os planos
curl --request GET \
  --url https://homolog.clubfix.com.br/webservice/quotation \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "plan": {
        "id": 1,
        "name": "Proteção Clubfix"
      },
      "model": {
        "id": 1,
        "name": "onetouch|5017A PIXI3 4.5 SS",
        "brand": {
          "id": 1,
          "name": "Alcatel",
          "meta": {
            "link": "https://homolog.clubfix.com.br/webservice/brands/1"
          }
        },
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/models/1"
        }
      },
      "maxima": 499,
      "total_premium": 7.04,
      "total_premium_with_discount": 7.04,
      "device_is_used": true,
      "franchise": 84.83
    },
    {
      "plan": {
        "id": 2,
        "name": "PROTEÇÃO TOTAL + SIGA-ME"
      },
      "model": {
        "id": 1,
        "name": "onetouch|5017A PIXI3 4.5 SS",
        "brand": {
          "id": 1,
          "name": "Alcatel",
          "meta": {
            "link": "https://homolog.clubfix.com.br/webservice/brands/1"
          }
        },
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/models/1"
        }
      },
      "maxima": 499,
      "total_premium": 9.88,
      "total_premium_with_discount": 9.88,
      "device_is_used": true,
      "franchise": 84.83
    }
  ],
  "meta": {
    "link": "https://homolog.clubfix.com.br/webservice/quotation?model_id=1&is_used=1"
  }
}
Authorization
string
required
Token de autenticação do tipo Bearer obtido através do endpoint de login.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string
required

Query Parameters

model_id
string
is_used
string

Response

200 - application/json

Quote all plans of a Partner Response

data
object[]
meta
object