---
title: Group Amendments for Split Orders
slug: group-amendments-for-split-orders
createdAt: 2026-12-04T03:03:18.925Z
---

This guide covers amending a deal that is sold to a **group of related accounts** — a dealer group, a franchise, the offices of one firm — where the group is quoted once but each member account is billed separately.

**No endpoint is added for this feature.** Group amendments are built from calls that already exist. What changes is which requests they accept, what activation creates, and when they refuse.

These calls carry the feature, all on `https://api.nue.io`:

| Method | Path                                          |
| ------ | --------------------------------------------- |
| `GET`  | `/cpq/quotes/{quoteId}/line-buckets`          |
| `GET`  | `/cpq/orders/{orderId}/line-buckets`          |
| `POST` | `/cpq/quotes/{quoteId}/line-buckets:apply`    |
| `POST` | `/cpq/orders/{orderId}/line-buckets:apply`    |
| `POST` | `/cpq/quotes/{quoteId}/line-buckets:finalize` |
| `POST` | `/cpq/orders/{orderId}/line-buckets:finalize` |
| `POST` | `/cpq/quotes/{quoteId}/line-buckets:delete`   |
| `POST` | `/cpq/orders/{orderId}/line-buckets:delete`   |
| `POST` | `/cpq/change-order`                           |

`:delete` is the only way to remove a bucket — `:apply` creates and changes buckets but never removes one.

The quote or order is named in the path, so no header id is sent in the body. A group can be split on a quote or on an order, and the two are symmetrical — use the `quotes` path or the `orders` path for the same operation.

For change orders themselves, see [Change Quotes and Orders](<Guides and Examples/Customer Lifecycle/CPQ Revenue Lifecycle/Change Quotes and Orders.mdx>).

## Understand parent and member records

A group deal produces two kinds of record.

A **parent subscription** is the group's own copy of a line. It never bills. Billing sync, metrics, webhooks, billing actions and integrations all skip it, and it carries no ARR, MRR or TCV of its own.

A **member subscription** is what each account actually holds, and what bills at that account's own address.

Every later change to the group is made against the **parent** subscriptions, and Nue splits it across the members.

## Turn on group amendments

One setting controls the feature: **Amend only parent subscriptions of split orders**, under Lifecycle Manager.

It builds on order split, so two further settings must be on with it: **Allow orders to be split into smaller orders**, and **Finalize a quote with draft line buckets** set to finalize into a new order with the buckets copied into it. **Allow quote split into multiple orders** is not required.

The setting, together with whether a subscription has a parent subscription, decides every amendment. No flag is set on the order.

While the setting is on, changing a member's subscription directly is refused with `AMEND_PARENT_SUBSCRIPTION`, and the response names the parent subscription to amend instead.

Turning the setting off returns the members to being amended account by account. It does not unlock the parent: in the Nue application a parent subscription is never changed directly, whether group amendments are on or off.

**In Nue**, a setting that cannot be read at all is treated as still refusing, rather than allowing. Do not assume the same on the Salesforce side, where a missing value reads as off.

## Read the new subscription fields

| Field                       | Type     | What it is                                                                                                                |
| --------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------- |
| `Is Split Parent`           | Checkbox | Marks the group's own copy of a line, which never bills.                                                                  |
| `Split Parent Subscription` | Lookup   | Links a member's subscription to its parent subscription, so an integration can tell which member holds each parent line. |

These are reused without change: Order `Is Split`; Order Product `Split Parent`, `Change Asset Number` and `Change Asset Id`; Line Bucket `Bucket Key`.

## Send a member account on a bucket

This is the one change to a request body.

`Ruby__Account__c` may now be sent in a bucket's `fields` while the setting is on. The member's order then lands on that account and is billed and taxed at its own address.

:::hint{type="warning"}
**One route is not yet verified.** Tax at each member's own address is verified for small groups activated inline, and for large groups finalized first and activated afterwards. It is **not** verified where activation is requested at the moment of finalizing — on that route members were observed keeping the group's rate. Treat that route as unconfirmed until it is tested.
:::

