Use APIs to create and update sequence policies, assign sequence pattern values to records, and restore missing sequence values.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions with the Revenue Cloud Billing license. Contact your Salesforce account executive for more information. |
| Goal | API |
|---|---|
| Create a sequence policy to configure a unique, sequential number for all posted invoices and credit memos. | Create a Sequence Policy API |
| Update the settings of a sequence policy that defines how unique, sequential numbers are generated by using specific patterns, values, and filters. | Update Sequence Policy API |
| Assign sequence pattern values to objects based on the configured sequence policy. | Sequence Assignment API |
| Restore a missing sequence value identified by using this API in gapless-enabled sequences. This sequence value can be used later in the subsequent sequence policy numbering, ensuring there are no gaps. | Sequence Gap Reconciliation API |