CustomerPriceGroup
object type
A CustomerPriceGroup — the customer-classification / pricing-ELIGIBILITY axis (retail tiers: standard · member · vip · wholesale_lite — merchant-defined, the registry's roster is illustrative). An eligibility KEY, NOT a price store: the group carries NO rate fields — its benefits are expressed exclusively promotions scoped to it; the priceListId carrier is live while the group itself stays rate-field-FREE (the anti-price-plane guard's letter: the plane is the PriceList's, the group is the eligibility KEY + the carrier). The axis law: CustomerPriceGroup = pricing eligibility · Segment = marketing audience · CorporateCustomer = B2B identity — three distinct axes a customer may carry independently. Assignment v1 rides the LoyaltyMember carrier. Resolution degrades: anonymous / no member / no group / group non-ACTIVE-or-deselected ⇒ no eligibility — a lapsed group never kills a cart. Org participation is the canned-pool selection (≤ 32; absent = every org). At most 32 active per org group. Doom is gated by non-doomed LoyaltyMembers carrying the group; deactivate stays free (a paused group's scoped promotions simply stop matching). NO code/identity — no uniq marker (nothing bearer-resolvable rides a group).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like PG-… — stable for the record’s life. |
type | String String! | The kind of record — always CustomerPriceGroup here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive or doomed. |
parentId | ID ID! | The parent org group; for a CustomerPriceGroup parentId === rootId. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
organizationIds | ID [ID!] | The canned-pool org selection — absent = every org in the group participates. |
priceListId | ID | The group-base-pricing carrier: an unscoped PriceList whose entries feed the group plane at capture. Gated in-tenant + active + unscoped at set (a contract list on a tier would leak one customer's negotiated prices — CONFLICT/REF_STATE naming the scope). Optional + editable; a list dying later degrades at capture. |