Create Collection Plan Action
Create one or more collection plans, each with its optional nested collection plan items.
Create multiple collection plans in a single request, each with optional nested collection plan items. If an item fails to create, its parent collection plan is rolled back.
This action is available in API version 68.0 and later.
The Create Collection Plan action is available in Enterprise, Developer, and Unlimited Editions where Billing is enabled.
- URI
/services/data/v68.0/actions/standard/createCollectionPlan- Formats
JSON, XML
- HTTP Methods
POST
- Authentication
Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
compositeCollectionPlanInput | CompositeCollectionPlanInput | Required. Composite input that contains a collectionPlans list of collection plans to create. Each collection plan can include a nested list of collection plan items.collectionPlans — list of Collection Plan objects: collectionPlanItems — Collection Plan Item objects: |
| Output | Type | Description |
|---|---|---|
compositeCollectionPlanResult | CompositeCollectionPlanResult | Composite result that contains a results list, with one result for each collection plan in the request.results — Collection Plan Result objects: |
- POST
This example shows a sample request for the Create Collection Plan action.
This example shows a sample response for the Create Collection Plan action.