How can you see exactly which keys should be in the object?

When using WooCommerce module you can fill the inputs as separate fields or as an array but the field names are different from the object properties in the array, so where can I see the object keys to create the object I need correctly?

  • I need examples for key: value of the array for creating some entities in the product.

map
fields

If you use an “Array Aggregator” module before this module, you can select the field as the “Target Structure Type” that you want to map data into.

Screenshot_2023-10-03_201019

4 Likes

But how to know which data (which keys are needed)?

Usually once you select the “Target Structure Type”, the available mappings will show up for you to map variables into. Give it a try and take screenshots if there are any issues.

4 Likes