Composite API Patterns

Use when designing, implementing, or troubleshooting Salesforce Composite API requests — covering the /composite/ resource with cross-subrequest referenceId wiring, /composite/sobjects/ bulk CRUD, /composite/tree/ hierarchical inserts, and /composite/batch/ independent subrequest bundling. Triggers: 'composite API', 'sObject Tree', 'sObject Collection', 'composite batch', 'subrequest', 'referenceId', 'allOrNone', 'parent child insert one call', 'bulk CRUD same object', 'batch API requests'. NOT for a single REST call, SOQL query pagination, or API rate limits — use integration/rest-api-patterns. NOT for loading or extracting tens of thousands of records — use integration/bulk-api-2-patterns.

PranavNagrecha f7344d7 8 files · 52.3 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/integration/composite-api-patterns commit f7344d7873

Frequently asked questions

npx skillmds add pranavnagrecha/composite-api-patterns