fob-mdm integrations

An integration is an app that holds its own copy of your records, such as a payments platform. Pulling links each of its records to a golden record through the object's identity field.

Simulated apps

Reading from and writing to real apps isn't built yet. An app's records are the sample_records in its config, each with a tp_id (its id in that app) and values keyed by field key.

fob-mdm integrations <action> [target] [options]
ActionDescription
listList integrations, A to Z
showShow one integration
createConnect an app
editRename an integration, or change its config
deleteDisconnect an app: deletes its record links, contracts and conformance state
pullRead the app's records and link them to golden records on the identity field
lookupsList which app records are linked to which golden records

integrations list

List integrations, A to Z.

fob-mdm integrations list [options]
Argument or optionRequiredDefaultDescription
--page <n>1Page number.
--limit <n>100Rows per page (max 500).
--allFetch every page (up to 15000 rows).
--jsonPrint the raw JSON response.
fob-mdm integrations list

API: List Integrations

integrations show

Show one integration.

fob-mdm integrations show <id> [options]
Argument or optionRequiredDefaultDescription
<id>YesIntegration id.
--jsonPrint the raw JSON response.
fob-mdm integrations show 5

API: Get Integration

integrations create

Connect an app.

fob-mdm integrations create --name <name> --type <type> [options]
Argument or optionRequiredDefaultDescription
--name <name>YesDisplay name, unique in your organization.
--type <type>YesWhat kind of app, e.g. razorpayx. Can't be changed later.
--object <slug>The object its records link to, e.g. vendor.
--config <file>JSON file with the config, e.g. { "object": "vendor", "sample_records": [...] }.
--jsonPrint the raw JSON response.
fob-mdm integrations create --name Payments --type razorpayx --object vendor --config payments.json
ID:        5
Name:      Payments
Type:      razorpayx
Object:    vendor
Records:   2 simulated
Created:   2026-11-26 07:20:08

payments.json holds the config. --object is set on top of it:

{
  "sample_records": [
    { "tp_id": "cont_8f2k", "name": "ACME SUPPLIES", "gstin": "29ABCDE1234F1Z5", "bank_ifsc": "HDFC0009999" },
    { "tp_id": "cont_9x1m", "name": "Acme Labs LLP", "gstin": "29PQRST6789K1Z2", "bank_ifsc": "ICIC0004321" }
  ]
}

API: Create Integration

integrations edit

Rename an integration, or change its config.

fob-mdm integrations edit <id> [options]
Argument or optionRequiredDefaultDescription
<id>YesIntegration id.
--name <name>Display name.
--object <slug>The object its records link to.
--config <file>JSON file that replaces the whole config.
--jsonPrint the raw JSON response.
fob-mdm integrations edit 5 --name "Payments (prod)"
fob-mdm integrations edit 5 --object customer
fob-mdm integrations edit 5 --config payments.json --object vendor

--object alone keeps the rest of the config. --config replaces the whole config, so pass --object with it unless the file names the object.

API: Update Integration

integrations delete

Disconnect an app: deletes its record links, contracts and conformance state.

fob-mdm integrations delete <id> [options]
Argument or optionRequiredDefaultDescription
<id>YesIntegration id.
-y, --yesSkip the confirmation.
fob-mdm integrations delete 5 --yes

Deletes its record links, contracts and conformance state.

API: Delete Integration

integrations pull

Read the app's records and link them to golden records on the identity field.

fob-mdm integrations pull <id> [options]
Argument or optionRequiredDefaultDescription
<id>YesIntegration id.
--jsonPrint the raw JSON response.
fob-mdm integrations pull 5
Pulled 2: 1 newly linked, 0 refreshed, 1 not linked.

TP_ID      REASON
---------------------------
cont_9x1m  no_golden_record

no_golden_record: create the golden record, then pull again. no_identity_value: the app has no identity value for it.

Pulling again is safe: links already made are refreshed, not duplicated.

API: Pull Records

integrations lookups

List which app records are linked to which golden records.

fob-mdm integrations lookups <id> [options]
Argument or optionRequiredDefaultDescription
<id>YesIntegration id.
--record <id>Only the links to this golden record.
--page <n>1Page number.
--limit <n>100Rows per page (max 500).
--allFetch every page (up to 15000 rows).
--jsonPrint the raw JSON response.
fob-mdm integrations lookups 5
fob-mdm integrations lookups 5 --record 100
TP_ID      RECORD  OBJECT  PULLED
----------------------------------------------
cont_8f2k  100     vendor  2026-11-26 07:20:08

API: List Record Links

Every command also takes --profile <name> and --help. See Command-line Interface.

Using an AI agent? Give it the raw Markdown of this page, or the docs index.