**The account named here need not be a child account of the header's account.** On an increase or a renewal, any account may be given a share — that is how an account is brought into a group. See *Know which members may take a share* below for the rule per change type.

```json
POST https://api.nue.io/cpq/orders/{orderId}/line-buckets:apply
{
  "buckets": [
    {
      "bucketKey": "MBR-1001",
      "name": "All Star BMW of Houston",
      "billingAccountId": "001Dn000000BMW1AAA",
      "shippingStreet": "101 Commerce Row",
      "shippingCity": "Houston",
      "shippingState": "TX",
      "shippingPostalCode": "77002",
      "shippingCountry": "US",
      "fields": { "Ruby__Account__c": "001Dn000000BMW1AAA" },
      "allocations": [
        { "lineId": "0QLDn000000012L1AA" },
        { "lineId": "0QLDn000000012L2AA" }
      ]
    }
  ]
}
```

The request also accepts `validateOnly`, to check a split without saving it, and `failOnUnmappedFields`.

**Bucket keys you supply are your own**, as in the example above. **Where Nue splits a change automatically**, it generates the key itself, in the form `DEALER-<accountId>`. That prefix is historical and is kept deliberately so that keys already held by integrations stay valid; read it as an opaque identifier rather than as a description of the account. Match on the key you receive, not on its prefix.

Before this release, the same request was refused with HTTP 200 and nothing saved:

```json
{
  "status": "FAILURE",
  "errors": [
    {
      "errorType": "INVALID_FIELD",
      "message": "Line Bucket field \"Ruby__Account__c\" is set by Nue and cannot be sent in fields.",
      "path": "buckets[0].fields.Ruby__Account__c"
    }
  ]
}
```

An account whose parent is **not** the header's account is still refused, with `ACCOUNT_NOT_IN_GROUP`.

## Read what a member holds on a bucket line

When you read line buckets back, each line carries four fields that describe the change and the member behind it.

| Field               | What it is                                                                                                                                                                                                                                              |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `changeType`        | The line's change type as saved, for example `Renew`, `UpdateQuantity`, `Cancel` or `NewProduct`. A Split Line carries the change type of the line it splits.                                                                                           |
| `changeAssetId`     | On a change, the subscription version the line changes, as `<subscription number>_<version>`. On a group change it names the parent subscription until finalize retargets each member's share to the member's own subscription.                         |
| `splitSubscription` | The bucket account's own subscription that this share changes, as `<subscription number>_<version>`. Null when the line is not a group change, when the bucket has no account, or when the account holds the parent through more than one subscription. |
| `splitQuantityHeld` | What that account holds today under the parent subscription, before this change activates. `0` when the account joins the group with this change; `splitSubscription` is then null.                                                                     |

Use `splitSubscription` and `splitQuantityHeld` to confirm a share landed on the member you intended, and to compare a share against what the member actually holds — `SHARE_EXCEEDS_MEMBER_HOLDING` is refused on exactly that comparison.

`splitSubscription` and `splitQuantityHeld` were briefly named `dealerSubscription` and `dealerQuantityHeld` during development. **Those names no longer exist** — they are not sent, and they are no longer accepted on input. Read and send `splitSubscription` and `splitQuantityHeld`. No released package ever carried the old names, so nothing in production depends on them.

## Know that the group can hold a share of its own split

The group's own account may keep part of a line, exactly like any member. Its share goes in a bucket on the group's account, and that bucket becomes an order like the others.

A bucket **you create** on the group's account — one with a `bucketKey` — counts as a member bucket. Two kinds of bucket on that same account do not: the default bucket, where unplaced lines sit, and the platform's own unnamed holding bucket. Every bucket created through the API has a key, so in practice the rule is: the group's named buckets are member buckets, its unnamed ones are not.

This matters when reconciling: a line of 60 split 30 / 20 / 10 with the group keeping 10 has **three** member buckets, and the group's parent quantity is 60, not 50. Any check that compares the parent's quantity against the sum of its members must count the group's own share.

## Read whether group amendments are on

