@@ -84,7 +84,7 @@ BETA: This feature can be subject to change and should be used carefully in prod
8484"""
8585type ProductSearchResult {
8686 id : String !
87- product : Product !
87+ product ( localesProjection : [ String ! ], storeProjection : String ) : Product !
8888}
8989
9090type Query {
@@ -3014,6 +3014,10 @@ type Extension implements Versioned & ReferenceExpandable {
30143014 """
30153015 BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
30163016 """
3017+ dependenciesRef : [Reference ! ]!
3018+ """
3019+ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
3020+ """
30173021 additionalContext : ExtensionAdditionalContext
30183022 """
30193023 BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
@@ -3183,6 +3187,13 @@ type InStore implements CartDiscountQueryInterface & CartQueryInterface & Custom
31833187 key : String
31843188 ): CartDiscount
31853189 cartDiscounts (where : String , sort : [String ! ], limit : Int , offset : Int ): CartDiscountQueryResult !
3190+ discountCode (
3191+ """Queries with specified ID"""
3192+ id : String
3193+ """Queries with specified key"""
3194+ key : String
3195+ ): DiscountCode
3196+ discountCodes (where : String , sort : [String ! ], limit : Int , offset : Int ): DiscountCodeQueryResult !
31863197 product (
31873198 projectExpandedProducts : Boolean = false
31883199 localeProjection : [Locale ! ]
@@ -4082,17 +4093,31 @@ type Mutation {
40824093 """Queries with specified key"""
40834094 key : String
40844095 ): TaxCategory
4085- createDiscountCode (draft : DiscountCodeDraft ! ): DiscountCode
4096+ createDiscountCode (
4097+ draft : DiscountCodeDraft !
4098+ """
4099+ The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.
4100+ """
4101+ storeKey : KeyReferenceInput
4102+ ): DiscountCode
40864103 updateDiscountCode (
40874104 version : Long !
40884105 actions : [DiscountCodeUpdateAction ! ]!
4106+ """
4107+ The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.
4108+ """
4109+ storeKey : KeyReferenceInput
40894110 """Queries with specified ID"""
40904111 id : String
40914112 """Queries with specified key"""
40924113 key : String
40934114 ): DiscountCode
40944115 deleteDiscountCode (
40954116 version : Long !
4117+ """
4118+ The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.
4119+ """
4120+ storeKey : KeyReferenceInput
40964121 """Queries with specified ID"""
40974122 id : String
40984123 """Queries with specified key"""
@@ -13233,6 +13258,10 @@ input ExtensionDraft {
1323313258 """
1323413259 BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
1323513260 """
13261+ dependencies : [ResourceIdentifierInput ! ]
13262+ """
13263+ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
13264+ """
1323613265 additionalContext : ExtensionAdditionalContextInput
1323713266 """
1323813267 BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
@@ -13251,6 +13280,10 @@ input ExtensionUpdateAction {
1325113280 BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
1325213281 """
1325313282 setExpansionPaths : SetExtensionExpansionPaths
13283+ """
13284+ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
13285+ """
13286+ setDependencies : SetExtensionDependencies
1325413287 setKey : SetExtensionKey
1325513288 setTimeoutInMs : SetExtensionTimeoutInMs
1325613289}
@@ -15924,6 +15957,13 @@ input SetExtensionAdditionalContext {
1592415957 additionalContext : ExtensionAdditionalContextInput !
1592515958}
1592615959
15960+ """
15961+ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
15962+ """
15963+ input SetExtensionDependencies {
15964+ dependencies : [ResourceIdentifierInput ! ]!
15965+ }
15966+
1592715967"""
1592815968BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
1592915969"""
0 commit comments