...
Example for Burger King Portugal prod: https://czqk28jt.api.sanity.io/v2021-10-21/data/query/prod_bk_pt?query=*[_type+%3D%3D+"supportCategoryGroup"]+{ ++_id%2C ++name%2C ++"subcategories"%3A+supportSubcategories[]->{name%2C_id%2CknowledgeForceIssueId } }
ExtractExample of a support category and linked subcategory:
Code Block |
---|
{ "_id": "79aa6e88-e870-497c-9be5-4fe0f2e96eb9", "name": { "pt": "Entrega ao domicĂlio ", "_type": "localeString", "en": "Home Delivery", "es": "Pedido a domicilio" }, "subcategories": [ { "name": { "pt": "Tempo de entrega em casa", "_type": "localeString", "en": "Delivery Time", "es": "Tiempo de Entrega a Domicilio" }, "_id": "621be5e3-0bb6-4912-948a-351eead441ba", "knowledgeForceIssueId": "0201" }, |
...