Object Records & Campaign API
Find, open and track records across business modules, then update an existing Campaign by ID.
Open interactive lesson and quizWhat you will learn
- Create a personal record table view
- Distinguish a shared product from an individual POS unit
- Update a Campaign by Record ID with scoped OAuth
A store supervisor needs to find one POS sale and its unit barcode, while Marketing needs an integration to rename a campaign already linked to an email.
Lesson 1
Choose fields and save a personal view
Open a standard or custom object from the sidebar, or choose one under Business data → Object records. Search names, references or IDs, sort from the column headings, and use a status filter when offered. Columns controls what you see. Save view preserves your columns, search and sort order for that object in the current BU. Open a row to work with the record. Use Edit when available. Module-specific tools have names that describe their purpose.
Lesson 2
Use the ID of the record you need
Campaigns, Audiences, Emails and Send Flows have their own record pages or editors. A POS shift, sale, inventory row and physical unit also has a separate Record ID. Multiple units can share a Product and SKU while each unit keeps its own barcode and identity. Copy the ID from the row menu when handing a record to another user or an integration.
Lesson 3
Update the existing Campaign through REST
Use GET /api/v1/records/campaign?id=CAMPAIGN_ID with campaigns.read to read a Campaign. Use PATCH on the same URL with campaigns.write, an authorized BU user with Campaign edit permission and a JSON body such as {"name":"Autumn launch"}. Replace CAMPAIGN_ID with the SupaChrome Record ID and send the token in the Authorization header using Bearer TOKEN. Grant the scopes in Settings → Developer & AI → MCP Server and reconnect a client if its token lacks a newly allowed scope.
Practice · Follow a record from the table to its editor
- Open Business data → Object records. Choose POS sales, then search for a practice sale and copy its Record ID from the row menu.
- Open Unit barcodes, choose columns for Barcode, Product, Sales channel and Record ID, and save a personal view. Compare the IDs of two units of one SKU.
- In Marketing → Campaigns, open a draft campaign. Choose Edit campaign to open the same form used by the pencil action. Copy its Record ID and review the related Audiences, Emails and Send Flows available to your account.
- In a practice BU, allow Campaigns read or Update Campaigns in MCP Server settings and authorize the needed OAuth scopes. Use the campaign REST endpoint to read the record, then change a draft field with PATCH. Reopen the same ID in Campaigns to verify the update.