@@ -896,13 +896,20 @@ input ApproverHierarchyDraft {
896
896
tiers : [ApproverConjunctionDraft ! ]!
897
897
}
898
898
899
- type AsAssociate implements CartQueryInterface & OrderQueryInterface & QuoteQueryInterface & QuoteRequestQueryInterface {
899
+ type AsAssociate implements CartQueryInterface & OrderQueryInterface & QuoteQueryInterface & QuoteRequestQueryInterface & ShoppingListQueryInterface {
900
900
cart (id : String ! ): Cart
901
901
carts (where : String , sort : [String ! ], limit : Int , offset : Int ): CartQueryResult !
902
902
order (
903
903
"Queries with specified ID"
904
904
id : String , orderNumber : String ): Order
905
905
orders (where : String , sort : [String ! ], limit : Int , offset : Int ): OrderQueryResult !
906
+ shoppingList (
907
+ "Queries with specified ID"
908
+ id : String ,
909
+
910
+ "Queries with specified key"
911
+ key : String ): ShoppingList
912
+ shoppingLists (where : String , sort : [String ! ], limit : Int , offset : Int ): ShoppingListQueryResult !
906
913
quoteRequest (
907
914
"Queries with specified ID"
908
915
id : String ,
@@ -6162,12 +6169,18 @@ type Mutation {
6162
6169
createShoppingList (draft : ShoppingListDraft ! ,
6163
6170
6164
6171
"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
6165
- storeKey : KeyReferenceInput ): ShoppingList
6172
+ storeKey : KeyReferenceInput ,
6173
+
6174
+ "Create/modify entity as an associate in business-unit."
6175
+ asAssociate : AsAssociateArgument ): ShoppingList
6166
6176
updateShoppingList (version : Long ! , actions : [ShoppingListUpdateAction ! ]! ,
6167
6177
6168
6178
"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
6169
6179
storeKey : KeyReferenceInput ,
6170
6180
6181
+ "Create/modify entity as an associate in business-unit."
6182
+ asAssociate : AsAssociateArgument ,
6183
+
6171
6184
"Queries with specified ID"
6172
6185
id : String ,
6173
6186
@@ -6178,6 +6191,9 @@ type Mutation {
6178
6191
"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
6179
6192
storeKey : KeyReferenceInput ,
6180
6193
6194
+ "Create/modify entity as an associate in business-unit."
6195
+ asAssociate : AsAssociateArgument ,
6196
+
6181
6197
"Queries with specified ID"
6182
6198
id : String ,
6183
6199
@@ -7593,14 +7609,18 @@ enum Permission {
7593
7609
CreateMyOrdersFromMyCarts
7594
7610
CreateMyOrdersFromMyQuotes
7595
7611
CreateMyQuoteRequestsFromMyCarts
7612
+ CreateMyShoppingLists
7596
7613
CreateOrdersFromOthersCarts
7597
7614
CreateOrdersFromOthersQuotes
7598
7615
CreateOthersCarts
7616
+ CreateOthersShoppingLists
7599
7617
CreateQuoteRequestsFromOthersCarts
7600
7618
DeclineMyQuotes
7601
7619
DeclineOthersQuotes
7602
7620
DeleteMyCarts
7621
+ DeleteMyShoppingLists
7603
7622
DeleteOthersCarts
7623
+ DeleteOthersShoppingLists
7604
7624
ReassignMyQuotes
7605
7625
ReassignOthersQuotes
7606
7626
RenegotiateMyQuotes
@@ -7612,18 +7632,22 @@ enum Permission {
7612
7632
UpdateMyCarts
7613
7633
UpdateMyOrders
7614
7634
UpdateMyQuoteRequests
7635
+ UpdateMyShoppingLists
7615
7636
UpdateOthersCarts
7616
7637
UpdateOthersOrders
7617
7638
UpdateOthersQuoteRequests
7639
+ UpdateOthersShoppingLists
7618
7640
UpdateParentUnit
7619
7641
ViewMyCarts
7620
7642
ViewMyOrders
7621
7643
ViewMyQuoteRequests
7622
7644
ViewMyQuotes
7645
+ ViewMyShoppingLists
7623
7646
ViewOthersCarts
7624
7647
ViewOthersOrders
7625
7648
ViewOthersQuoteRequests
7626
7649
ViewOthersQuotes
7650
+ ViewOthersShoppingLists
7627
7651
}
7628
7652
7629
7653
type PlainEnumValue {
@@ -12277,6 +12301,10 @@ input SetShoppingListAnonymousId {
12277
12301
anonymousId : String
12278
12302
}
12279
12303
12304
+ input SetShoppingListBusinessUnit {
12305
+ businessUnit : ResourceIdentifierInput !
12306
+ }
12307
+
12280
12308
input SetShoppingListCustomField {
12281
12309
name : String !
12282
12310
value : String
@@ -13539,6 +13567,8 @@ type ShoppingList implements Versioned & ReferenceExpandable {
13539
13567
slugAllLocales : [LocalizedString ! ]
13540
13568
customerRef : Reference
13541
13569
customer : Customer
13570
+ businessUnit : BusinessUnit
13571
+ businessUnitRef : KeyReference
13542
13572
storeRef : KeyReference
13543
13573
store : Store
13544
13574
anonymousId : String
@@ -13557,6 +13587,7 @@ type ShoppingList implements Versioned & ReferenceExpandable {
13557
13587
input ShoppingListDraft {
13558
13588
name : [LocalizedStringItemInputType ! ]!
13559
13589
description : [LocalizedStringItemInputType ! ]
13590
+ businessUnit : ResourceIdentifierInput
13560
13591
lineItems : [ShoppingListLineItemDraft ! ] = []
13561
13592
textLineItems : [TextLineItemDraft ! ] = []
13562
13593
custom : CustomFieldsDraft
@@ -13657,6 +13688,7 @@ input ShoppingListUpdateAction {
13657
13688
removeLineItem : RemoveShoppingListLineItem
13658
13689
removeTextLineItem : RemoveShoppingListTextLineItem
13659
13690
setAnonymousId : SetShoppingListAnonymousId
13691
+ setBusinessUnit : SetShoppingListBusinessUnit
13660
13692
setCustomField : SetShoppingListCustomField
13661
13693
setCustomType : SetShoppingListCustomType
13662
13694
setCustomer : SetShoppingListCustomer
0 commit comments