cURL
curl --request GET \ --url https://homolog.clubfix.com.br/webservice/subscriptions/{subscriptionId} \ --header 'Accept: <accept>' \ --header 'Authorization: Bearer <token>'
{ "id": 2, "plan": { "id": 1, "name": "Proteção Clubfix", "coverages": [ "Quebra de Tela", "Danos Líquidos", "Oxidação", "Alto Falantes", "Microfone", "Danos Internos", "Conector de Carga", "Wi-Fi/Sinal" ] }, "customer": { "id": 11, "name": "Sergio Danilo Jr.", "document": "31815134070", "phone": "32863751018", "email": "[email protected]", "address": { "street": "Beco João Veloso", "number": 770, "complement": null, "zipcode": "82820320", "neighborhood": "Bairro Alto", "city": "Curitiba", "state": "PR" } }, "device": { "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" }, "serial_number": "356133319339502", "is_used": true }, "valor": 7.04, "franchise": 84.83, "status": "PROTECTED", "created_at": "2023-07-26 08:43:56" }
Este endpoint obtém, a apartir do ID, uma determinada assinatura do parceiro autenticado.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Find a subscription by ID
Show child attributes
Was this page helpful?