The line-bucket header carries `groupAmendmentsEnabled`. Read it to tell whether the group rules described on this page are in force for the org, rather than inferring it from a refusal.

## Finalize the group and create its orders

`line-buckets:finalize` is unchanged in shape.

```json
POST https://api.nue.io/cpq/orders/{orderId}/line-buckets:finalize
{
  "allDraft": true,
  "activateOrders": false
}
```

Pass `bucketRefs` instead of `allDraft` to finalize named buckets rather than every draft one.

Each bucket returns its own outcome, so a partial result is visible per member rather than only as a whole:

```json
{
  "status": "SUCCESS",
  "data": {
    "buckets": [
      {
        "bucketId": "a1BDn000000100B1AA",
        "bucketKey": "MBR-1001",
        "outcome": "FINALIZED",
        "orderId": "801Dn000000O101AAA",
        "orderNumber": "00000101",
        "orderStatus": "Draft",
        "error": null
      }
    ]
  }
}
```

A bucket with nothing in it returns `SKIPPED_EMPTY` rather than failing the call.

**Activation now also creates the parent subscriptions.** Those are the records every later group amendment is made through, so an integration reading back after activation will find them.

**Activation is processed in the background whenever tax calculation is enabled**, whatever the number of members, and for large groups in any case. With taxation on, the activation threshold is forced to zero, so every group takes the background path.

The **group order activates immediately**. Its **member orders stay in `Draft`** while the background run produces them. A member order in `Draft` while the run is working has not failed — it has not finished.

The run itself can end Failed. Read `GROUP_ACTIVATION_FAILED` or `GROUP_ORDER_ACTIVATION_FAILED` on the group order to tell a member order still being produced from one belonging to a failed run, and see *Handle a group activation that does not finish* below.

## Amend the group through its parent subscriptions

A group is amended by changing its parent subscriptions. Each entry in `assetChanges` names a parent subscription in `assetNumber`, exactly as an ordinary change names an ordinary subscription.

```json
POST https://api.nue.io/cpq/change-order
{
  "assetChanges": [
    {
      "changeType": "UpdateQuantity",
      "assetNumber": "SUB-001007",
      "quantity": -2
    }
  ],
  "options": { "proceedOption": "CreateQuote" }
}
```

`UpdateQuantity` takes the **change**, not the new total, so the example above removes two units from the group. The response returns the quote id rather than a quote number.

Reading the line buckets back tells you which member each change line belongs to: every bucket line carries `splitSubscription`, the member's own subscription that the share changes.

Change lines may be placed on a parent change order while the setting is on. On any other change order they are refused with `CHANGE_LINE_NOT_SUPPORTED`.

Every change line must reach a member. Finalizing while a change line is still in the default bucket is refused with `DEFAULT_BUCKET_HAS_CHANGES`.

Included child lines and add-on lines follow their parent line by default. Control it with `includeChildLines`, which appears on `DistributionInput`, `LineAllocationInput` and `ResplitInput`. Leave it unset or `true` and a bundle's child lines move with it; set it `false` and only the parent line moves, leaving its children where they are.

## Renew a group

Only the parent subscription auto-renews. Member subscriptions never appear on the renewal quote.

A renewal need not be even. Each line can be split differently across the members: some renew, some decline, and accounts that were not in the group before can join. Nue splits by account identity.

A member that declines is handled as a quantity reduction on the same renewal, not as a refusal or a separate cancellation. Members that do not take part are left as they are and stay linked to the group until the group subscription itself is cancelled.

## Expect these refusals

A refusal means nothing was created. Match on the code; the sentence beside it here is description.

