Skip to main content

Introduction

In Traede custom fields are used to add new fields that are not already part of Traede. You can add custom fields to many different types of resources in Traede like Products, Variants, Customers, Orders, and more.

How are custom fields stored?

Resources that support custom fields have a field named meta. This is where we store custom fields. When custom fields are created they will have a key auto-generated based on their name. So for instance if you create a custom field named HS Tariff code Traede will generate a key for it named hs_tariff_code. Let's say you added this custom field to products. Then if you filled out this field on a product it would be stored like this

{
"meta": {
"hs_tariff_code": "6204623190"
}
}