get_products
Returns Siigo's catalog of products/plans for a country with price, currency and feature list, read from the schema.org Product graphs of the pricing page. Use this when the user asks about pricing, plans, or what's included in each tier. Example call: {"country": "COL"} (uses the configured default slug precios-siigo). An empty products array means the page currently publishes no Product JSON-LD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional WP page slug whose JSON-LD exposes the Product/Offer graphs. Defaults to ContentProviders:{country}:ProductsSlug (COL: precios-siigo). Ignored for countries whose shell publishes a catalogue endpoint (ContentProviders:{country}:Webapp:ProductsListUrl): there the whole catalogue is returned. Same slug rules as get_page_structured_data. Example: precios-siigo. | |
| country | Yes | ISO 3166-1 alpha-3 country code. Only countries listed in DependencyInjection:ProfileInjector:Actives are served. Examples: COL, MEX, ECU. |