Skip to content

Field Mappings

GET /api/v1/integration/field-mappings

Returns the current field mapping configuration for this integration.

Required scope: integration:sync:read

{
"fieldMappings": {
"suppliers": {
"name": "displayName",
"code": "vendorNumber",
"country": "countryCode",
"address": "address1"
},
"products": {
"name": "itemDescription",
"category": "itemCategory",
"hsCode": "tariffNumber"
},
"batches": {
"batchNumber": "lotNumber",
"quantity": "qty",
"unit": "uom"
}
}
}

Field mappings tell the platform how to translate your external system’s field names to the platform’s internal field names.

{
"ourField": "yourField"
}

The key is the platform field name, and the value is your system’s field name.

If your ERP sends vendor data like this:

{
"externalId": "V-001",
"displayName": "Timber Corp",
"vendorNumber": "TC-001",
"countryCode": "BR",
"address1": "Rua Example 123"
}

You would configure mappings as:

{
"suppliers": {
"name": "displayName",
"code": "vendorNumber",
"country": "countryCode",
"address": "address1"
}
}

If no custom mappings are configured, the platform uses these defaults:

Suppliers:

Platform FieldDefault External Field
namename
codecode
countrycountry
addressaddress
contactPersoncontactPerson
emailemail
phonephone

Products:

Platform FieldDefault External Field
namename
categorycategory
countrycountry
hsCodehsCode
unitunit
supplierProductCodecode

Batches:

Platform FieldDefault External Field
batchNumberbatchNumber
quantityquantity
unitunit
receivedDatereceivedDate
expiryDateexpiryDate

Field mappings are configured through the platform UI under Integrations → Sync Config, or via the management API (session-authenticated).