| Code                             | When                                                                                                                                                                                                                             |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AMEND_PARENT_SUBSCRIPTION`      | A change was raised directly against a member's subscription while it belongs to a group. The response names the parent subscription to amend instead.                                                                           |
| `ACCOUNT_NOT_IN_GROUP`           | A bucket names an account whose parent is not the header's account.                                                                                                                                                              |
| `CHANGE_LINE_WRONG_MEMBER`       | A **reduction or cancellation** was placed in a bucket belonging to a member that does not hold the subscription it changes. An increase or a renewal is NOT refused this way — see *Know which members may take a share* below. |
| `PARENT_NOT_EQUAL_TO_MEMBER`     | The shares placed against a parent line do not reconcile with the members' own holdings.                                                                                                                                         |
| `PARENT_HAS_SEVERAL_MEMBERS`     | A change other than a quantity change, cancellation or renewal was made to a parent line shared by several members.                                                                                                              |
| `SHARE_EXCEEDS_MEMBER_HOLDING`   | A share given to a member is larger than what that member actually holds.                                                                                                                                                        |
| `CHANGE_LINE_NOT_SUPPORTED`      | A change line was placed on an order that is not a parent change order, or the setting is off.                                                                                                                                   |
| `DEFAULT_BUCKET_HAS_CHANGES`     | Finalize was called while a change line was still in the default bucket.                                                                                                                                                         |
| `GROUP_ORDER_NOT_CANCELLABLE`    | An activated order that created or changed a group's records was cancelled. Applies on every cancel path.                                                                                                                        |
| `OPTION_FOLLOWS_BUNDLE`          | A bundle option was named on its own. Options travel with their bundle.                                                                                                                                                          |
| `RAMP_SEGMENT_FOLLOWS_LINE`      | A ramp segment on a sale order was named on its own.                                                                                                                                                                             |
| `INVALID_FIELD`                  | A field that Nue sets was sent in `fields`.                                                                                                                                                                                      |
| `CHANGE_SHARES_DO_NOT_SUM`       | The shares placed across the members do not add up to the line being changed.                                                                                                                                                    |
| `SUMMARY_LINE_FOLLOWS_CHANGE`    | A change order's summary line was named in `:apply`. The summary line follows its change; it is not placed on its own.                                                                                                           |
| `LINE_IN_TWO_BUCKETS`            | The same line was allocated to more than one bucket.                                                                                                                                                                             |
| `CHANGE_REFERENCE_OUTSIDE_ORDER` | A change line refers to something outside the order being split.                                                                                                                                                                 |
| `CHANGE_PAIR_SPLIT`              | A coupled pair of changes was split between buckets. The pair moves together.                                                                                                                                                    |
| `RAMP_LINE_NOT_SPLITTABLE`       | A ramped line was split in a way the ramp does not allow.                                                                                                                                                                        |

## Know which members may take a share

Whether a member must already hold the subscription depends on the kind of change. This is the rule `CHANGE_LINE_WRONG_MEMBER` enforces, and it is narrower than "the member must hold it".

| Kind of change          | Which members may take a share                                                                                                        |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| An increase in quantity | **Any** account, including one holding none of that parent subscription today. It need not be a child account of the group's account. |
| A renewal               | **Any** account, including one joining at renewal. It need not be a child account of the group's account.                             |
| A reduction             | Only members that hold the subscription.                                                                                              |
| A cancellation          | Only members that hold the subscription.                                                                                              |

Only a quantity change, a cancellation or a renewal can be split among the members sharing one parent line.

## Know where a remainder goes

Two different remainders arise, and they are resolved differently. Expect allocations that are not the ones an even division would give.

**A rounding remainder, on any even split.** Each member's share is rounded down, and the leftover units are then given out one each, to the members with the largest fractional remainders. On an even split every remainder is equal, so the ties resolve to the **last** members. An even split of 100 across 6 members is therefore 16 / 16 / 16 / 17 / 17 / 18, not six equal shares.

**A capped excess, on a reduction only.** A reduction is never allowed to take a member below what it holds. Each member's share is capped at its holding, and the excess is reallocated to members with remaining capacity, so the total for the parent is still correct. A reduction of six across members holding one and nine is allocated as one and five, not three and three.

Both apply to a split Nue calculates. Amounts you send yourself are not adjusted: a share larger than the member's holding is refused rather than capped. Any other change — price, term and so on — applies to the whole line.

## Wait for one group change to finish before starting another

A group change creates work across every member, so Nue allows one at a time and refuses the second rather than interleaving them.

| Code                            | When                                                                                                                |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `PARENT_CHANGE_IN_PROGRESS`     | A second change was raised while the first is unfinished, or while its background run is Queued, Running or Failed. |
| `GROUP_ACTIVATION_IN_PROGRESS`  | A group activation is already running for this group.                                                               |
| `TOO_MANY_GROUP_ACTIVATIONS`    | Too many group activations were requested at once.                                                                  |
| `ONE_GROUP_CHANGE_PER_CHECKOUT` | More than one group change was put through a single checkout.                                                       |

If you are polling after starting a change, treat these as "not yet" rather than as an error in your request: the first change is still in flight.

## Activate and cancel in the right order

A group's own order leads; its members follow.

| Code                                | When                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ACTIVATE_THE_GROUP_ORDER`          | A member's order was activated before the group's order. Activate the group order, which produces the members' orders.                                                                                                                                                                                                                                                                                                                                              |
| `GROUP_MEMBER_ORDERS_NOT_ACTIVATED` | A group's order was cancelled while a member order was in **Pending Sync**. A member order still in **Draft** does not refuse the cancel: cancelling a group order, Draft or activated, cancels its Draft member orders with it, so a group held up by a validation error on one member can be cancelled and raised again. Pending Sync refuses because a queued version check would otherwise act on a cancelled order. Wait for that sync to finish, then cancel. |

