I am trying to build a custom module that can be added to an email template. This module should get all the line items from the latest cart of an associated contact but I'm getting an error:
Error:1:1 Built-in object type `CART` is not yet supported.
Error:internal error
We have an integration with Shopify. Here is the line of code that throws the error:
{% set associated_carts = crm_associations(contact.hs_object_id, "HUBSPOT_DEFINED", 587, "limit=1&orderBy=-closedate") %}
Hey, @FSalem87👋 Thanks for your question. Were you able to make any progress? The associationTypeId you are using looks to be correct. If you haven't already, you might file a support ticket and get verification this error is expected. I'd preface your support request with the fact that you are not looking for custom code help but need to understand why this error is occurring and if there is anything else you need to include.