Consultar Suscripciones
AI-generatedSummary
Looks up subscriptions associated with a user phone or ID by sending it as a query parameter to Aliaddo HUB. Returns a summary of the matching companies and their subscription details.
Inputs
- Teléfono / User ID (required) — User phone or ID used to search for subscriptions.
- Product ID — Optional product ID; defaults to 2 in the UI, but the search implementation does not send this value.
Output shape
A single item containing user_phone, total_companies, and companies.
companies is an array with companyName, idType, idNumber, productName, planName, and startDate. startDate uses billingStartDate, falling back to createdAt. If the API response is not an array, companies is empty and total_companies is 0. Requests require Aliaddo HUB API credentials.