## Handle a group activation that does not finish

A group activates in the background whenever tax calculation is enabled, and for large groups in any case — "large" being the activation threshold an administrator sets — so that work can fail after the call that started it has already returned.

| Code                            | When                                                                                                                      |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `GROUP_ACTIVATION_QUEUED`       | The group's activation has been accepted and is running in the background.                                                |
| `GROUP_ACTIVATION_FAILED`       | The group's own order **was** activated, and one or more member orders were not. Those members' orders remain in `Draft`. |
| `GROUP_ORDER_ACTIVATION_FAILED` | The run stopped **before** activating the group's own order, so no member orders were produced at all.                    |
| `GROUP_ACTIVATION_IN_PROGRESS`  | The same group was finalized or activated again while a run was still going.                                              |

:::hint{type="warning"}
**Resuming does not always recover a failed run.** Where a member fails on its own data — an address tax cannot resolve, for example — the members activated in that batch fail with it, and resuming retries them together, so they fail together again. Correct the member's data before resuming, not just the condition that caused the run to stop. This is a known limitation and is being addressed.
:::

**The two failure codes are not interchangeable, and the difference tells you where to resume.** `GROUP_ACTIVATION_FAILED` means the group is activated and only some members are missing, so resuming continues with those members. `GROUP_ORDER_ACTIVATION_FAILED` means nothing downstream exists yet. The service chooses between them on the group order's own status.

Read this on the bucket rather than inferring it from an order that is still `Draft` — a `Draft` order during an activation has not failed, it has not finished. `GROUP_ACTIVATION_FAILED` is the difference between the two.

These are notices rather than refusals. They tell you something was decided for you; nothing is rejected.

| Notice                               | Meaning                                                                                                                    |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| `MEMBER_BILLING_ACCOUNT_DEFAULTED`   | A member had no billing account named, so the member's own account was used.                                               |
| `MEMBER_ORDERS_TAXED_AFTER_FINALIZE` | Member orders are taxed at their own addresses after the change is finalized, so tax appears a moment after the orders do. |

## Read a group's subscriptions from the assistant

One MCP tool is new for this feature: **`getSplitSubscriptions`**, which returns the member subscriptions that sit under a parent subscription.

The line-bucket tools are not separate MCP tools — they are generated from the Commerce (`ruby-cpq`) OpenAPI specification, so they follow the REST contract described above rather than having a contract of their own.

## Know what the screens do

Group amendments are made through the API in this release. The Lifecycle Manager screens show a group and lock its records, but do not make group changes.

A subscription that heads a group is marked **Group**, shows no revenue figures of its own, and its change actions are unavailable with the reason given.
