Currently, the Shopify Connector of Acumatica supports the metafields with the one and only type multi-line text.
But some time ago Shopify had added different types of metafields like decimal, integer, Boolean, date and so on.
The full detailed list of the metafield types you may find in Shopify documentation: https://shopify.dev/apps/metafields/types.
This enhancement of the metafields functionality brought some problems in syncing the Entities with mapped metafields.
The synchronization of the existing metafields with the different types in ERP and Shopify started to fail with the error:
“Error on value: Is not using the expected value_type: ‘[Type]’;”.
In other cases the metafield value type in Shopify was simply overwritten with multi-line text, no matter what it was originally.
Now (starting from the version 2023R1), the export sync of the existing metafields will respect the type of the metafield assigned in Shopify.
For example, if in Shopify the metafield type is ‘boolean’ then the value of the mapped in the ERP metafield should be ‘True/False’ or ‘true/false’ or ‘1/0’. And it will be converted to boolean during the export sync, And any other values will be rejected.
In the ERP all metafields will stay as text (string) type.