@@ -198,6 +198,11 @@ input AddCustomerBillingAddressId {
198198 addressKey : String
199199}
200200
201+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
202+ input AddCustomerGroupAssignment {
203+ customerGroupAssignment : CustomerGroupAssignmentDraft !
204+ }
205+
201206input AddCustomerShippingAddressId {
202207 addressId : String
203208 addressKey : String
@@ -3521,6 +3526,9 @@ type Customer implements Versioned & ReferenceExpandable {
35213526 billingAddresses : [Address ! ]!
35223527 storesRef : [KeyReference ! ]!
35233528 stores : [Store ! ]!
3529+
3530+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3531+ customerGroupAssignments : [CustomerGroupAssignment ! ]
35243532 custom : CustomFieldsType
35253533 id : String !
35263534 version : Long !
@@ -3677,6 +3685,35 @@ type CustomerGroup implements Versioned & ReferenceExpandable {
36773685 lastModifiedBy : Initiator
36783686}
36793687
3688+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3689+ type CustomerGroupAssignment {
3690+ customerGroupRef : Reference
3691+ customerGroup : CustomerGroup
3692+ }
3693+
3694+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3695+ type CustomerGroupAssignmentAdded implements MessagePayload {
3696+ customerGroupAssignment : CustomerGroupAssignment !
3697+ type : String !
3698+ }
3699+
3700+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3701+ input CustomerGroupAssignmentDraft {
3702+ customerGroup : ResourceIdentifierInput !
3703+ }
3704+
3705+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3706+ type CustomerGroupAssignmentRemoved implements MessagePayload {
3707+ customerGroupAssignment : CustomerGroupAssignment !
3708+ type : String !
3709+ }
3710+
3711+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3712+ type CustomerGroupAssignmentsSet implements MessagePayload {
3713+ customerGroupAssignments : [CustomerGroupAssignment ! ]!
3714+ type : String !
3715+ }
3716+
36803717type CustomerGroupCustomFieldAdded implements MessagePayload {
36813718 name : String !
36823719 value : Json !
@@ -3910,6 +3947,9 @@ input CustomerSignUpDraft {
39103947 anonymousCart : ResourceIdentifierInput
39113948 externalId : String
39123949 customerGroup : ResourceIdentifierInput
3950+
3951+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3952+ customerGroupAssignments : [CustomerGroupAssignmentDraft ! ]
39133953 isEmailVerified : Boolean
39143954 anonymousId : String
39153955 authenticationMode : AuthenticationMode
@@ -3923,12 +3963,18 @@ type CustomerTitleSet implements MessagePayload {
39233963input CustomerUpdateAction {
39243964 addAddress : AddCustomerAddress
39253965 addBillingAddressId : AddCustomerBillingAddressId
3966+
3967+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3968+ addCustomerGroupAssignment : AddCustomerGroupAssignment
39263969 addShippingAddressId : AddCustomerShippingAddressId
39273970 addStore : AddCustomerStore
39283971 changeAddress : ChangeCustomerAddress
39293972 changeEmail : ChangeCustomerEmail
39303973 removeAddress : RemoveCustomerAddress
39313974 removeBillingAddressId : RemoveCustomerBillingAddressId
3975+
3976+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3977+ removeCustomerGroupAssignment : RemoveCustomerGroupAssignment
39323978 removeShippingAddressId : RemoveCustomerShippingAddressId
39333979 removeStore : RemoveCustomerStore
39343980 setCompanyName : SetCustomerCompanyName
@@ -3938,6 +3984,9 @@ input CustomerUpdateAction {
39383984 setCustomField : SetCustomerCustomField
39393985 setCustomType : SetCustomerCustomType
39403986 setCustomerGroup : SetCustomerGroup
3987+
3988+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
3989+ setCustomerGroupAssignments : SetCustomerGroupAssignments
39413990 setKey : SetCustomerKey
39423991 setLocale : SetCustomerLocale
39433992 setCustomerNumber : SetCustomerNumber
@@ -8999,7 +9048,7 @@ type ProductVariant {
89999048 prices : [ProductPrice ! ]
90009049
90019050 "Returns a single price based on the price selection rules."
9002- price (currency : Currency ! , country : Country , customerGroupId : String , channelId : String , date : DateTime ): ProductPrice
9051+ price (currency : Currency ! , country : Country , customerGroupId : String , customerGroupAssignmentIds : [ String ! ], channelId : String , date : DateTime ): ProductPrice
90039052 images : [Image ! ]!
90049053 assets : [Asset ! ]!
90059054 availability : ProductVariantAvailabilityWithChannels
@@ -10050,6 +10099,11 @@ input RemoveCustomerBillingAddressId {
1005010099 addressKey : String
1005110100}
1005210101
10102+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
10103+ input RemoveCustomerGroupAssignment {
10104+ customerGroup : ResourceIdentifierInput !
10105+ }
10106+
1005310107input RemoveCustomerShippingAddressId {
1005410108 addressId : String
1005510109 addressKey : String
@@ -11289,6 +11343,11 @@ input SetCustomerGroup {
1128911343 customerGroup : ResourceIdentifierInput
1129011344}
1129111345
11346+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
11347+ input SetCustomerGroupAssignments {
11348+ customerGroupAssignments : [CustomerGroupAssignmentDraft ! ]!
11349+ }
11350+
1129211351input SetCustomerGroupCustomField {
1129311352 name : String !
1129411353 value : String
0 commit comments