Composite Collection Plan Creation (POST)
Create one or more collection plans, each with its collection plan items, in a single request.
This API creates each collection plan in the request together with its nested collection plan items. Each collection plan runs independently, so the request can partially succeed across plans. Within a single collection plan, if any of its collection plan items fail to create, the parent collection plan is rolled back. The response returns a result for each collection plan in the request that indicates whether the collection plan was created successfully and includes any errors.
A request can include up to 200 collection plans, and each collection plan can include up to 200 collection plan items.
Set up collections and enable invoicing in your org.
68.0
POST
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
collection​Plans | Collection Plan Input[] | List of collection plans to create. Each plan can include a nested list of collection plan items to create with it. Specify at least 1 collection plan and up to 200 collection plans. Each collection plan can include up to 200 collection plan items. | Required | 68.0 |