diff --git a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls index e1db8d36b1..28949a0e38 100644 --- a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls +++ b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls @@ -1,96 +1,80 @@ -scalar Date scalar DateTime -scalar Json scalar Long +scalar Locale +scalar JsonPrimitive +scalar Date +scalar Json scalar SearchValueType scalar Time scalar BigDecimal scalar Country scalar Currency scalar KeyReferenceInput -scalar Locale -scalar Set scalar YearMonth -type Product implements Versioned & ReviewTarget & ReferenceExpandable { - id: String! - key: String - version: Long! - productTypeRef: Reference! - productType: ProductTypeDefinition - masterData: ProductCatalogData! - skus: [String!]! - createdAt: DateTime! - lastModifiedAt: DateTime! - stateRef: Reference - state: State - priceMode: PriceMode - taxCategoryRef: Reference - taxCategory: TaxCategory - reviewRatingStatistics: ReviewRatingStatistics - productSelectionRefs(where: String, sort: [String!], limit: Int, offset: Int): SelectionOfProductQueryResult! - createdBy: Initiator - lastModifiedBy: Initiator -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ -type ProductPagedSearchResponse { - total: Long! - offset: Int - limit: Int - results: [ProductSearchResult!]! - facets: [ProductSearchFacetResult!]! -} +One (locale, value) pair from a LocalizedString. Used for both input and +output positions on resources that expose multi-locale text. +Marked `@shareable` because sphere-backend also defines this exact type; +Apollo Federation rejects composition otherwise. Both subgraphs return +semantically identical (locale, value) pairs. """ -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type ProductSearchFacetResultBucket implements ProductSearchFacetResult { - name: String! - buckets: [ProductSearchFacetResultBucketEntry!]! +type LocalizedString { + locale: Locale! + value: String! } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type ProductSearchFacetResultBucketEntry { - key: String! - count: Int! +type Initiator { + isPlatformClient: Boolean + clientId: String + externalUserId: String + anonymousId: String + customerRef: Reference + userRef: Reference + associateRef: Reference + attributedTo: Attribution } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type ProductSearchFacetResultCount implements ProductSearchFacetResult { - name: String! - value: Long! +type Attribution { + clientId: String + source: AttributionSource! + userRef: Reference } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type ProductSearchFacetResultStats implements ProductSearchFacetResult { - name: String! - min: Json - max: Json - mean: Json - sum: Json - count: Long! +type Reference { + typeId: String! + id: String! } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type ProductSearchResult { - id: String! - product(localesProjection: [String!], storeProjection: String): Product! +type McpServerQueryResult { + limit: Int! + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [McpServer!]! } type Query { """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ + mcpServer(id: String, key: String): McpServer + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + mcpServers(sort: [String!], limit: Int, offset: Int): McpServerQueryResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + mcpServerTypes: [McpServerTypeCatalogEntry!]! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + mcpServerType(type: McpServerType!, majorVersion: String): McpServerTypeCatalogEntry + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ productsSearch(query: SearchQueryInput, postFilter: SearchQueryInput, sort: [SearchSortingInput!], limit: Int, offset: Int, markMatchingVariants: Boolean, facets: [ProductSearchFacetExpressionInput!]): ProductPagedSearchResponse """ This field can only be used with an access token created with the password flow or with an anonymous session. @@ -463,2325 +447,1392 @@ type Query { productSelectionAssignments(where: String, sort: [String!], limit: Int, offset: Int): ProductAssignmentQueryResult! } -type BusinessUnit implements Versioned & ReferenceExpandable { - id: String! - key: String! - name: String! - contactEmail: String - addresses: [Address!]! - defaultShippingAddress: Address - defaultBillingAddress: Address - defaultShippingAddressId: String - defaultBillingAddressId: String - shippingAddresses: [Address!]! - billingAddresses: [Address!]! - shippingAddressIds: [String!]! - billingAddressIds: [String!]! - status: BusinessUnitStatus! - storesRef: [KeyReference!] - stores: [Store!] - storeMode: String - unitType: BusinessUnitType! - associates: [Associate!]! - associateMode: BusinessUnitAssociateMode! - inheritedAssociates: [InheritedAssociate!] - custom: CustomFieldsType - parentUnitRef: KeyReference - parentUnit: BusinessUnit +type Mutation { """ - This field contains the BusinessUnits KeyReferences from the Company to the parent Division of this BusinessUnit in that order. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - ancestors: [BusinessUnit!]! + createMcpServer(draft: McpServerDraft!): McpServer """ - This field contains the inherited stores from its parentUnit if storeMode is set to FromParent. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - inheritedStores: [InheritedStore!] - topLevelUnitRef: KeyReference - topLevelUnit: BusinessUnit! - approvalRuleMode: BusinessUnitApprovalRuleMode! + updateMcpServer(id: String, key: String, version: Long!, actions: [McpServerUpdateAction!]!): McpServer """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - customerGroupAssignments: [CustomerGroupAssignment!] + deleteMcpServer(id: String, key: String, version: Long!): McpServer + createCustomerGroup(draft: CustomerGroupDraft!): CustomerGroup + updateCustomerGroup( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -""" -A customer is a person purchasing products. Carts, Orders and Reviews can be associated to a customer. -""" -type Customer implements Versioned & ReferenceExpandable { - id: String! - customerNumber: String - email: String! - addresses: [Address!]! - defaultShippingAddressId: String - defaultBillingAddressId: String - shippingAddressIds: [String!]! - billingAddressIds: [String!]! - isEmailVerified: Boolean! - customerGroupRef: Reference - externalId: String + actions: [CustomerGroupUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - authenticationMode: AuthenticationMode - firstName: String - lastName: String - middleName: String - title: String - locale: Locale - salutation: String - dateOfBirth: Date - companyName: String - vatId: String - password: String - customerGroup: CustomerGroup - defaultShippingAddress: Address - defaultBillingAddress: Address - shippingAddresses: [Address!]! - billingAddresses: [Address!]! - storesRef: [KeyReference!]! - stores: [Store!]! - customerGroupAssignments: [CustomerGroupAssignment!]! - custom: CustomFieldsType + ): CustomerGroup + deleteCustomerGroup( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -""" -API Clients can be used to obtain OAuth 2 access tokens. The secret is only shown once in the response of creating the API Client. -""" -type APIClientWithSecret { - id: String! - name: String! - scope: String! - createdAt: DateTime - lastUsedAt: Date - deleteAt: DateTime - secret: String! - accessTokenValiditySeconds: Int - refreshTokenValiditySeconds: Int -} - -"""API Clients can be used to obtain OAuth 2 access tokens""" -type APIClientWithoutSecret { - id: String! - name: String! - scope: String! - createdAt: DateTime - lastUsedAt: Date - deleteAt: DateTime - accessTokenValiditySeconds: Int - refreshTokenValiditySeconds: Int -} - -type APIClientWithoutSecretQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [APIClientWithoutSecret!]! -} - -type AWSLambdaDestination implements ExtensionDestination { - arn: String! - accessKey: String! - accessSecret: String! - type: String! -} - -type Absolute implements AllocationInterface { - amount: HighPrecisionMoney! - type: String! -} - -type AbsoluteCartDiscountValue implements CartDiscountValue { - money: [Money!]! - applicationMode: DiscountApplicationMode! - type: String! -} - -type AbsoluteDiscountValue implements CartDiscountValue & ProductDiscountValue { - money: [Money!]! - type: String! -} - -type AddStagedOrderCustomLineItemOutput implements StagedOrderUpdateActionOutput { - type: String! - draft: CustomLineItemDraftOutput! -} - -type AddStagedOrderDeliveryOutput implements StagedOrderUpdateActionOutput { - type: String! - deliveryKey: String - items: [DeliveryItem!]! - parcels: [ParcelData!]! - address: AddressDraft - custom: CustomFieldsCommand - shippingKey: String -} - -type AddStagedOrderDiscountCodeOutput implements StagedOrderUpdateActionOutput { - type: String! - code: String! - validateDuplicates: Boolean! -} - -type AddStagedOrderItemShippingAddressOutput implements StagedOrderUpdateActionOutput { - type: String! - address: AddressDraft! -} - -type AddStagedOrderLineItemOutput implements StagedOrderUpdateActionOutput { - type: String! - draft: LineItemDraftOutput! -} - -type AddStagedOrderParcelToDeliveryOutput implements StagedOrderUpdateActionOutput { - type: String! - deliveryId: String - deliveryKey: String - parcelKey: String - measurements: ParcelMeasurements - trackingData: TrackingData - items: [DeliveryItem!]! - custom: CustomFieldsCommand -} - -type AddStagedOrderPaymentOutput implements StagedOrderUpdateActionOutput { - type: String! - paymentResId: ResourceIdentifier! -} - -type AddStagedOrderReturnInfoOutput implements StagedOrderUpdateActionOutput { - type: String! - items: [ReturnItemDraftTypeOutput!]! - returnDate: DateTime - returnTrackingId: String -} - -type AddStagedOrderShoppingListOutput implements StagedOrderUpdateActionOutput { - type: String! - shoppingListResId: ResourceIdentifier! - supplyChannelResId: ChannelReferenceIdentifier - distributionChannelResId: ChannelReferenceIdentifier -} - -"""An address represents a postal address.""" -type Address { + """Queries with specified ID""" id: String - streetName: String - streetNumber: String - additionalStreetInfo: String - postalCode: String - city: String - region: String - state: String - country: Country! - company: String - department: String - building: String - apartment: String - pOBox: String - additionalAddressInfo: String - externalId: String + """Queries with specified key""" key: String - phone: String - mobile: String - email: String - fax: String - title: String - salutation: String - firstName: String - lastName: String - custom: CustomFieldsType -} - -type AddressDraft { + ): CustomerGroup + createCategory(draft: CategoryDraft!): Category + updateCategory( + version: Long! + actions: [CategoryUpdateAction!]! + """Queries with specified ID""" id: String - streetName: String - streetNumber: String - additionalStreetInfo: String - postalCode: String - city: String - region: String - state: String - country: Country! - company: String - department: String - building: String - apartment: String - pOBox: String - additionalAddressInfo: String - externalId: String + """Queries with specified key""" key: String - custom: CustomFieldsCommand - phone: String - mobile: String - email: String - fax: String - title: String - salutation: String - firstName: String - lastName: String -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type AnyOrder implements RecurringOrderScope { - type: RecurringOrderScopeType! -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type ApplicableRecurrencePolicies implements RecurringOrderScope { - recurrencePolicies: [RecurrencePolicy!]! - type: RecurringOrderScopeType! - recurrencePoliciesRef: [Reference!]! -} - -type Applied implements OrderEditResult { - excerptBeforeEdit: OrderExcerpt! - excerptAfterEdit: OrderExcerpt! - type: String! - appliedAt: DateTime! -} - -type ApprovalFlow implements Versioned { - status: String! - approvals: [ApprovalFlowApproval!]! - rejection: ApprovalFlowRejection - orderRef: Reference! - order: Order - rules: [ApprovalRule!]! - businessUnitRef: KeyReference! - businessUnit: BusinessUnit! - eligibleApprovers: [RuleApprover!]! - pendingApprovers: [RuleApprover!]! - currentTierPendingApprovers: [RuleApprover!]! - custom: CustomFieldsType - id: String! + ): Category + deleteCategory( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type ApprovalFlowApproval { - approver: Associate! - approvedAt: DateTime! -} - -type ApprovalFlowApproved implements MessagePayload { - associate: Customer - order: Order - associateRef: Reference - orderRef: Reference - type: String! -} - -type ApprovalFlowCompleted implements MessagePayload { - status: String! - order: Order - orderRef: Reference - type: String! -} - -type ApprovalFlowCreated implements MessagePayload { - approvalFlow: ApprovalFlow! - type: String! -} - -type ApprovalFlowQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [ApprovalFlow!]! -} - -type ApprovalFlowRejected implements MessagePayload { - rejectionReason: String - associate: Customer - order: Order - associateRef: Reference - orderRef: Reference - type: String! -} - -type ApprovalFlowRejection { - rejecter: Associate! - rejectedAt: DateTime! - reason: String -} - -type ApprovalRule implements Versioned { + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Category + createChannel(draft: ChannelDraft!): Channel + updateChannel( + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - name: String! - description: String - status: ApprovalRuleStatus! - predicate: String! - approvers: ApproverHierarchy! - requesters: [RuleRequester!]! - businessUnitRef: KeyReference! - businessUnit: BusinessUnit! - custom: CustomFieldsType - id: String! version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type ApprovalRuleApproversSet implements MessagePayload { - oldApprovers: ApproverHierarchy! - approvers: ApproverHierarchy! - type: String! -} - -type ApprovalRuleCreated implements MessagePayload { - approvalRule: ApprovalRule! - type: String! -} - -type ApprovalRuleDescriptionSet implements MessagePayload { - oldDescription: String - description: String - type: String! -} - -type ApprovalRuleKeySet implements MessagePayload { - oldKey: String + actions: [ChannelUpdateAction!]! + ): Channel + deleteChannel( + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - type: String! -} - -type ApprovalRuleNameSet implements MessagePayload { - oldName: String! - name: String! - type: String! -} - -type ApprovalRulePredicateSet implements MessagePayload { - oldPredicate: String! - predicate: String! - type: String! -} - -type ApprovalRuleQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [ApprovalRule!]! -} - -type ApprovalRuleRequestersSet implements MessagePayload { - oldRequesters: [RuleRequester!]! - requesters: [RuleRequester!]! - type: String! -} - -type ApprovalRuleStatusSet implements MessagePayload { - oldStatus: ApprovalRuleStatus! - status: ApprovalRuleStatus! - type: String! -} - -type ApproverConjunction { - and: [ApproverDisjunction!]! -} - -type ApproverDisjunction { - or: [RuleApprover!]! -} - -type ApproverHierarchy { - tiers: [ApproverConjunction!]! -} - -type AsAssociate implements CartQueryInterface & OrderQueryInterface & QuoteQueryInterface & QuoteRequestQueryInterface & ShoppingListQueryInterface { - cart(id: String!): Cart - carts(where: String, sort: [String!], limit: Int, offset: Int): CartQueryResult! - order( + version: Long! + ): Channel + createOrUpdateCustomObject(draft: CustomObjectDraft!): CustomObject + deleteCustomObject( + version: Long """Queries with specified ID""" id: String - orderNumber: String - ): Order - orders(where: String, sort: [String!], limit: Int, offset: Int): OrderQueryResult! - shoppingList( + """Queries with specified key""" + key: String + container: String + personalDataErasure: Boolean = false + ): CustomObject + createProductType(draft: ProductTypeDraft!): ProductTypeDefinition + updateProductType( + version: Long! + actions: [ProductTypeUpdateAction!]! """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): ShoppingList - shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult! - quoteRequest( + ): ProductTypeDefinition + deleteProductType( + version: Long! """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): QuoteRequest - quoteRequests(where: String, sort: [String!], limit: Int, offset: Int): QuoteRequestQueryResult! - quote( + ): ProductTypeDefinition + createTypeDefinition(draft: TypeDefinitionDraft!): TypeDefinition + updateTypeDefinition( + version: Long! + actions: [TypeUpdateAction!]! """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Quote - quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult! - approvalRule( + ): TypeDefinition + deleteTypeDefinition( + version: Long! """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): ApprovalRule - approvalRules(where: String, sort: [String!], limit: Int, offset: Int): ApprovalRuleQueryResult! - approvalFlow(id: String!): ApprovalFlow - approvalFlows(where: String, sort: [String!], limit: Int, offset: Int): ApprovalFlowQueryResult! - businessUnit( + ): TypeDefinition + createShippingMethod(draft: ShippingMethodDraft!): ShippingMethod + updateShippingMethod( + version: Long! + actions: [ShippingMethodUpdateAction!]! """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): BusinessUnit - businessUnits(where: String, sort: [String!], limit: Int, offset: Int): BusinessUnitQueryResult! -} - -type Asset { - id: String! + ): ShippingMethod + deleteShippingMethod( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - sources: [AssetSource!]! - name( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale + ): ShippingMethod + createZone(draft: CreateZone!): Zone + updateZone( + version: Long! + actions: [ZoneUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Zone + deleteZone( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Zone + createTaxCategory(draft: TaxCategoryDraft!): TaxCategory + updateTaxCategory( + version: Long! + actions: [TaxCategoryUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): TaxCategory + deleteTaxCategory( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): TaxCategory + createDiscountCode(draft: DiscountCodeDraft!): DiscountCode + updateDiscountCode( + version: Long! + actions: [DiscountCodeUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): DiscountCode + deleteDiscountCode( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): DiscountCode + createCartDiscount( + draft: CartDiscountDraft! """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!]! - description( + storeKey: KeyReferenceInput + ): CartDiscount + updateCartDiscount( + version: Long! + actions: [CartDiscountUpdateAction!]! """ - String is defined for different locales. This argument specifies the desired locale. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - locale: Locale + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): CartDiscount + deleteCartDiscount( + version: Long! """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - descriptionAllLocales: [LocalizedString!] - tags: [String!]! - custom: CustomFieldsType -} - -type AssetDimensions { - width: Int! - height: Int! -} - -type AssetSource { - uri: String! + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - dimensions: AssetDimensions - contentType: String -} - -type Associate { - associateRoleAssignments: [AssociateRoleAssignment!]! - customerRef: Reference - customer: Customer -} - -type AssociateRole implements Versioned & ReferenceExpandable { - key: String! - buyerAssignable: Boolean! - name: String - permissions: [Permission!]! - custom: CustomFieldsType - id: String! + ): CartDiscount + createProductDiscount(draft: ProductDiscountDraft!): ProductDiscount + updateProductDiscount( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type AssociateRoleAssignment { - associateRoleRef: KeyReference - associateRole: AssociateRole! - inheritance: AssociateInheritanceMode! -} - -type AssociateRoleBuyerAssignableChanged implements MessagePayload { - buyerAssignable: Boolean! - type: String! -} - -type AssociateRoleCreated implements MessagePayload { - associateRole: AssociateRole! - type: String! -} - -type AssociateRoleDeleted implements MessagePayload { - type: String! -} - -type AssociateRoleNameSet implements MessagePayload { - name: String - type: String! -} - -type AssociateRolePermissionAdded implements MessagePayload { - permission: Permission! - type: String! -} - -type AssociateRolePermissionRemoved implements MessagePayload { - permission: Permission! - type: String! -} - -type AssociateRolePermissionsSet implements MessagePayload { - permissions: [Permission!] - type: String! -} - -type AssociateRoleQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [AssociateRole!]! -} - -type AttributeDefinition { - type: AttributeDefinitionType! - name: String! - label( + actions: [ProductDiscountUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): ProductDiscount + deleteProductDiscount( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): ProductDiscount + createDiscountGroup(draft: DiscountGroupDraft!): DiscountGroup + updateDiscountGroup( + version: Long! + actions: [DiscountGroupUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): DiscountGroup + deleteDiscountGroup( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): DiscountGroup + createAttributeGroup(draft: AttributeGroupDraft!): AttributeGroup + updateAttributeGroup( + version: Long! + actions: [AttributeGroupUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): AttributeGroup + deleteAttributeGroup( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): AttributeGroup + createProduct(draft: ProductDraft!): Product + updateProduct( + version: Long! + actions: [ProductUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Product + deleteProduct( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Product + createState(draft: StateDraft!): State + updateState( + version: Long! + actions: [StateUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): State + deleteState( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): State """ - String is defined for different locales. This argument specifies the desired locale. + Creates a customer. If an anonymous cart is given then the cart is assigned to the created customer and the version number of the Cart will increase. If the id of an anonymous session is given, all carts and orders will be assigned to the created customer. + """ + customerSignUp( + draft: CustomerSignUpDraft! """ - locale: Locale + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + ): CustomerSignInResult! """ - acceptLanguage: [Locale!] - ): String - isRequired: Boolean! - attributeConstraint: AttributeConstraint! - level: Level! - inputTip( + Retrieves the authenticated customer (a customer that matches the given email/password pair). + + There may be carts and orders created before the sign in that should be assigned to the customer account. With the `anonymousCartId`, a single anonymous cart can be assigned. With the `anonymousId`, all orders and carts that have this `anonymousId` set will be assigned to the customer. + If both `anonymousCartId` and `anonymousId` are given, the anonymous cart must have the `anonymousId`. + + Additionally, there might also exist one or more active customer carts from an earlier session. On customer sign in there are several ways how to proceed with this cart and the cart referenced by the `anonymousCartId`. + + * If the customer does not have a cart yet, the anonymous cart becomes the customer's cart. + * If the customer already has one or more carts, the content of the anonymous cart will be copied to the customer's active cart that has been modified most recently. + + In this case the `CartState` of the anonymous cart gets changed to `Merged` while the customer's cart remains the `Active` cart. + + If a `LineItem` in the anonymous cart matches an existing line item, or a `CustomLineItem` matches an existing custom line item in the customer's cart, the maximum quantity of both line items is used as the new quantity. + + `ItemShippingDetails` are copied from the item with the highest quantity. + + If `itemShippingAddresses` are different in the two carts, the resulting cart contains the addresses of both the customer cart and the anonymous cart. + + Note, that it is not possible to merge carts that differ in their currency (set during creation of the cart). + + If a cart is is returned as part of the `CustomerSignInResult`, it has been recalculated (it will have up-to-date prices, taxes and discounts, and invalid line items have been removed). + """ + customerSignIn( + draft: CustomerSignInDraft! """ - String is defined for different locales. This argument specifies the desired locale. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - locale: Locale + storeKey: KeyReferenceInput + ): CustomerSignInResult! + updateCustomer( + version: Long! + actions: [CustomerUpdateAction!]! """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - inputHint: TextInputHint! - isSearchable: Boolean! - labelAllLocales: [LocalizedString!]! - inputTipAllLocales: [LocalizedString!] -} - -type AttributeDefinitionResult { - limit: Int - offset: Int - total: Int! - results: [AttributeDefinition!]! -} - -type AttributeGroup implements Versioned { + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Customer + deleteCustomer( + version: Long! + personalDataErasure: Boolean = false + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Customer + customerChangePassword( id: String! version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - name( + currentPassword: String! + newPassword: String! """ - String is defined for different locales. This argument specifies the desired locale. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - locale: Locale + storeKey: KeyReferenceInput + ): Customer """ - List of languages the client is able to understand, and which locale variant is preferred. + The following workflow can be used to reset the customer’s password: + + 1. Create a password reset token and send it embedded in a link to the customer. + 2. When the customer clicks on the link, you may optionally retrieve customer by password token. + 3. When the customer entered new password, use reset customer’s password to reset the password. + """ + customerResetPassword( + version: Long + tokenValue: String! + newPassword: String! """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!]! - description( + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - String is defined for different locales. This argument specifies the desired locale. + storeKey: KeyReferenceInput + ): Customer + """Verifies customer's email using a token.""" + customerConfirmEmail( + version: Long + tokenValue: String! """ - locale: Locale + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + ): Customer """ - acceptLanguage: [Locale!] - ): String - descriptionAllLocales: [LocalizedString!] - key: String - attributes: [AttributeReference!]! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type AttributeGroupQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [AttributeGroup!]! -} - -type AttributeReference { - key: String! -} - -type Attribution { - clientId: String - source: AttributionSource! - userRef: Reference -} - -type AuthorizationHeader implements HttpDestinationAuthentication { - headerValue: String! - type: String! -} - -type AzureFunctionsAuthentication implements HttpDestinationAuthentication { - key: String! - type: String! -} - -type AzureServiceBusDestination implements Destination { - connectionString: String! - type: String! -} - -type BestDeal implements DiscountTypeCombination { - type: String! - chosenDiscountType: ChosenDiscountType -} - -type BooleanAttribute implements Attribute { - value: Boolean! - name: String! -} - -type BooleanAttributeDefinitionType implements AttributeDefinitionType { - name: String! -} - -type BooleanField implements CustomField { - value: Boolean! - name: String! -} - -type BooleanType implements FieldType { - name: String! -} - -type BusinessUnitAddressAdded implements MessagePayload { - address: Address! - type: String! -} - -type BusinessUnitAddressChanged implements MessagePayload { - address: Address! - addressRoles: [AddressRole!]! - type: String! -} - -type BusinessUnitAddressCustomFieldAdded implements MessagePayload { - name: String! - value: Json! - addressId: String! - type: String! -} - -type BusinessUnitAddressCustomFieldChanged implements MessagePayload { - name: String! - value: Json! - oldValue: Json - addressId: String! - type: String! -} - -type BusinessUnitAddressCustomFieldRemoved implements MessagePayload { - name: String! - addressId: String! - type: String! -} - -type BusinessUnitAddressCustomTypeRemoved implements MessagePayload { - oldTypeId: String - addressId: String! - type: String! -} - -type BusinessUnitAddressCustomTypeSet implements MessagePayload { - customFields: CustomFieldsType! - oldTypeId: String - addressId: String! - type: String! -} - -type BusinessUnitAddressRemoved implements MessagePayload { - address: Address! - addressRoles: [AddressRole!]! - type: String! -} - -type BusinessUnitApprovalRuleModeChanged implements MessagePayload { - approvalRuleMode: BusinessUnitApprovalRuleMode! - oldApprovalRuleMode: BusinessUnitApprovalRuleMode - type: String! -} - -type BusinessUnitAssociateAdded implements MessagePayload { - associate: Associate! - type: String! -} - -type BusinessUnitAssociateChanged implements MessagePayload { - associate: Associate! - type: String! -} - -type BusinessUnitAssociateModeChanged implements MessagePayload { - associateMode: BusinessUnitAssociateMode! - oldAssociateMode: BusinessUnitAssociateMode - type: String! -} - -type BusinessUnitAssociateProjection { - customerRef: Reference - customer: Customer - associateRoles: [AssociateRole!]! - inheritedAssociateRoles: [AssociateRole!]! - permissions: [Permission!]! -} - -type BusinessUnitAssociateRemoved implements MessagePayload { - associate: Associate! - type: String! -} - -type BusinessUnitAssociatesSet implements MessagePayload { - associates: [Associate!]! - type: String! -} - -type BusinessUnitBillingAddressAdded implements MessagePayload { - address: Address! - type: String! -} - -type BusinessUnitBillingAddressRemoved implements MessagePayload { - address: Address! - type: String! -} - -type BusinessUnitConfiguration { - myBusinessUnitStatusOnCreation: BusinessUnitConfigurationStatus! + The token value is used to reset the password of the customer with the given email. The token is valid for the time-to-live period (TTL). + """ + customerCreatePasswordResetToken( + email: String! + """The validity of the created token in minutes.""" + ttlMinutes: Int + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """ + Invalidate older, previously created tokens when a new token is created. + """ + invalidateOlderTokens: Boolean! = false + ): CustomerPasswordToken + customerCreateEmailVerificationToken( + id: String! + version: Long + """The validity of the created token in minutes.""" + ttlMinutes: Int! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """ + Invalidate older, previously created tokens when a new token is created. + """ + invalidateOlderTokens: Boolean! = false + ): CustomerEmailToken! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta If used with an access token for Anonymous Sessions, all orders and carts belonging to the anonymousId will be assigned to the newly created customer. + """ + customerSignMeUp( + draft: CustomerSignMeUpDraft! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + ): CustomerSignInResult! """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + + Retrieves the authenticated customer (a customer that matches the given email/password pair). + + If used with an access token for Anonymous Sessions, all orders and carts belonging to the `anonymousId` will be assigned to the newly created customer. + + * If the customer does not have a cart yet, the anonymous cart that was modified most recently becomes the customer's cart. + * If the customer already has a cart, the most recently modified anonymous cart will be handled according to the `AnonymousCartSignInMode`. + + If a cart is is returned as part of the `CustomerSignInResult`, it has been recalculated (it will have up-to-date prices, taxes and discounts, and invalid line items have been removed). """ - myBusinessUnitAssociateRoleOnCreationRef: KeyReference + customerSignMeIn( + draft: CustomerSignMeInDraft! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + ): CustomerSignInResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta Signs up a new customer and associates it with the business unit. + """ + signUpInMyBusinessUnit(draft: SignUpInMyBusinessUnitDraft!): CustomerSignInResult! """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - myBusinessUnitAssociateRoleOnCreation: AssociateRole -} - -type BusinessUnitContactEmailSet implements MessagePayload { - contactEmail: String - type: String! -} - -type BusinessUnitCreated implements MessagePayload { - businessUnit: BusinessUnit! - type: String! -} - -type BusinessUnitCustomFieldAdded implements MessagePayload { - name: String! - value: Json! - type: String! -} - -type BusinessUnitCustomFieldChanged implements MessagePayload { - name: String! - value: Json! - oldValue: Json - type: String! -} - -type BusinessUnitCustomFieldRemoved implements MessagePayload { - name: String! - type: String! -} - -type BusinessUnitCustomTypeRemoved implements MessagePayload { - oldTypeId: String - type: String! -} - -type BusinessUnitCustomTypeSet implements MessagePayload { - customFields: CustomFieldsType! - oldTypeId: String - type: String! -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type BusinessUnitCustomerGroupAssignmentAdded implements MessagePayload { - customerGroupAssignment: CustomerGroupAssignment! - type: String! -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type BusinessUnitCustomerGroupAssignmentRemoved implements MessagePayload { - customerGroupAssignment: CustomerGroupAssignment! - type: String! -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type BusinessUnitCustomerGroupAssignmentsSet implements MessagePayload { - customerGroupAssignments: [CustomerGroupAssignment!] - oldCustomerGroupAssignments: [CustomerGroupAssignment!] - type: String! -} - -type BusinessUnitDefaultBillingAddressSet implements MessagePayload { - address: Address - type: String! -} - -type BusinessUnitDefaultShippingAddressSet implements MessagePayload { - address: Address - type: String! -} - -type BusinessUnitDeleted implements MessagePayload { - type: String! -} - -type BusinessUnitLimitsProjection { - maxDepthLimit: Limit! - maxDivisions: Limit! - maxAssociates: Limit! - maxAssociateRoles: Limit! -} - -type BusinessUnitNameChanged implements MessagePayload { - name: String! - type: String! -} - -type BusinessUnitParentChanged implements MessagePayload { - oldParentUnit: BusinessUnit - newParentUnit: BusinessUnit - oldParentUnitRef: KeyReference - newParentUnitRef: KeyReference - type: String! -} - -type BusinessUnitQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [BusinessUnit!]! -} - -type BusinessUnitSearchConfiguration { - status: BusinessUnitSearchStatus! - lastModifiedBy: Initiator - lastModifiedAt: DateTime! -} - -type BusinessUnitShippingAddressAdded implements MessagePayload { - address: Address! - type: String! -} - -type BusinessUnitShippingAddressRemoved implements MessagePayload { - address: Address! - type: String! -} - -type BusinessUnitStatusChanged implements MessagePayload { - status: BusinessUnitStatus! - type: String! -} - -type BusinessUnitStoreAdded implements MessagePayload { - store: Store! - storeRef: KeyReference! - type: String! -} - -type BusinessUnitStoreModeChanged implements MessagePayload { - storeMode: String! - oldStoreMode: String! - stores: [Store!] - oldStores: [Store!] - inheritedStores: [Store!] - oldInheritedStores: [Store!] - storesRef: [KeyReference!] - oldStoresRef: [KeyReference!] - inheritedStoresRef: [KeyReference!] - oldInheritedStoresRef: [KeyReference!] - type: String! -} - -type BusinessUnitStoreRemoved implements MessagePayload { - store: Store! - storeRef: KeyReference! - type: String! -} - -type BusinessUnitStoresSet implements MessagePayload { - stores: [Store!]! - storesRef: [KeyReference!]! - type: String! -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type BusinessUnitTopLevelUnitSet implements MessagePayload { - oldTopLevelUnit: BusinessUnit! - topLevelUnit: BusinessUnit! - oldTopLevelUnitRef: KeyReference - topLevelUnitRef: KeyReference - type: String! -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type BusinessUnitTypeSet implements MessagePayload { - oldUnitType: BusinessUnitType! - unitType: BusinessUnitType! - parentUnit: BusinessUnit - oldParentUnit: BusinessUnit - parentUnitRef: KeyReference - oldParentUnitRef: KeyReference - type: String! -} - -""" -A shopping cart holds product variants and can be ordered. Each cart either belongs to a registered customer or is an anonymous cart. -""" -type Cart implements Versioned & ReferenceExpandable { - customerId: String - customer: Customer - customerEmail: String - anonymousId: String - lineItems( - """Queries with specified ID""" - id: String - ): [LineItem!]! - customLineItems: [CustomLineItem!]! - totalPrice: Money! - taxedPrice: TaxedPrice - discountOnTotalPrice: DiscountOnTotalPrice - shippingAddress: Address - billingAddress: Address - inventoryMode: InventoryMode! - taxMode: TaxMode! - priceRoundingMode: RoundingMode! - taxRoundingMode: RoundingMode! - taxCalculationMode: TaxCalculationMode! - customerGroup: CustomerGroup - customerGroupRef: Reference - country: Country - shippingKey: String - shippingInfo: ShippingInfo - discountCodes: [DiscountCodeInfo!]! - directDiscounts: [DirectDiscount!]! - refusedGifts: [CartDiscount!]! - refusedGiftsRefs: [Reference!]! - paymentInfo: PaymentInfo - locale: Locale - shippingRateInput: ShippingRateInput - origin: CartOrigin! - storeRef: KeyReference - store: Store - itemShippingAddresses: [Address!]! - businessUnit: BusinessUnit - businessUnitRef: KeyReference - shipping: [Shipping!]! - taxedShippingPrice: TaxedPrice - shippingMode: ShippingMode! - shippingCustomFields: CustomFieldsType - placement: Placement - discountTypeCombination: DiscountTypeCombination - cartState: CartState! - key: String - purchaseOrderNumber: String - lock: CartLock - custom: CustomFieldsType - deleteDaysAfterLastModification: Int - totalLineItemQuantity: Long - recurringPaymentConfiguration: RecurringPaymentConfiguration - freezeStrategy: FreezeStrategy - id: String! + updateMyCustomer( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type CartClassificationType implements ShippingRateInputType { - values: [ShippingRateInputLocalizedEnumValue!]! - type: String! -} - -type CartCreated implements MessagePayload { - totalPrice: Money! - lineItemCount: Int! - discountCodesRefs: [Reference!]! - type: String! -} - -""" -Cart discounts are recalculated every time LineItems or CustomLineItems are added or removed from the Cart or an order is created from the cart. - -The number of active cart discounts that do not require a discount code (isActive=true and requiresDiscountCode=false) is limited to 100. -""" -type CartDiscount implements Versioned & ReferenceExpandable { - cartPredicate: String! - stackingMode: StackingMode! - isActive: Boolean! - requiresDiscountCode: Boolean! - key: String - discountGroupRef: Reference - name( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale + actions: [MyCustomerUpdateAction!]! """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - description( + storeKey: KeyReferenceInput + ): Customer """ - String is defined for different locales. This argument specifies the desired locale. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + deleteMyCustomer( + version: Long! + personalDataErasure: Boolean = false """ - locale: Locale + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!]! - descriptionAllLocales: [LocalizedString!] - referenceRefs: [Reference!]! - custom: CustomFieldsType - validFrom: DateTime - validUntil: DateTime - storesRef: [KeyReference!]! - stores: [Store!]! - discountGroup: DiscountGroup - value: CartDiscountValue! - target: CartDiscountTarget - sortOrder: String! + storeKey: KeyReferenceInput + ): Customer """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - recurringOrderScope: RecurringOrderScope! - id: String! - version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type CartDiscountCreated implements MessagePayload { - cartDiscount: CartDiscount! - type: String! -} - -type CartDiscountDeleted implements MessagePayload { - type: String! -} - -type CartDiscountLimitWithCurrent implements LimitWithCurrent { - limit: Long - current: Long! -} - -type CartDiscountLimitsProjection { - totalActiveWithoutDiscountCodes: CartDiscountLimitWithCurrent! -} - -type CartDiscountPatternTarget implements CartDiscountTarget { - triggerPattern: [PatternComponent!]! - targetPattern: [PatternComponent!]! - maxOccurrence: Int - selectionMode: SelectionMode! - type: String! -} - -type CartDiscountQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [CartDiscount!]! -} - -type CartDiscountStoreAdded implements MessagePayload { - store: Store! - storeRef: KeyReference! - type: String! -} - -type CartDiscountStoreRemoved implements MessagePayload { - store: Store! - storeRef: KeyReference! - type: String! -} - -type CartDiscountStoresSet implements MessagePayload { - storesRef: [KeyReference!]! - stores: [Store!]! - type: String! -} - -type CartDiscountTotalPriceTarget implements CartDiscountTarget { - type: String! -} - -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type CartDiscountVisualizationSearchConfiguration { - status: CartDiscountVisualizationSearchStatus! - lastModifiedBy: Initiator - lastModifiedAt: DateTime! -} - -type CartFrozen implements MessagePayload { - type: String! -} - -type CartLimitWithCurrent implements LimitWithCurrent { - limit: Long - current: Long! -} - -type CartLimitsProjection { - total: CartLimitWithCurrent! -} - -""" -Prevents edits on a Cart unless the caller has the `manage_locked_carts` OAuth scope. -""" -type CartLock { - createdAt: DateTime! - clientId: String! -} - -type CartPurchaseOrderNumberSet implements MessagePayload { - purchaseOrderNumber: String - oldPurchaseOrderNumber: String - type: String! -} - -type CartQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [Cart!]! -} - -type CartScoreType implements ShippingRateInputType { - type: String! -} - -type CartUnfrozen implements MessagePayload { - type: String! -} - -type CartValueType implements ShippingRateInputType { - type: String! -} - -type CartsConfiguration { - deleteDaysAfterLastModification: Int! - allowAddingUnpublishedProducts: Boolean! - countryTaxRateFallbackEnabled: Boolean! - totalPriceDiscountDoesNotReduceExternalTax: Boolean! - taxRoundingMode: RoundingMode! - priceRoundingMode: RoundingMode! -} - -type Category implements Versioned & ReferenceExpandable { - id: String! - key: String + customerChangeMyPassword( version: Long! - name( - """ - String is defined for different locales. This argument specifies the desired locale. + currentPassword: String! + newPassword: String! """ - locale: Locale + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + ): Customer """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!]! - description( + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + customerConfirmMyEmail( + tokenValue: String! """ - String is defined for different locales. This argument specifies the desired locale. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - locale: Locale + storeKey: KeyReferenceInput + ): Customer """ - List of languages the client is able to understand, and which locale variant is preferred. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + customerResetMyPassword( + tokenValue: String! + newPassword: String! """ - acceptLanguage: [Locale!] - ): String - descriptionAllLocales: [LocalizedString!] - slug( + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - String is defined for different locales. This argument specifies the desired locale. + storeKey: KeyReferenceInput + ): Customer + createInventoryEntry(draft: InventoryEntryDraft!): InventoryEntry + updateInventoryEntry( + version: Long! + actions: [InventoryEntryUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): InventoryEntry + deleteInventoryEntry( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): InventoryEntry + createCart( + draft: CartDraft! """ - locale: Locale + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + ): Cart + updateCart( + version: Long! + actions: [CartUpdateAction!]! """ - acceptLanguage: [Locale!] - ): String - slugAllLocales: [LocalizedString!]! - ancestorsRef: [Reference!]! - ancestors: [Category!]! - parentRef: Reference - parent: Category - orderHint: String! - externalId: String - metaTitle( + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - String is defined for different locales. This argument specifies the desired locale. + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Cart + deleteCart( + version: Long! + personalDataErasure: Boolean = false """ - locale: Locale + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Cart + replicateCart( + reference: ReferenceInput! + key: String """ - acceptLanguage: [Locale!] - ): String - metaTitleAllLocales: [LocalizedString!] - metaKeywords( + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + ): Cart + mergeCart( + customerId: String! + draft: MergeCartDraft! """ - acceptLanguage: [Locale!] - ): String - metaKeywordsAllLocales: [LocalizedString!] - metaDescription( + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - String is defined for different locales. This argument specifies the desired locale. + storeKey: KeyReferenceInput + ): Cart """ - locale: Locale + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + createMyCart( + draft: MyCartDraft! """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - metaDescriptionAllLocales: [LocalizedString!] - """Number of staged products in the category subtree.""" - stagedProductCount: Int! - """Number of direct child categories.""" - childCount: Int! + storeKey: KeyReferenceInput + ): Cart """ - Direct child categories. The maximum number of child categories that can be fetched is **150**. If the actual number of child categories exceeds this limit, the query will fail. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - children: [Category!] - createdAt: DateTime! - lastModifiedAt: DateTime! - assets: [Asset!]! - custom: CustomFieldsType - createdBy: Initiator - lastModifiedBy: Initiator -} - -type CategoryCreated implements MessagePayload { - category: Category! - type: String! -} - -type CategoryLimitsProjection { - maxCategories: Limit! -} - -type CategoryOrderHint { - categoryId: String! - orderHint: String! -} - -type CategoryOrderHintProductSearch { - categoryId: String! - orderHint: String! -} - -type CategoryQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [Category!]! -} - -type CategorySlugChanged implements MessagePayload { - slug( + updateMyCart( + id: String! + version: Long! + actions: [MyCartUpdateAction!]! """ - String is defined for different locales. This argument specifies the desired locale. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - locale: Locale + storeKey: KeyReferenceInput + ): Cart """ - List of languages the client is able to understand, and which locale variant is preferred. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + deleteMyCart( + id: String! + version: Long! """ - acceptLanguage: [Locale!] - ): String - oldSlug( + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - String is defined for different locales. This argument specifies the desired locale. + storeKey: KeyReferenceInput + ): Cart """ - locale: Locale + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + replicateMyCart(reference: ReferenceInput!): Cart + createOrderFromCart( + draft: OrderCartCommand! """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - slugAllLocales: [LocalizedString!]! - oldSlugAllLocales: [LocalizedString!] - type: String! -} - -type ChangeStagedOrderCustomLineItemMoneyOutput implements StagedOrderUpdateActionOutput { - type: String! - customLineItemId: String - customLineItemKey: String - money: BaseMoney! -} - -type ChangeStagedOrderCustomLineItemQuantityOutput implements StagedOrderUpdateActionOutput { - type: String! - customLineItemId: String - customLineItemKey: String - quantity: Long! -} - -type ChangeStagedOrderLineItemQuantityOutput implements StagedOrderUpdateActionOutput { - type: String! - lineItemId: String - quantity: Long! - lineItemKey: String - externalPrice: BaseMoney - externalTotalPrice: ExternalLineItemTotalPrice -} - -type ChangeStagedOrderOrderStateOutput implements StagedOrderUpdateActionOutput { - type: String! - orderState: OrderState! -} - -type ChangeStagedOrderPaymentStateOutput implements StagedOrderUpdateActionOutput { - type: String! - paymentState: PaymentState! -} - -type ChangeStagedOrderPriceRoundingModeOutput implements StagedOrderUpdateActionOutput { - type: String! - priceRoundingMode: RoundingMode! -} - -type ChangeStagedOrderShipmentStateOutput implements StagedOrderUpdateActionOutput { - type: String! - shipmentState: ShipmentState! -} - -type ChangeStagedOrderTaxCalculationModeOutput implements StagedOrderUpdateActionOutput { - type: String! - taxCalculationMode: TaxCalculationMode! -} - -type ChangeStagedOrderTaxModeOutput implements StagedOrderUpdateActionOutput { - type: String! - taxMode: TaxMode! -} - -type ChangeStagedOrderTaxRoundingModeOutput implements StagedOrderUpdateActionOutput { - type: String! - taxRoundingMode: RoundingMode! -} - -type ChangeSubscription { - resourceTypeId: String! -} - -type Channel implements Versioned & ReviewTarget & ReferenceExpandable { - id: String! + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + ): Order + updateOrder( version: Long! - key: String! - roles: [ChannelRole!]! - name( + actions: [OrderUpdateAction!]! """ - String is defined for different locales. This argument specifies the desired locale. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - locale: Locale + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """Queries with specified ID""" + id: String + orderNumber: String + ): Order + deleteOrder( + version: Long! + personalDataErasure: Boolean = false """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!] - description( + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + orderNumber: String + ): Order """ - String is defined for different locales. This argument specifies the desired locale. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + createMyOrderFromCart( + draft: OrderMyCartCommand! """ - locale: Locale + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + ): Order + createOrderFromQuote( + draft: OrderQuoteCommand! """ - acceptLanguage: [Locale!] - ): String - descriptionAllLocales: [LocalizedString!] - address: Address - geoLocation: Geometry - createdAt: DateTime! - lastModifiedAt: DateTime! - reviewRatingStatistics: ReviewRatingStatistics - custom: CustomFieldsType - createdBy: Initiator - lastModifiedBy: Initiator -} - -type ChannelQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [Channel!]! -} - -type ChannelReferenceIdentifier { - typeId: String! - id: String - key: String -} - -type ClassificationShippingRateInput implements ShippingRateInput { - key: String! - type: String! - labelAllLocales: [LocalizedString!]! - label( + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + ): Order """ - acceptLanguage: [Locale!] - ): String -} - -type ClassificationShippingRateInputDraftOutput implements ShippingRateInputDraftOutput { - key: String! - type: String! -} - -type CloudEventsSubscriptionsFormat implements NotificationFormat { - type: String! - cloudEventsVersion: String! -} - -type CommercetoolsSubscription implements Versioned { + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + createMyOrderFromQuote(draft: OrderMyQuoteCommand!): Order + importOrder(draft: ImportOrderDraft!): Order + createOrderEdit(draft: OrderEditDraft!): OrderEdit + updateOrderEdit( + version: Long! + actions: [OrderEditUpdateAction!]! + dryRun: Boolean = false + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - destination: Destination! - messages: [MessageSubscription!]! - changes: [ChangeSubscription!]! - events: [EventSubscription!] - format: NotificationFormat! - status: SubscriptionHealthStatus! - id: String! + ): OrderEdit + deleteOrderEdit( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type CommercetoolsSubscriptionQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [CommercetoolsSubscription!]! -} - -type ConfluentCloudDestination implements Destination { - bootstrapServer: String! - apiKey: String! - apiSecret: String! - acks: String! - topic: String! + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - type: String! -} - -type CountOnCustomLineItemUnits implements PatternComponent { - predicate: String! - minCount: Int - maxCount: Int - excludeCount: Int @deprecated(reason: "Please use 'triggerPattern' to exclude.") - type: String! -} - -type CountOnLineItemUnits implements PatternComponent { - predicate: String! - minCount: Int - maxCount: Int - excludeCount: Int - type: String! -} - -type Counter implements SkipConfiguration { - totalToSkip: Int! - skipped: Int! - lastSkippedAt: DateTime - type: String! -} - -type CustomFieldsCommand { - typeId: String - typeKey: String - fields: Json! - typeResId: ResourceIdentifier -} - -type CustomFieldsType { - typeRef: Reference! - type: TypeDefinition - """This field contains non-typed data.""" - customFieldsRaw( + ): OrderEdit + createShoppingList( + draft: ShoppingListDraft! """ - The names of the custom fields to include. - - If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - includeNames: [String!] + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + ): ShoppingList + updateShoppingList( + version: Long! + actions: [ShoppingListUpdateAction!]! """ - The names of the custom fields to exclude. - - If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - excludeNames: [String!] - ): [RawCustomField!] -} - -""" -A custom line item is a generic item that can be added to the cart but is not bound to a product. You can use it for discounts (negative money), vouchers, complex cart rules, additional services or fees. You control the lifecycle of this item. -""" -type CustomLineItem { - id: String! + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - name( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale + ): ShoppingList + deleteShoppingList( + version: Long! + personalDataErasure: Boolean = false """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!]! - money: BaseMoney! - totalPrice: Money! - slug: String! - quantity: Long! - state: [ItemState!]! - taxCategory: TaxCategory - taxCategoryRef: Reference - taxRate: TaxRate - taxedPrice: TaxedItemPrice - taxedPricePortions: [MethodTaxedPrice!]! - perMethodTaxRate: [MethodTaxRate!]! - discountedPricePerQuantity: [DiscountedLineItemPriceForQuantity!]! - custom: CustomFieldsType - shippingDetails: ItemShippingDetails - priceMode: CustomLineItemPriceMode! - recurrenceInfo: CustomLineItemRecurrenceInfo -} - -type CustomLineItemDraftOutput { + storeKey: KeyReferenceInput + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - money: BaseMoney! - slug: String! - externalTaxRate: ExternalTaxRateDraftOutput - quantity: Long - custom: CustomFieldsCommand - shippingDetails: ItemShippingDetailsDraftOutput - priceMode: CustomLineItemPriceMode! - name( - """ - String is defined for different locales. This argument specifies the desired locale. + ): ShoppingList """ - locale: Locale + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + createMyShoppingList( + draft: MyShoppingListDraft! """ - List of languages the client is able to understand, and which locale variant is preferred. + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. """ - acceptLanguage: [Locale!] - ): String - taxCategoryResId: ResourceIdentifier - nameAllLocales: [LocalizedString!]! - recurrenceInfo: CustomLineItemRecurrenceInfoDraft -} - -"""The RecurrenceInfo returned in a CustomLineItem""" -type CustomLineItemRecurrenceInfo { - recurrencePolicy: RecurrencePolicy - recurrencePolicyRef: RecurrencePolicyRef! - expiresAt: DateTime -} - -""" -The CustomLineItemRecurrenceInfoDraft is used to create a RecurringOrder -""" -type CustomLineItemRecurrenceInfoDraft { - recurrencePolicyRef: RecurrencePolicyReferenceIdentifier - expiresAt: DateTime -} - -type CustomLineItemReturnItem implements ReturnItem { - type: String! - customLineItemId: String! - id: String! - key: String - quantity: Long! - comment: String - shipmentState: ReturnShipmentState! - paymentState: ReturnPaymentState! - custom: CustomFieldsType - lastModifiedAt: DateTime! - createdAt: DateTime! -} - -type CustomLineItemStateTransition implements MessagePayload & OrderMessagePayload { - customLineItemId: String! - customLineItemKey: String - transitionDate: DateTime! - quantity: Long! - fromState: State - toState: State - fromStateRef: Reference! - toStateRef: Reference! - type: String! -} - -type CustomLineItemsTarget implements CartDiscountTarget { - predicate: String! - type: String! -} - -type CustomObject implements Versioned & ReferenceExpandable { - container: String! - key: String! - value: Json! + storeKey: KeyReferenceInput + ): ShoppingList """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - referencedResources(expand: [String!]): [ReferencedResource!] - id: String! + updateMyShoppingList( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type CustomObjectLimitWithCurrent implements LimitWithCurrent { - limit: Long - current: Long! -} - -type CustomObjectLimitsProjection { - total: CustomObjectLimitWithCurrent! -} - -type CustomObjectQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [CustomObject!]! -} - -type CustomSuggestTokenizer implements SuggestTokenizer { - inputs: [String!]! - type: String! -} - -type CustomSuggestTokenizerProductSearch implements SuggestTokenizerProductSearch { - inputs: [String!]! - type: String! -} - -type CustomerAddressAdded implements MessagePayload { - address: Address! - type: String! -} - -type CustomerAddressChanged implements MessagePayload { - address: Address! - addressRoles: [AddressRole!]! - type: String! -} - -type CustomerAddressCustomFieldAdded implements MessagePayload { - name: String! - value: Json! - addressId: String! - type: String! -} - -type CustomerAddressCustomFieldChanged implements MessagePayload { - name: String! - value: Json! - previousValue: Json - addressId: String! - type: String! -} - -type CustomerAddressCustomFieldRemoved implements MessagePayload { - name: String! - addressId: String! - type: String! -} - -type CustomerAddressCustomTypeRemoved implements MessagePayload { - previousTypeId: String - addressId: String! - type: String! -} - -type CustomerAddressCustomTypeSet implements MessagePayload { - customFields: CustomFieldsType! - previousTypeId: String - addressId: String! - type: String! -} - -type CustomerAddressRemoved implements MessagePayload { - address: Address! - addressRoles: [AddressRole!]! - type: String! -} - -type CustomerBillingAddressAdded implements MessagePayload { - address: Address! - type: String! -} - -type CustomerBillingAddressRemoved implements MessagePayload { - address: Address! - type: String! -} - -type CustomerCompanyNameSet implements MessagePayload { - companyName: String - type: String! -} - -type CustomerCreated implements MessagePayload { - customer: Customer! - type: String! -} - -type CustomerCustomFieldAdded implements MessagePayload { - name: String! - value: Json! - type: String! -} - -type CustomerCustomFieldChanged implements MessagePayload { - name: String! - value: Json! - previousValue: Json - type: String! -} - -type CustomerCustomFieldRemoved implements MessagePayload { - name: String! - type: String! -} - -type CustomerCustomTypeRemoved implements MessagePayload { - previousTypeId: String - type: String! -} - -type CustomerCustomTypeSet implements MessagePayload { - customFields: CustomFieldsType! - previousTypeId: String - type: String! -} - -type CustomerDateOfBirthSet implements MessagePayload { - dateOfBirth: Date - type: String! -} - -type CustomerDefaultBillingAddressSet implements MessagePayload { - address: Address - type: String! -} - -type CustomerDefaultShippingAddressSet implements MessagePayload { - address: Address - type: String! -} - -type CustomerDeleted implements MessagePayload { - email: String - type: String! -} - -type CustomerEmailChanged implements MessagePayload { - email: String! - oldEmail: String! - type: String! -} - -type CustomerEmailToken implements Versioned { - customerId: String! - expiresAt: DateTime! - value: String! - invalidateOlderTokens: Boolean! - id: String! + actions: [MyShoppingListUpdateAction!]! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): ShoppingList + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + deleteMyShoppingList( + version: Long! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): ShoppingList + createPayment(draft: PaymentDraft!): Payment + updatePayment( + version: Long! + actions: [PaymentUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Payment + deletePayment( + version: Long! + personalDataErasure: Boolean = false + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Payment + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + createMyPayment(draft: MyPaymentDraft!): MyPayment + updateMyPayment(id: String!, version: Long!, actions: [MyPaymentUpdateAction!]!): MyPayment + deleteMyPayment(id: String!, version: Long!): MyPayment + createProductSelection(draft: CreateProductSelectionDraft!): ProductSelection + updateProductSelection(version: Long!, actions: [ProductSelectionUpdateAction!]!, """Queries with specified ID""" + id: String, """Queries with specified key""" + key: String): ProductSelection + deleteProductSelection( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): ProductSelection + createProductTailoring( + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + draft: ProductTailoringDraft! + ): ProductTailoring + updateProductTailoring( + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified Product ID""" + productId: String + """Queries with specified Product key""" + productKey: String + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + actions: [ProductTailoringUpdateAction!]! + version: Long! + ): ProductTailoring + deleteProductTailoring( + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified Product ID""" + productId: String + """Queries with specified Product key""" + productKey: String + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + version: Long! + ): ProductTailoring + updateProject(version: Long!, actions: [ProjectSettingsUpdateAction!]!): ProjectProjection + createStore(draft: CreateStore!): Store + updateStore( + version: Long! + actions: [StoreUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Store + deleteStore( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Store + createReview(draft: ReviewDraft!): Review + updateReview( + version: Long! + actions: [ReviewUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Review + deleteReview( + version: Long! + personalDataErasure: Boolean = false + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Review + createSubscription(draft: SubscriptionDraft!): CommercetoolsSubscription + updateSubscription( + version: Long! + actions: [SubscriptionUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): CommercetoolsSubscription + deleteSubscription( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): CommercetoolsSubscription + createExtension(draft: ExtensionDraft!): Extension + updateExtension( + version: Long! + actions: [ExtensionUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Extension + deleteExtension( + version: Long! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Extension + createApiClient(draft: CreateApiClient!): APIClientWithSecret + deleteApiClient(id: String!): APIClientWithoutSecret + createStandalonePrice(draft: CreateStandalonePrice!): StandalonePrice + updateStandalonePrice( + version: Long! + actions: [StandalonePriceUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): StandalonePrice + deleteStandalonePrice( version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator -} - -type CustomerEmailTokenCreated implements MessagePayload { - customerId: String! - value: String - invalidateOlderTokens: Boolean! - expiresAt: DateTime! - type: String! -} - -type CustomerEmailVerified implements MessagePayload { - type: String! -} - -type CustomerExternalIdSet implements MessagePayload { - externalId: String - type: String! -} - -type CustomerFirstNameSet implements MessagePayload { - firstName: String - type: String! -} - -""" -A customer can be a member in a customer group (e.g. reseller, gold member). A customer group can be used in price calculations with special prices being assigned to certain customer groups. -""" -type CustomerGroup implements Versioned & ReferenceExpandable { + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): StandalonePrice + createQuoteRequest( + draft: QuoteRequestDraft! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + ): QuoteRequest + updateQuoteRequest( + version: Long! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + actions: [QuoteRequestUpdateAction!]! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): QuoteRequest + deleteQuoteRequest( + version: Long! + personalDataErasure: Boolean = false + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): QuoteRequest + createMyQuoteRequest(draft: MyQuoteRequestDraft!): QuoteRequest + updateMyQuoteRequest( + version: Long! + actions: [MyQuoteRequestUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): QuoteRequest + createStagedQuote( + draft: StagedQuoteDraft! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + ): StagedQuote + updateStagedQuote( + version: Long! + actions: [StagedQuoteUpdateAction!]! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): StagedQuote + deleteStagedQuote( + version: Long! + personalDataErasure: Boolean = false + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): StagedQuote + createQuote( + draft: QuoteDraft! + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + ): Quote + updateQuote( + version: Long! + actions: [QuoteUpdateAction!]! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Quote + deleteQuote( + version: Long! + personalDataErasure: Boolean = false + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Quote + updateMyQuote( + version: Long! + actions: [MyQuoteUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): Quote + createApprovalRule( + draft: ApprovalRuleDraft! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument! + ): ApprovalRule + updateApprovalRule( + version: Long! + actions: [ApprovalRuleUpdateAction!]! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): ApprovalRule + updateApprovalFlow( + version: Long! + actions: [ApprovalFlowUpdateAction!]! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument! id: String! + ): ApprovalFlow + createBusinessUnit( + draft: BusinessUnitDraft! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + ): BusinessUnit + updateBusinessUnit( + version: Long! + actions: [BusinessUnitUpdateAction!]! + """Create/modify entity as an associate in business-unit.""" + asAssociate: AsAssociateArgument + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): BusinessUnit + deleteBusinessUnit( + version: Long! + personalDataErasure: Boolean = false + """ + The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + """ + storeKey: KeyReferenceInput + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): BusinessUnit + createMyBusinessUnit(draft: MyBusinessUnitDraft!): BusinessUnit + updateMyBusinessUnit( + version: Long! + actions: [MyBusinessUnitUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): BusinessUnit + createAssociateRole(draft: AssociateRoleDraft!): AssociateRole + updateAssociateRole( + version: Long! + actions: [AssociateRoleUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): AssociateRole + deleteAssociateRole( + version: Long! + personalDataErasure: Boolean = false + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): AssociateRole + createRecurringOrder(draft: RecurringOrderDraft!): RecurringOrder + updateRecurringOrder( + version: Long! + actions: [RecurringOrderUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): RecurringOrder + deleteRecurringOrder( + version: Long! + personalDataErasure: Boolean = false + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): RecurringOrder + createRecurrencePolicy(draft: RecurrencePolicyDraft!): RecurrencePolicy + updateRecurrencePolicy( version: Long! - name: String! + actions: [RecurrencePolicyUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" key: String - createdAt: DateTime! - lastModifiedAt: DateTime! - custom: CustomFieldsType - createdBy: Initiator - lastModifiedBy: Initiator -} - -type CustomerGroupAssignment { - customerGroupRef: Reference - customerGroup: CustomerGroup -} - -type CustomerGroupAssignmentAdded implements MessagePayload { - customerGroupAssignment: CustomerGroupAssignment! - type: String! -} - -type CustomerGroupAssignmentRemoved implements MessagePayload { - customerGroupAssignment: CustomerGroupAssignment! - type: String! -} - -type CustomerGroupAssignmentsSet implements MessagePayload { - customerGroupAssignments: [CustomerGroupAssignment!]! - oldCustomerGroupAssignments: [CustomerGroupAssignment!]! - type: String! -} - -type CustomerGroupCustomFieldAdded implements MessagePayload { - name: String! - value: Json! - type: String! -} - -type CustomerGroupCustomFieldChanged implements MessagePayload { - name: String! - value: Json! - oldValue: Json - type: String! -} - -type CustomerGroupCustomFieldRemoved implements MessagePayload { - name: String! - type: String! -} - -type CustomerGroupCustomTypeRemoved implements MessagePayload { - oldTypeId: String - type: String! -} - -type CustomerGroupCustomTypeSet implements MessagePayload { - customFields: CustomFieldsType! - oldTypeId: String - type: String! -} - -type CustomerGroupLimitWithCurrent implements LimitWithCurrent { - limit: Long - current: Long! -} - -type CustomerGroupLimitsProjection { - total: CustomerGroupLimitWithCurrent! -} - -type CustomerGroupQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [CustomerGroup!]! -} - -type CustomerGroupReferenceIdentifier { - typeId: String! + ): RecurrencePolicy + deleteRecurrencePolicy( + version: Long! + """Queries with specified ID""" id: String + """Queries with specified key""" key: String + ): RecurrencePolicy + createPaymentMethod(draft: PaymentMethodDraft!): PaymentMethod + updatePaymentMethod( + version: Long! + actions: [PaymentMethodUpdateAction!]! + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): PaymentMethod + deletePaymentMethod( + version: Long! + personalDataErasure: Boolean = false + """Queries with specified ID""" + id: String + """Queries with specified key""" + key: String + ): PaymentMethod } -type CustomerGroupSet implements MessagePayload { - customerGroup: CustomerGroup - customerGroupRef: Reference - type: String! -} - -type CustomerLastNameSet implements MessagePayload { - lastName: String - type: String! -} - -type CustomerLimitWithCurrent implements LimitWithCurrent { - limit: Long - current: Long! -} - -type CustomerLimitsProjection { - maxGroupsPerCustomer: Limit! - total: CustomerLimitWithCurrent! -} - -type CustomerPasswordToken implements Versioned { - customerId: String! - expiresAt: DateTime! - value: String! - invalidateOlderTokens: Boolean! +type McpServer { id: String! version: Long! + key: String! + """ + Localized name. Pass `locale` for a single-locale read, or + `acceptLanguage` to try each locale in order and return the first match. + Returns null when the resource has no name or no matching locale. + """ + name(locale: Locale, acceptLanguage: [Locale!]): String + """All locale entries of `name` as (locale, value) pairs.""" + nameAllLocales: [LocalizedString!]! + """Localized description. Same resolution semantics as `name`.""" + description(locale: Locale, acceptLanguage: [Locale!]): String + """All locale entries of `description` as (locale, value) pairs.""" + descriptionAllLocales: [LocalizedString!]! + authenticationMode: McpServerAuthenticationMode! + state: McpServerState! createdAt: DateTime! lastModifiedAt: DateTime! + versionModifiedAt: DateTime! createdBy: Initiator lastModifiedBy: Initiator + mcpServer: McpServerConfig! } - -type CustomerPasswordTokenCreated implements MessagePayload { - customerId: String! - value: String - invalidateOlderTokens: Boolean! - expiresAt: DateTime! - type: String! -} - -type CustomerPasswordUpdated implements MessagePayload { - reset: Boolean! - type: String! -} - -type CustomerQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [Customer!]! -} - -type CustomerSearchConfiguration { - status: CustomerSearchStatus! - lastModifiedBy: Initiator - lastModifiedAt: DateTime! -} - -type CustomerShippingAddressAdded implements MessagePayload { - address: Address! - type: String! -} - -type CustomerShippingAddressRemoved implements MessagePayload { - address: Address! - type: String! -} - -type CustomerSignInResult { - customer: Customer! - cart: Cart -} - -type CustomerStoresSet implements MessagePayload { - stores: [Store!]! - oldStores: [Store!]! - storesRef: [KeyReference!]! - oldStoresRef: [KeyReference!]! - type: String! -} - -type CustomerTitleSet implements MessagePayload { - title: String - type: String! -} - -type DateAttribute implements Attribute { - value: Date! - name: String! -} - -type DateAttributeDefinitionType implements AttributeDefinitionType { - name: String! -} - -type DateField implements CustomField { - value: Date! - name: String! -} - -type DateTimeAttribute implements Attribute { - value: DateTime! - name: String! -} - -type DateTimeAttributeDefinitionType implements AttributeDefinitionType { - name: String! -} - -type DateTimeField implements CustomField { - value: DateTime! - name: String! -} - -type DateTimeType implements FieldType { - name: String! -} - -type DateType implements FieldType { - name: String! -} - -type DayOfMonthSchedule implements RecurrencePolicySchedule { - day: Int! - type: String! -} - -type Delivery { - id: String! - key: String - createdAt: DateTime! - items: [DeliveryItem!]! - parcels: [Parcel!]! - address: Address - custom: CustomFieldsType -} - -type DeliveryAdded implements MessagePayload & OrderMessagePayload { - delivery: Delivery! - shippingKey: String - type: String! -} - -type DeliveryAddressSet implements MessagePayload & OrderMessagePayload { - deliveryId: String! - address: Address - oldAddress: Address - shippingKey: String - type: String! + +""" +One match group for `McpServerJsonOutputFiltering`. Selects fields three ways, +each with a fixed case-sensitivity rule: +`fieldPaths` (exact dotted path, e.g. `customer.password`) and `fieldNames` +(exact name at any depth, e.g. `password`) match **case-sensitively**; +`fieldNameContains` (substring of a field name at any depth, e.g. `secret`) +matches **case-insensitively** to widen the net for the fuzzy matcher. +All optional. +""" +type McpServerJsonOutputFilteringMatcher { + fieldPaths: [String!] + fieldNames: [String!] + fieldNameContains: [String!] } -type DeliveryCustomFieldAdded implements MessagePayload & OrderMessagePayload { - name: String! - value: Json! - deliveryId: String! - type: String! +""" +Response field-filtering rules the gateway applies to `tools/call` results. +`redact` replaces matched values with a placeholder; `drop` removes matched +fields; `fieldPathsToKeep` exempts exact paths from both; `redactedWith` +overrides the redaction placeholder. +""" +type McpServerJsonOutputFiltering { + redact: McpServerJsonOutputFilteringMatcher + drop: McpServerJsonOutputFilteringMatcher + fieldPathsToKeep: [String!] + redactedWith: String } -type DeliveryCustomFieldChanged implements MessagePayload & OrderMessagePayload { - name: String! - value: Json! - previousValue: Json - deliveryId: String! - type: String! +type CommerceMcpServerConfig implements McpServerConfig { + type: McpServerType! + majorVersion: String! + url: String! + tools: [String!]! + toolCustomizations: [ToolCustomization!]! + jsonOutputFiltering: McpServerJsonOutputFiltering + toolOutputFormatting: McpServerToolOutputFormatting } -type DeliveryCustomFieldRemoved implements MessagePayload & OrderMessagePayload { - name: String! - deliveryId: String! - type: String! +""" +Customization applied to a single tool at `tools/list` and `tools/call` +time. At least one of `description` or a non-empty `parameters` list MUST +be present; a customization with neither has no effect and is rejected at +write time. Parameter names within `parameters` MUST be unique. +""" +type ToolCustomization { + tool: String! + description: String + parameters: [ParameterOverride!]! } -type DeliveryCustomTypeRemoved implements MessagePayload & OrderMessagePayload { - deliveryId: String! - previousTypeId: String - type: String! +""" +Override applied to a single parameter of a tool's input schema. At least +one of `description`, `const`, `default`, or `enum` MUST be present. +`const` is mutually exclusive with both `default` and `enum`. +""" +type ParameterOverride { + name: String! + description: String + """ + Pins the parameter to a fixed value. Mutually exclusive with `default` and `enum`. + """ + const: JsonPrimitive + """ + Default value applied when the caller omits the parameter. Mutually exclusive with `const`. + """ + default: JsonPrimitive + """ + Restricts accepted values to this set. Mutually exclusive with `const`. + """ + enum: [JsonPrimitive!] } -type DeliveryCustomTypeSet implements MessagePayload & OrderMessagePayload { - customFields: CustomFieldsType! - previousTypeId: String - deliveryId: String! - type: String! +type McpServerTypeCatalogEntry { + type: McpServerType! + majorVersion: String! + tools: [McpServerCatalogTool!]! } -type DeliveryItem { - id: String! - quantity: Long! +type McpServerCatalogTool { + name: String! + description: String + operationType: McpToolOperationType! + groups: [String!]! } -type DeliveryItemsUpdated implements MessagePayload & OrderMessagePayload { - deliveryId: String! - items: [DeliveryItem!]! - oldItems: [DeliveryItem!]! - shippingKey: String - type: String! +type Product implements Versioned & ReviewTarget & ReferenceExpandable { + id: String! + key: String + version: Long! + productTypeRef: Reference! + productType: ProductTypeDefinition + masterData: ProductCatalogData! + skus: [String!]! + createdAt: DateTime! + lastModifiedAt: DateTime! + stateRef: Reference + state: State + priceMode: PriceMode + taxCategoryRef: Reference + taxCategory: TaxCategory + reviewRatingStatistics: ReviewRatingStatistics + productSelectionRefs(where: String, sort: [String!], limit: Int, offset: Int): SelectionOfProductQueryResult! + createdBy: Initiator + lastModifiedBy: Initiator } -type DeliveryRemoved implements MessagePayload & OrderMessagePayload { - delivery: Delivery! - shippingKey: String - type: String! +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type ProductPagedSearchResponse { + total: Long! + offset: Int + limit: Int + results: [ProductSearchResult!]! + facets: [ProductSearchFacetResult!]! } -type Dimensions { - width: Int! - height: Int! +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type ProductSearchFacetResultBucket implements ProductSearchFacetResult { + name: String! + buckets: [ProductSearchFacetResultBucketEntry!]! } -type DimensionsProductSearch { - width: Int! - height: Int! +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type ProductSearchFacetResultBucketEntry { + key: String! + count: Int! } -type DirectDiscount { - id: String! - value: CartDiscountValue! - target: CartDiscountTarget +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type ProductSearchFacetResultCount implements ProductSearchFacetResult { + name: String! + value: Long! } -type DirectDiscountDraftOutput { - value: CartDiscountValue! - target: CartDiscountTarget +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type ProductSearchFacetResultStats implements ProductSearchFacetResult { + name: String! + min: Json + max: Json + mean: Json + sum: Json + count: Long! } """ -With discount codes it is possible to give specific cart discounts to an eligible amount of users. They are defined by a string value which can be added to a cart so that specific cart discounts can be applied to the cart. +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ -type DiscountCode implements Versioned & ReferenceExpandable { - code: String! - key: String - isActive: Boolean! - maxApplications: Long - maxApplicationsPerCustomer: Long - cartPredicate: String - applicationVersion: Long - groups: [String!]! - name( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - description( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale +type ProductSearchResult { + id: String! + product(localesProjection: [String!], storeProjection: String): Product! +} + +type BusinessUnit implements Versioned & ReferenceExpandable { + id: String! + key: String! + name: String! + contactEmail: String + addresses: [Address!]! + defaultShippingAddress: Address + defaultBillingAddress: Address + defaultShippingAddressId: String + defaultBillingAddressId: String + shippingAddresses: [Address!]! + billingAddresses: [Address!]! + shippingAddressIds: [String!]! + billingAddressIds: [String!]! + status: BusinessUnitStatus! + storesRef: [KeyReference!] + stores: [Store!] + storeMode: String + unitType: BusinessUnitType! + associates: [Associate!]! + associateMode: BusinessUnitAssociateMode! + inheritedAssociates: [InheritedAssociate!] + custom: CustomFieldsType + parentUnitRef: KeyReference + parentUnit: BusinessUnit """ - List of languages the client is able to understand, and which locale variant is preferred. + This field contains the BusinessUnits KeyReferences from the Company to the parent Division of this BusinessUnit in that order. + """ + ancestors: [BusinessUnit!]! """ - acceptLanguage: [Locale!] - ): String - cartDiscounts: [CartDiscount!]! - validFrom: DateTime - validUntil: DateTime - referenceRefs: [Reference!]! - nameAllLocales: [LocalizedString!] - descriptionAllLocales: [LocalizedString!] - custom: CustomFieldsType + This field contains the inherited stores from its parentUnit if storeMode is set to FromParent. + """ + inheritedStores: [InheritedStore!] + topLevelUnitRef: KeyReference + topLevelUnit: BusinessUnit! + approvalRuleMode: BusinessUnitApprovalRuleMode! """ - How many times this discount code was applied (only applications that were part of a successful checkout are considered) + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - applicationCount: Long! - cartDiscountRefs: [Reference!]! - id: String! + customerGroupAssignments: [CustomerGroupAssignment!] version: Long! createdAt: DateTime! lastModifiedAt: DateTime! @@ -2789,240 +1840,263 @@ type DiscountCode implements Versioned & ReferenceExpandable { lastModifiedBy: Initiator } -type DiscountCodeCreated implements MessagePayload { - discountCode: DiscountCode! - type: String! -} - -type DiscountCodeDeleted implements MessagePayload { - type: String! +""" +A customer is a person purchasing products. Carts, Orders and Reviews can be associated to a customer. +""" +type Customer implements Versioned & ReferenceExpandable { + id: String! + customerNumber: String + email: String! + addresses: [Address!]! + defaultShippingAddressId: String + defaultBillingAddressId: String + shippingAddressIds: [String!]! + billingAddressIds: [String!]! + isEmailVerified: Boolean! + customerGroupRef: Reference + externalId: String + key: String + authenticationMode: AuthenticationMode + firstName: String + lastName: String + middleName: String + title: String + locale: Locale + salutation: String + dateOfBirth: Date + companyName: String + vatId: String + password: String + customerGroup: CustomerGroup + defaultShippingAddress: Address + defaultBillingAddress: Address + shippingAddresses: [Address!]! + billingAddresses: [Address!]! + storesRef: [KeyReference!]! + stores: [Store!]! + customerGroupAssignments: [CustomerGroupAssignment!]! + custom: CustomFieldsType + version: Long! + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator } -type DiscountCodeInfo { - discountCodeRef: Reference! - state: DiscountCodeState - discountCode: DiscountCode +""" +API Clients can be used to obtain OAuth 2 access tokens. The secret is only shown once in the response of creating the API Client. +""" +type APIClientWithSecret { + id: String! + name: String! + scope: String! + createdAt: DateTime + lastUsedAt: Date + deleteAt: DateTime + secret: String! + accessTokenValiditySeconds: Int + refreshTokenValiditySeconds: Int } -type DiscountCodeKeySet implements MessagePayload { - key: String - oldKey: String - type: String! +"""API Clients can be used to obtain OAuth 2 access tokens""" +type APIClientWithoutSecret { + id: String! + name: String! + scope: String! + createdAt: DateTime + lastUsedAt: Date + deleteAt: DateTime + accessTokenValiditySeconds: Int + refreshTokenValiditySeconds: Int } -type DiscountCodeQueryResult { +type APIClientWithoutSecretQueryResult { offset: Int! count: Int! total: Long! exists: Boolean! - results: [DiscountCode!]! -} - -"""Allowing to group discounts.""" -type DiscountGroup implements Versioned { - id: String! - version: Long! - key: String! - sortOrder: String! - isActive: Boolean! - name( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!] - description( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - descriptionAllLocales: [LocalizedString!] - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator + results: [APIClientWithoutSecret!]! } -type DiscountGroupCreated implements MessagePayload { - discountGroup: DiscountGroup! +type AWSLambdaDestination implements ExtensionDestination { + arn: String! + accessKey: String! + accessSecret: String! type: String! } -type DiscountGroupDeleted implements MessagePayload { - discountGroupId: String! +type Absolute implements AllocationInterface { + amount: HighPrecisionMoney! type: String! } -type DiscountGroupIsActiveSet implements MessagePayload { - isActive: Boolean! - discountGroupId: String! +type AbsoluteCartDiscountValue implements CartDiscountValue { + money: [Money!]! + applicationMode: DiscountApplicationMode! type: String! } -type DiscountGroupKeySet implements MessagePayload { - key: String! - discountGroupId: String! - oldKey: String +type AbsoluteDiscountValue implements CartDiscountValue & ProductDiscountValue { + money: [Money!]! type: String! } -type DiscountGroupLimitWithCurrent implements LimitWithCurrent { - limit: Long - current: Long! -} - -type DiscountGroupLimitsProjection { - totalActive: DiscountGroupLimitWithCurrent! -} - -type DiscountGroupQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [DiscountGroup!]! -} - -type DiscountGroupSortOrderSet implements MessagePayload { - sortOrder: String! - discountGroupId: String! - oldSortOrder: String +type AddStagedOrderCustomLineItemOutput implements StagedOrderUpdateActionOutput { type: String! + draft: CustomLineItemDraftOutput! } -type DiscountOnTotalPrice { - discountedAmount: BaseMoney! - includedDiscounts: [DiscountedTotalPricePortion!]! - discountedNetAmount: BaseMoney - discountedGrossAmount: BaseMoney -} - -type DiscountedLineItemPortion { - discount: CartDiscount - discountRef: Reference! - discountedAmount: BaseMoney! -} - -type DiscountedLineItemPrice { - value: BaseMoney! - includedDiscounts: [DiscountedLineItemPortion!]! +type AddStagedOrderDeliveryOutput implements StagedOrderUpdateActionOutput { + type: String! + deliveryKey: String + items: [DeliveryItem!]! + parcels: [ParcelData!]! + address: AddressDraft + custom: CustomFieldsCommand + shippingKey: String } -type DiscountedLineItemPriceForQuantity { - quantity: Long! - discountedPrice: DiscountedLineItemPrice! +type AddStagedOrderDiscountCodeOutput implements StagedOrderUpdateActionOutput { + type: String! + code: String! + validateDuplicates: Boolean! } -type DiscountedProductPriceValue { - value: BaseMoney! - discountRef: Reference! - discount: ProductDiscount +type AddStagedOrderItemShippingAddressOutput implements StagedOrderUpdateActionOutput { + type: String! + address: AddressDraft! } -type DiscountedProductSearchPriceValue { - value: BaseMoney! - discountRef: Reference! - discount: ProductDiscount +type AddStagedOrderLineItemOutput implements StagedOrderUpdateActionOutput { + type: String! + draft: LineItemDraftOutput! } -type DiscountedTotalPricePortion { - discount: CartDiscount - discountRef: Reference! - discountedAmount: BaseMoney! +type AddStagedOrderParcelToDeliveryOutput implements StagedOrderUpdateActionOutput { + type: String! + deliveryId: String + deliveryKey: String + parcelKey: String + measurements: ParcelMeasurements + trackingData: TrackingData + items: [DeliveryItem!]! + custom: CustomFieldsCommand } -type DiscountsConfiguration { - productVsCartDiscountCombination: DiscountCombinationMode - discountCombinationMode: DiscountCombinationMode! +type AddStagedOrderPaymentOutput implements StagedOrderUpdateActionOutput { + type: String! + paymentResId: ResourceIdentifier! } -type EnumAttribute implements Attribute { - key: String! - label: String! - name: String! +type AddStagedOrderReturnInfoOutput implements StagedOrderUpdateActionOutput { + type: String! + items: [ReturnItemDraftTypeOutput!]! + returnDate: DateTime + returnTrackingId: String } -type EnumAttributeDefinitionType implements AttributeDefinitionType { - values( - """ - The keys of the enum values to include. - - If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. - """ - includeKeys: [String!] - """ - The keys of the enum values to exclude. - - If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. - """ - excludeKeys: [String!] - limit: Int - offset: Int - sort: [String!] - ): PlainEnumValueResult! - name: String! +type AddStagedOrderShoppingListOutput implements StagedOrderUpdateActionOutput { + type: String! + shoppingListResId: ResourceIdentifier! + supplyChannelResId: ChannelReferenceIdentifier + distributionChannelResId: ChannelReferenceIdentifier } -type EnumField implements CustomField { - key: String! - name: String! +"""An address represents a postal address.""" +type Address { + id: String + streetName: String + streetNumber: String + additionalStreetInfo: String + postalCode: String + city: String + region: String + state: String + country: Country! + company: String + department: String + building: String + apartment: String + pOBox: String + additionalAddressInfo: String + externalId: String + key: String + phone: String + mobile: String + email: String + fax: String + title: String + salutation: String + firstName: String + lastName: String + custom: CustomFieldsType } -type EnumType implements FieldType { - values: [EnumValue!]! - name: String! +type AddressDraft { + id: String + streetName: String + streetNumber: String + additionalStreetInfo: String + postalCode: String + city: String + region: String + state: String + country: Country! + company: String + department: String + building: String + apartment: String + pOBox: String + additionalAddressInfo: String + externalId: String + key: String + custom: CustomFieldsCommand + phone: String + mobile: String + email: String + fax: String + title: String + salutation: String + firstName: String + lastName: String } -type EnumValue { - key: String! - label: String! +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type AnyOrder implements RecurringOrderScope { + type: RecurringOrderScopeType! } -type EventBridgeDestination implements Destination { - source: String! - region: String! - accountId: String! - type: String! +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type ApplicableRecurrencePolicies implements RecurringOrderScope { + recurrencePolicies: [RecurrencePolicy!]! + type: RecurringOrderScopeType! + recurrencePoliciesRef: [Reference!]! } -type EventGridDestination implements Destination { - uri: String! - accessKey: String! +type Applied implements OrderEditResult { + excerptBeforeEdit: OrderExcerpt! + excerptAfterEdit: OrderExcerpt! type: String! + appliedAt: DateTime! } -type EventSubscription { - resourceTypeId: String! - types: [String!]! -} - -type Extension implements Versioned & ReferenceExpandable { - key: String - destination: ExtensionDestination! - triggers: [Trigger!]! - timeoutInMs: Int - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - dependenciesRef: [Reference!]! - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - additionalContext: ExtensionAdditionalContext - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - expansionPaths: [String!]! +type ApprovalFlow implements Versioned { + status: String! + approvals: [ApprovalFlowApproval!]! + rejection: ApprovalFlowRejection + orderRef: Reference! + order: Order + rules: [ApprovalRule!]! + businessUnitRef: KeyReference! + businessUnit: BusinessUnit! + eligibleApprovers: [RuleApprover!]! + pendingApprovers: [RuleApprover!]! + currentTierPendingApprovers: [RuleApprover!]! + custom: CustomFieldsType id: String! version: Long! createdAt: DateTime! @@ -3031,197 +2105,143 @@ type Extension implements Versioned & ReferenceExpandable { lastModifiedBy: Initiator } -type ExtensionAdditionalContext { - includeOldResource: Boolean! +type ApprovalFlowApproval { + approver: Associate! + approvedAt: DateTime! } -type ExtensionLimitsProjection { - timeoutInMs: Limit! - maxExtensionsUpdateActions: Limit! +type ApprovalFlowApproved implements MessagePayload { + associate: Customer + order: Order + associateRef: Reference + orderRef: Reference + type: String! } -type ExtensionQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [Extension!]! +type ApprovalFlowCompleted implements MessagePayload { + status: String! + order: Order + orderRef: Reference + type: String! } -type ExternalDiscountValue implements ProductDiscountValue { +type ApprovalFlowCreated implements MessagePayload { + approvalFlow: ApprovalFlow! type: String! } -type ExternalLineItemTotalPrice { - price: BaseMoney! - totalPrice: Money! +type ApprovalFlowQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [ApprovalFlow!]! } -type ExternalOAuth { - url: String! - authorizationHeader: String! +type ApprovalFlowRejected implements MessagePayload { + rejectionReason: String + associate: Customer + order: Order + associateRef: Reference + orderRef: Reference + type: String! } -type ExternalTaxAmountDraftOutput { - totalGross: Money! - taxRate: ExternalTaxRateDraftOutput! +type ApprovalFlowRejection { + rejecter: Associate! + rejectedAt: DateTime! + reason: String } -type ExternalTaxRateDraftOutput { +type ApprovalRule implements Versioned { + key: String name: String! - amount: Float - country: Country! - state: String - subRates: [SubRate!]! - includedInPrice: Boolean! -} - -type FacetResultValue { - facet: String! - value: FacetResult! + description: String + status: ApprovalRuleStatus! + predicate: String! + approvers: ApproverHierarchy! + requesters: [RuleRequester!]! + businessUnitRef: KeyReference! + businessUnit: BusinessUnit! + custom: CustomFieldsType + id: String! + version: Long! + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator } -""" -Field definitions describe custom fields and allow you to define some meta-information associated with the field. -""" -type FieldDefinition { - name: String! - required: Boolean! - inputHint: TextInputHint! - label( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - labelAllLocales: [LocalizedString!]! - type: FieldType! +type ApprovalRuleApproversSet implements MessagePayload { + oldApprovers: ApproverHierarchy! + approvers: ApproverHierarchy! + type: String! } -type FixedPriceCartDiscountValue implements CartDiscountValue { +type ApprovalRuleCreated implements MessagePayload { + approvalRule: ApprovalRule! type: String! - money: [BaseMoney!]! - applicationMode: DiscountApplicationMode! } -type FixedPriceDiscountValue implements CartDiscountValue { +type ApprovalRuleDescriptionSet implements MessagePayload { + oldDescription: String + description: String type: String! - money: [BaseMoney!]! } -type GiftLineItemValue implements CartDiscountValue { +type ApprovalRuleKeySet implements MessagePayload { + oldKey: String + key: String type: String! - variantId: Int! - productRef: ProductReferenceIdentifier! - distributionChannelRef: ChannelReferenceIdentifier - supplyChannelRef: ChannelReferenceIdentifier } -type GoogleCloudFunctionDestination implements ExtensionDestination { - url: String! +type ApprovalRuleNameSet implements MessagePayload { + oldName: String! + name: String! type: String! } -type GoogleCloudPubSubDestination implements Destination { - projectId: String! - topic: String! +type ApprovalRulePredicateSet implements MessagePayload { + oldPredicate: String! + predicate: String! type: String! } -type HighPrecisionMoney implements BaseMoney { - type: String! - currencyCode: Currency! - preciseAmount: Long! - centAmount: Long! - fractionDigits: Int! +type ApprovalRuleQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [ApprovalRule!]! } -type HttpDestination implements ExtensionDestination { +type ApprovalRuleRequestersSet implements MessagePayload { + oldRequesters: [RuleRequester!]! + requesters: [RuleRequester!]! type: String! - url: String! - authentication: HttpDestinationAuthentication } -type Image { - url: String! - dimensions: Dimensions! - label: String +type ApprovalRuleStatusSet implements MessagePayload { + oldStatus: ApprovalRuleStatus! + status: ApprovalRuleStatus! + type: String! } -type ImageProductSearch { - url: String! - dimensions: DimensionsProductSearch! - label: String +type ApproverConjunction { + and: [ApproverDisjunction!]! } -type ImportStagedOrderCustomLineItemStateOutput implements StagedOrderUpdateActionOutput { - type: String! - customLineItemId: String - customLineItemKey: String - state: Set! +type ApproverDisjunction { + or: [RuleApprover!]! } - -type ImportStagedOrderLineItemStateOutput implements StagedOrderUpdateActionOutput { - type: String! - lineItemId: String - lineItemKey: String - state: Set! + +type ApproverHierarchy { + tiers: [ApproverConjunction!]! } -type InStore implements CartDiscountQueryInterface & CartQueryInterface & CustomerActiveCartInterface & OrderQueryInterface & CustomerQueryInterface & ShippingMethodsByCartInterface & MeFieldInterface { - """ - This field can only be used with an access token created with the password flow or with an anonymous session. - - It gives access to the data that is specific to the customer or the anonymous session linked to the access token. - """ - me: InStoreMe! - shippingMethodsByCart(id: String!): [ShippingMethod!]! - cartDiscount( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): CartDiscount - cartDiscounts(where: String, sort: [String!], limit: Int, offset: Int): CartDiscountQueryResult! - discountCode( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): DiscountCode - discountCodes(where: String, sort: [String!], limit: Int, offset: Int): DiscountCodeQueryResult! - product( - projectExpandedProducts: Boolean = false - localeProjection: [Locale!] - """Queries for a product with specified SKU""" - sku: String - """ - Queries for a [Product](https://docs.commercetools.com/api/projects/products#product) with specified [ProductVariant](https://docs.commercetools.com/api/projects/products#productvariant) `key` - """ - variantKey: String - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Product - customer( - """Queries a customer with specified email token""" - emailToken: String - """Queries a customer with specified password token""" - passwordToken: String - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Customer - customers(where: String, sort: [String!], limit: Int, offset: Int): CustomerQueryResult! +type AsAssociate implements CartQueryInterface & OrderQueryInterface & QuoteQueryInterface & QuoteRequestQueryInterface & ShoppingListQueryInterface { cart(id: String!): Cart carts(where: String, sort: [String!], limit: Int, offset: Int): CartQueryResult! - customerActiveCart(customerId: String!): Cart order( """Queries with specified ID""" id: String @@ -3235,18 +2255,6 @@ type InStore implements CartDiscountQueryInterface & CartQueryInterface & Custom key: String ): ShoppingList shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult! - productSelectionAssignments(where: String, sort: [String!], limit: Int, offset: Int): ProductAssignmentQueryResult! - productTailoring( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - """Queries with specified Product ID""" - productId: String - """Queries with specified Product key""" - productKey: String - ): ProductTailoring - productTailoringList(where: String, sort: [String!], limit: Int, offset: Int): ProductTailoringQueryResult! quoteRequest( """Queries with specified ID""" id: String @@ -3254,20 +2262,22 @@ type InStore implements CartDiscountQueryInterface & CartQueryInterface & Custom key: String ): QuoteRequest quoteRequests(where: String, sort: [String!], limit: Int, offset: Int): QuoteRequestQueryResult! - stagedQuote( + quote( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): StagedQuote - stagedQuotes(where: String, sort: [String!], limit: Int, offset: Int): StagedQuoteQueryResult! - quote( + ): Quote + quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult! + approvalRule( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Quote - quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult! + ): ApprovalRule + approvalRules(where: String, sort: [String!], limit: Int, offset: Int): ApprovalRuleQueryResult! + approvalFlow(id: String!): ApprovalFlow + approvalFlows(where: String, sort: [String!], limit: Int, offset: Int): ApprovalFlowQueryResult! businessUnit( """Queries with specified ID""" id: String @@ -3277,595 +2287,591 @@ type InStore implements CartDiscountQueryInterface & CartQueryInterface & Custom businessUnits(where: String, sort: [String!], limit: Int, offset: Int): BusinessUnitQueryResult! } -type InStoreMe implements MeQueryInterface & CartQueryInterface & ActiveCartInterface & OrderQueryInterface & ShoppingListQueryInterface { +type Asset { + id: String! + key: String + sources: [AssetSource!]! + name( """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - customer: Customer + String is defined for different locales. This argument specifies the desired locale. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - cart(id: String!): Cart + locale: Locale """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - carts(where: String, sort: [String!], limit: Int, offset: Int): CartQueryResult! - activeCart: Cart + List of languages the client is able to understand, and which locale variant is preferred. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - order( - """Queries with specified ID""" - id: String - orderNumber: String - ): Order + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!]! + description( + """ + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + descriptionAllLocales: [LocalizedString!] + tags: [String!]! + custom: CustomFieldsType +} + +type AssetDimensions { + width: Int! + height: Int! +} + +type AssetSource { + uri: String! + key: String + dimensions: AssetDimensions + contentType: String +} + +type Associate { + associateRoleAssignments: [AssociateRoleAssignment!]! + customerRef: Reference + customer: Customer +} + +type AssociateRole implements Versioned & ReferenceExpandable { + key: String! + buyerAssignable: Boolean! + name: String + permissions: [Permission!]! + custom: CustomFieldsType + id: String! + version: Long! + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type AssociateRoleAssignment { + associateRoleRef: KeyReference + associateRole: AssociateRole! + inheritance: AssociateInheritanceMode! +} + +type AssociateRoleBuyerAssignableChanged implements MessagePayload { + buyerAssignable: Boolean! + type: String! +} + +type AssociateRoleCreated implements MessagePayload { + associateRole: AssociateRole! + type: String! +} + +type AssociateRoleDeleted implements MessagePayload { + type: String! +} + +type AssociateRoleNameSet implements MessagePayload { + name: String + type: String! +} + +type AssociateRolePermissionAdded implements MessagePayload { + permission: Permission! + type: String! +} + +type AssociateRolePermissionRemoved implements MessagePayload { + permission: Permission! + type: String! +} + +type AssociateRolePermissionsSet implements MessagePayload { + permissions: [Permission!] + type: String! +} + +type AssociateRoleQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [AssociateRole!]! +} + +type AttributeDefinition { + type: AttributeDefinitionType! + name: String! + label( + """ + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + isRequired: Boolean! + attributeConstraint: AttributeConstraint! + level: Level! + inputTip( + """ + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + inputHint: TextInputHint! + isSearchable: Boolean! + labelAllLocales: [LocalizedString!]! + inputTipAllLocales: [LocalizedString!] +} + +type AttributeDefinitionResult { + limit: Int + offset: Int + total: Int! + results: [AttributeDefinition!]! +} + +type AttributeGroup implements Versioned { + id: String! + version: Long! + createdAt: DateTime! + lastModifiedAt: DateTime! + name( + """ + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!]! + description( """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - orders(where: String, sort: [String!], limit: Int, offset: Int): OrderQueryResult! + String is defined for different locales. This argument specifies the desired locale. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - shoppingList( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ShoppingList + locale: Locale """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult! + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + descriptionAllLocales: [LocalizedString!] + key: String + attributes: [AttributeReference!]! + createdBy: Initiator + lastModifiedBy: Initiator } -type InheritedAssociate { - associateRoleAssignments: [InheritedAssociateRoleAssignment!]! - customerRef: Reference - customer: Customer +type AttributeGroupQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [AttributeGroup!]! } -type InheritedAssociateRoleAssignment { - associateRoleRef: KeyReference! - associateRole: AssociateRole! - sourceRef: KeyReference! - source: BusinessUnit! +type AttributeReference { + key: String! } -type InheritedStore { - store: Store - storeRef: KeyReference! +type AuthorizationHeader implements HttpDestinationAuthentication { + headerValue: String! + type: String! } -type Initiator { - isPlatformClient: Boolean - externalUserId: String - anonymousId: String - attributedTo: Attribution - clientId: String - customerRef: Reference - userRef: Reference - associateRef: Reference +type AzureFunctionsAuthentication implements HttpDestinationAuthentication { + key: String! + type: String! } -type InterfaceInteractionsRaw { - typeRef: Reference! - type: TypeDefinition - fields( - """ - The names of the custom fields to include. - - If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. - """ - includeNames: [String!] - """ - The names of the custom fields to exclude. - - If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. - """ - excludeNames: [String!] - ): [RawCustomField!]! +type AzureServiceBusDestination implements Destination { + connectionString: String! + type: String! } -type InterfaceInteractionsRawResult { - limit: Int - offset: Int - total: Int! - results: [InterfaceInteractionsRaw!]! +type BestDeal implements DiscountTypeCombination { + type: String! + chosenDiscountType: ChosenDiscountType } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type InventoryConfiguration { - reservationExpirationInMinutes: Int - releaseExpiredReservations: Boolean! +type BooleanAttribute implements Attribute { + value: Boolean! + name: String! } -""" -Inventory allows you to track stock quantity per SKU and optionally per supply channel -""" -type InventoryEntry implements Versioned & ReferenceExpandable { - sku: String! - quantityOnStock: Long! - availableQuantity: Long! - key: String - restockableInDays: Int - reservationExpirationInMinutes: Int - supplyChannel: Channel - expectedDelivery: DateTime - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - stockLevels: StockLevels - supplyChannelRef: Reference - minCartQuantity: Long - maxCartQuantity: Long - custom: CustomFieldsType - id: String! - version: Long! - createdAt: DateTime! - lastModifiedAt: DateTime! - createdBy: Initiator - lastModifiedBy: Initiator +type BooleanAttributeDefinitionType implements AttributeDefinitionType { + name: String! } -type InventoryEntryCreated implements MessagePayload { - inventoryEntry: InventoryEntry! +type BooleanField implements CustomField { + value: Boolean! + name: String! +} + +type BooleanType implements FieldType { + name: String! +} + +type BusinessUnitAddressAdded implements MessagePayload { + address: Address! type: String! } -type InventoryEntryDeleted implements MessagePayload { - sku: String! - supplyChannel: Channel - supplyChannelRef: Reference +type BusinessUnitAddressChanged implements MessagePayload { + address: Address! + addressRoles: [AddressRole!]! type: String! } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type InventoryEntryOutOfStock implements MessagePayload { - sku: String! - supplyChannel: Channel - supplyChannelRef: Reference +type BusinessUnitAddressCustomFieldAdded implements MessagePayload { + name: String! + value: Json! + addressId: String! type: String! } -type InventoryEntryQuantitySet implements MessagePayload { - oldQuantityOnStock: Long! - newQuantityOnStock: Long! - oldAvailableQuantity: Long! - newAvailableQuantity: Long! - sku: String - supplyChannel: Channel - supplyChannelRef: Reference +type BusinessUnitAddressCustomFieldChanged implements MessagePayload { + name: String! + value: Json! + oldValue: Json + addressId: String! type: String! } -type InventoryEntryQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [InventoryEntry!]! +type BusinessUnitAddressCustomFieldRemoved implements MessagePayload { + name: String! + addressId: String! + type: String! } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type InventoryEntryReorderPoint implements MessagePayload { - sku: String! - quantityOnStock: Int! - supplyChannel: Channel - supplyChannelRef: Reference +type BusinessUnitAddressCustomTypeRemoved implements MessagePayload { + oldTypeId: String + addressId: String! type: String! } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type InventoryEntryReservationExpirationInMinutesSet implements MessagePayload { - oldReservationExpirationInMinutes: Int - newReservationExpirationInMinutes: Int +type BusinessUnitAddressCustomTypeSet implements MessagePayload { + customFields: CustomFieldsType! + oldTypeId: String + addressId: String! + type: String! +} + +type BusinessUnitAddressRemoved implements MessagePayload { + address: Address! + addressRoles: [AddressRole!]! + type: String! +} + +type BusinessUnitApprovalRuleModeChanged implements MessagePayload { + approvalRuleMode: BusinessUnitApprovalRuleMode! + oldApprovalRuleMode: BusinessUnitApprovalRuleMode + type: String! +} + +type BusinessUnitAssociateAdded implements MessagePayload { + associate: Associate! + type: String! +} + +type BusinessUnitAssociateChanged implements MessagePayload { + associate: Associate! + type: String! +} + +type BusinessUnitAssociateModeChanged implements MessagePayload { + associateMode: BusinessUnitAssociateMode! + oldAssociateMode: BusinessUnitAssociateMode + type: String! +} + +type BusinessUnitAssociateProjection { + customerRef: Reference + customer: Customer + associateRoles: [AssociateRole!]! + inheritedAssociateRoles: [AssociateRole!]! + permissions: [Permission!]! +} + +type BusinessUnitAssociateRemoved implements MessagePayload { + associate: Associate! + type: String! +} + +type BusinessUnitAssociatesSet implements MessagePayload { + associates: [Associate!]! + type: String! +} + +type BusinessUnitBillingAddressAdded implements MessagePayload { + address: Address! + type: String! +} + +type BusinessUnitBillingAddressRemoved implements MessagePayload { + address: Address! type: String! } -""" -BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -""" -type InventoryEntrySafetyStock implements MessagePayload { - sku: String! - quantityOnStock: Int! - supplyChannel: Channel - supplyChannelRef: Reference - type: String! +type BusinessUnitConfiguration { + myBusinessUnitStatusOnCreation: BusinessUnitConfigurationStatus! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + myBusinessUnitAssociateRoleOnCreationRef: KeyReference + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + myBusinessUnitAssociateRoleOnCreation: AssociateRole } -type ItemShippingAddressTargetDraftOutput { - quantity: Long! - addressKey: String! +type BusinessUnitContactEmailSet implements MessagePayload { + contactEmail: String + type: String! } -type ItemShippingDetails { - targets: [ItemShippingTarget!]! - valid: Boolean! +type BusinessUnitCreated implements MessagePayload { + businessUnit: BusinessUnit! + type: String! } -type ItemShippingDetailsDraftOutput { - shippingTargets: [ShippingMethodTargetDraftOutput!]! - itemShippingAddressTargets: [ItemShippingAddressTargetDraftOutput!]! - targets: [ItemShippingTarget!]! +type BusinessUnitCustomFieldAdded implements MessagePayload { + name: String! + value: Json! + type: String! } -type ItemShippingTarget { - addressKey: String! - quantity: Long! - shippingMethodKey: String +type BusinessUnitCustomFieldChanged implements MessagePayload { + name: String! + value: Json! + oldValue: Json + type: String! } -type ItemState { - quantity: Long! - stateRef: Reference! - state: State +type BusinessUnitCustomFieldRemoved implements MessagePayload { + name: String! + type: String! } -type KeyReference { - typeId: String! - key: String! +type BusinessUnitCustomTypeRemoved implements MessagePayload { + oldTypeId: String + type: String! } -type Limit { - limit: Long +type BusinessUnitCustomTypeSet implements MessagePayload { + customFields: CustomFieldsType! + oldTypeId: String + type: String! } """ -A line item is a snapshot of a product variant at the time it was added to the cart. - -Since a product variant may change at any time, the ProductVariant data is copied into the field variant. -The relation to the Product is kept but the line item will not automatically update if the product variant changes. -On the cart, the line item can be updated manually. The productSlug refers to the current version of the product. -It can be used to link to the product. If the product has been deleted, the line item remains but refers to a -non-existent product and the productSlug is left empty. - -Please also note that creating an order is impossible if the product or product variant a line item relates to has been deleted. +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ -type LineItem { - id: String! - key: String - productId: String! - productKey: String - name( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - nameAllLocales: [LocalizedString!]! - productSlug( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - productSlugAllLocales: [LocalizedString!] - productType: ProductTypeDefinition - productTypeRef: Reference - variant: ProductVariant - price: ProductPrice! - taxedPrice: TaxedItemPrice - totalPrice: Money - quantity: Long! - addedAt: DateTime - lastModifiedAt: DateTime - state: [ItemState!]! - taxRate: TaxRate - supplyChannel: Channel - supplyChannelRef: Reference - distributionChannel: Channel - distributionChannelRef: Reference - discountedPricePerQuantity: [DiscountedLineItemPriceForQuantity!]! - lineItemMode: LineItemMode! - priceMode: LineItemPriceMode! - custom: CustomFieldsType - inventoryMode: InventoryMode - shippingDetails: ItemShippingDetails - perMethodTaxRate: [MethodTaxRate!]! - taxedPricePortions: [MethodTaxedPrice!]! - recurrenceInfo: LineItemRecurrenceInfo +type BusinessUnitCustomerGroupAssignmentAdded implements MessagePayload { + customerGroupAssignment: CustomerGroupAssignment! + type: String! } -type LineItemDraftOutput { - productId: String - sku: String - key: String - quantity: Long - variantId: Int - custom: CustomFieldsCommand - externalTaxRate: ExternalTaxRateDraftOutput - perMethodExternalTaxRate: [MethodExternalTaxRateDraftOutput!]! - externalPrice: BaseMoney - externalTotalPrice: ExternalLineItemTotalPrice - inventoryMode: InventoryMode - shippingDetails: ItemShippingDetailsDraftOutput - addedAt: DateTime - distributionChannelResId: ResourceIdentifier - supplyChannelResId: ResourceIdentifier - recurrenceInfo: LineItemRecurrenceInfoDraft +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type BusinessUnitCustomerGroupAssignmentRemoved implements MessagePayload { + customerGroupAssignment: CustomerGroupAssignment! + type: String! } -"""The RecurrenceInfo returned in a LineItem""" -type LineItemRecurrenceInfo { - recurrencePolicy: RecurrencePolicy - recurrencePolicyRef: RecurrencePolicyRef! - expiresAt: DateTime - priceSelectionMode: PriceSelectionMode! +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type BusinessUnitCustomerGroupAssignmentsSet implements MessagePayload { + customerGroupAssignments: [CustomerGroupAssignment!] + oldCustomerGroupAssignments: [CustomerGroupAssignment!] + type: String! } -"""The LineItemRecurrenceInfoDraft is used to create a RecurringOrder""" -type LineItemRecurrenceInfoDraft { - recurrencePolicyRef: RecurrencePolicyReferenceIdentifier - expiresAt: DateTime - priceSelectionMode: PriceSelectionMode! +type BusinessUnitDefaultBillingAddressSet implements MessagePayload { + address: Address + type: String! } -type LineItemReturnItem implements ReturnItem { +type BusinessUnitDefaultShippingAddressSet implements MessagePayload { + address: Address type: String! - lineItemId: String! - id: String! - key: String - quantity: Long! - comment: String - shipmentState: ReturnShipmentState! - paymentState: ReturnPaymentState! - custom: CustomFieldsType - lastModifiedAt: DateTime! - createdAt: DateTime! } -type LineItemStateTransition implements MessagePayload & OrderMessagePayload { - lineItemId: String! - lineItemKey: String - transitionDate: DateTime! - quantity: Long! - fromState: State - toState: State - fromStateRef: Reference! - toStateRef: Reference! +type BusinessUnitDeleted implements MessagePayload { type: String! } -type LineItemsTarget implements CartDiscountTarget { - predicate: String! - type: String! +type BusinessUnitLimitsProjection { + maxDepthLimit: Limit! + maxDivisions: Limit! + maxAssociates: Limit! + maxAssociateRoles: Limit! } -type LocalizableEnumAttributeDefinitionType implements AttributeDefinitionType { - values( - """ - The keys of the enum values to include. - - If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. - """ - includeKeys: [String!] - """ - The keys of the enum values to exclude. - - If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. - """ - excludeKeys: [String!] - limit: Int - offset: Int - sort: [String!] - ): LocalizableEnumValueTypeResult! +type BusinessUnitNameChanged implements MessagePayload { name: String! + type: String! } -type LocalizableEnumValueType { - key: String! - label( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - labelAllLocales: [LocalizedString!]! +type BusinessUnitParentChanged implements MessagePayload { + oldParentUnit: BusinessUnit + newParentUnit: BusinessUnit + oldParentUnitRef: KeyReference + newParentUnitRef: KeyReference + type: String! } -type LocalizableEnumValueTypeResult { - limit: Int - offset: Int - total: Int! - results: [LocalizableEnumValueType!]! +type BusinessUnitQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [BusinessUnit!]! } -type LocalizableTextAttributeDefinitionType implements AttributeDefinitionType { - name: String! +type BusinessUnitSearchConfiguration { + status: BusinessUnitSearchStatus! + lastModifiedBy: Initiator + lastModifiedAt: DateTime! } -type LocalizedEnumAttribute implements Attribute { - key: String! - label( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale! - ): String - name: String! +type BusinessUnitShippingAddressAdded implements MessagePayload { + address: Address! + type: String! } -type LocalizedEnumField implements CustomField { - key: String! - label( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale! - ): String - name: String! +type BusinessUnitShippingAddressRemoved implements MessagePayload { + address: Address! + type: String! } -type LocalizedEnumType implements FieldType { - values: [LocalizedEnumValue!]! - name: String! +type BusinessUnitStatusChanged implements MessagePayload { + status: BusinessUnitStatus! + type: String! } -type LocalizedEnumValue { - key: String! - label( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale - """ - List of languages the client is able to understand, and which locale variant is preferred. - """ - acceptLanguage: [Locale!] - ): String - labelAllLocales: [LocalizedString!]! +type BusinessUnitStoreAdded implements MessagePayload { + store: Store! + storeRef: KeyReference! + type: String! } -type LocalizedString { - locale: Locale! - value: String! +type BusinessUnitStoreModeChanged implements MessagePayload { + storeMode: String! + oldStoreMode: String! + stores: [Store!] + oldStores: [Store!] + inheritedStores: [Store!] + oldInheritedStores: [Store!] + storesRef: [KeyReference!] + oldStoresRef: [KeyReference!] + inheritedStoresRef: [KeyReference!] + oldInheritedStoresRef: [KeyReference!] + type: String! } -type LocalizedStringAttribute implements Attribute { - value( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale! - ): String - name: String! +type BusinessUnitStoreRemoved implements MessagePayload { + store: Store! + storeRef: KeyReference! + type: String! } -type LocalizedStringField implements CustomField { - value( - """ - String is defined for different locales. This argument specifies the desired locale. - """ - locale: Locale! - ): String - name: String! +type BusinessUnitStoresSet implements MessagePayload { + stores: [Store!]! + storesRef: [KeyReference!]! + type: String! } -type LocalizedStringType implements FieldType { - name: String! +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type BusinessUnitTopLevelUnitSet implements MessagePayload { + oldTopLevelUnit: BusinessUnit! + topLevelUnit: BusinessUnit! + oldTopLevelUnitRef: KeyReference + topLevelUnitRef: KeyReference + type: String! } -type Location { - country: Country! - state: String +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type BusinessUnitTypeSet implements MessagePayload { + oldUnitType: BusinessUnitType! + unitType: BusinessUnitType! + parentUnit: BusinessUnit + oldParentUnit: BusinessUnit + parentUnitRef: KeyReference + oldParentUnitRef: KeyReference + type: String! } -type Me implements MeQueryInterface & CartQueryInterface & ActiveCartInterface & OrderQueryInterface & ShoppingListQueryInterface { - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - customer: Customer - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - cart(id: String!): Cart - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - carts(where: String, sort: [String!], limit: Int, offset: Int): CartQueryResult! - activeCart: Cart - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - order( - """Queries with specified ID""" - id: String - orderNumber: String - ): Order - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - orders(where: String, sort: [String!], limit: Int, offset: Int): OrderQueryResult! - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - shoppingList( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ShoppingList - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult! - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - payment(id: String!): MyPayment - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - payments(where: String, sort: [String!], limit: Int, offset: Int): MyPaymentQueryResult! - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - quoteRequest( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): QuoteRequest - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - quoteRequests(where: String, sort: [String!], limit: Int, offset: Int): QuoteRequestQueryResult! - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - quote( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Quote - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult! - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - businessUnit( +""" +A shopping cart holds product variants and can be ordered. Each cart either belongs to a registered customer or is an anonymous cart. +""" +type Cart implements Versioned & ReferenceExpandable { + customerId: String + customer: Customer + customerEmail: String + anonymousId: String + lineItems( """Queries with specified ID""" id: String - """Queries with specified key""" + ): [LineItem!]! + customLineItems: [CustomLineItem!]! + totalPrice: Money! + taxedPrice: TaxedPrice + discountOnTotalPrice: DiscountOnTotalPrice + shippingAddress: Address + billingAddress: Address + inventoryMode: InventoryMode! + taxMode: TaxMode! + priceRoundingMode: RoundingMode! + taxRoundingMode: RoundingMode! + taxCalculationMode: TaxCalculationMode! + customerGroup: CustomerGroup + customerGroupRef: Reference + country: Country + shippingKey: String + shippingInfo: ShippingInfo + discountCodes: [DiscountCodeInfo!]! + directDiscounts: [DirectDiscount!]! + refusedGifts: [CartDiscount!]! + refusedGiftsRefs: [Reference!]! + paymentInfo: PaymentInfo + locale: Locale + shippingRateInput: ShippingRateInput + origin: CartOrigin! + storeRef: KeyReference + store: Store + itemShippingAddresses: [Address!]! + businessUnit: BusinessUnit + businessUnitRef: KeyReference + shipping: [Shipping!]! + taxedShippingPrice: TaxedPrice + shippingMode: ShippingMode! + shippingCustomFields: CustomFieldsType + placement: Placement + discountTypeCombination: DiscountTypeCombination + cartState: CartState! key: String - ): BusinessUnit - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - businessUnits(where: String, sort: [String!], limit: Int, offset: Int): BusinessUnitQueryResult! -} - -type Message implements Versioned & ReferenceExpandable { + purchaseOrderNumber: String + lock: CartLock + custom: CustomFieldsType + deleteDaysAfterLastModification: Int + totalLineItemQuantity: Long + recurringPaymentConfiguration: RecurringPaymentConfiguration + freezeStrategy: FreezeStrategy id: String! - type: String! - sequenceNumber: Long! - resourceRef: Reference! - resourceVersion: Long! - userProvidedIdentifiers: UserProvidedIdentifiers - payload: MessagePayload! version: Long! createdAt: DateTime! lastModifiedAt: DateTime! @@ -3873,1246 +2879,2387 @@ type Message implements Versioned & ReferenceExpandable { lastModifiedBy: Initiator } -type MessageQueryResult { - offset: Int! - count: Int! - total: Long! - exists: Boolean! - results: [Message!]! -} - -type MessageSubscription { - resourceTypeId: String! - types: [String!]! -} - -type MessagesConfiguration { - enabled: Boolean! - deleteDaysAfterCreation: Int -} - -type MethodExternalTaxRateDraftOutput { - shippingMethodKey: String! - taxRate: ExternalTaxRateDraftOutput -} - -type MethodTaxRate { - shippingMethodKey: String! - taxRate: TaxRate -} - -type MethodTaxedPrice { - shippingMethodKey: String! - taxedPrice: TaxedItemPrice -} - -type Money implements BaseMoney { +type CartClassificationType implements ShippingRateInputType { + values: [ShippingRateInputLocalizedEnumValue!]! type: String! - currencyCode: Currency! - centAmount: Long! - """ - For the `Money` it equals to the default number of fraction digits used with the currency. - """ - fractionDigits: Int! -} - -type MoneyAttribute implements Attribute { - centAmount: Long! - currencyCode: Currency! - name: String! -} - -type MoneyAttributeDefinitionType implements AttributeDefinitionType { - name: String! -} - -type MoneyField implements CustomField { - centAmount: Long! - currencyCode: Currency! - name: String! -} - -type MoneyType implements FieldType { - name: String! } -type MultiBuyCustomLineItemsTarget implements CartDiscountTarget { - predicate: String! - triggerQuantity: Long! - discountedQuantity: Long! - maxOccurrence: Int - selectionMode: SelectionMode! +type CartCreated implements MessagePayload { + totalPrice: Money! + lineItemCount: Int! + discountCodesRefs: [Reference!]! type: String! } -type MultiBuyLineItemsTarget implements CartDiscountTarget { - predicate: String! - triggerQuantity: Long! - discountedQuantity: Long! - maxOccurrence: Int - selectionMode: SelectionMode! - type: String! -} +""" +Cart discounts are recalculated every time LineItems or CustomLineItems are added or removed from the Cart or an order is created from the cart. -type Mutation { - createCustomerGroup(draft: CustomerGroupDraft!): CustomerGroup - updateCustomerGroup( - version: Long! - actions: [CustomerGroupUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): CustomerGroup - deleteCustomerGroup( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): CustomerGroup - createCategory(draft: CategoryDraft!): Category - updateCategory( - version: Long! - actions: [CategoryUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Category - deleteCategory( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Category - createChannel(draft: ChannelDraft!): Channel - updateChannel( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - version: Long! - actions: [ChannelUpdateAction!]! - ): Channel - deleteChannel( - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - version: Long! - ): Channel - createOrUpdateCustomObject(draft: CustomObjectDraft!): CustomObject - deleteCustomObject( - version: Long - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - container: String - personalDataErasure: Boolean = false - ): CustomObject - createProductType(draft: ProductTypeDraft!): ProductTypeDefinition - updateProductType( - version: Long! - actions: [ProductTypeUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ProductTypeDefinition - deleteProductType( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ProductTypeDefinition - createTypeDefinition(draft: TypeDefinitionDraft!): TypeDefinition - updateTypeDefinition( - version: Long! - actions: [TypeUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): TypeDefinition - deleteTypeDefinition( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): TypeDefinition - createShippingMethod(draft: ShippingMethodDraft!): ShippingMethod - updateShippingMethod( - version: Long! - actions: [ShippingMethodUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ShippingMethod - deleteShippingMethod( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ShippingMethod - createZone(draft: CreateZone!): Zone - updateZone( - version: Long! - actions: [ZoneUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Zone - deleteZone( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Zone - createTaxCategory(draft: TaxCategoryDraft!): TaxCategory - updateTaxCategory( - version: Long! - actions: [TaxCategoryUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): TaxCategory - deleteTaxCategory( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" +The number of active cart discounts that do not require a discount code (isActive=true and requiresDiscountCode=false) is limited to 100. +""" +type CartDiscount implements Versioned & ReferenceExpandable { + cartPredicate: String! + stackingMode: StackingMode! + isActive: Boolean! + requiresDiscountCode: Boolean! key: String - ): TaxCategory - createDiscountCode( - draft: DiscountCodeDraft! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - ): DiscountCode - updateDiscountCode( - version: Long! - actions: [DiscountCodeUpdateAction!]! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + discountGroupRef: Reference + name( """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): DiscountCode - deleteDiscountCode( - version: Long! + String is defined for different locales. This argument specifies the desired locale. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + locale: Locale """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): DiscountCode - createCartDiscount( - draft: CartDiscountDraft! + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + description( """ - storeKey: KeyReferenceInput - ): CartDiscount - updateCartDiscount( - version: Long! - actions: [CartDiscountUpdateAction!]! + String is defined for different locales. This argument specifies the desired locale. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + locale: Locale """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): CartDiscount - deleteCartDiscount( - version: Long! + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!]! + descriptionAllLocales: [LocalizedString!] + referenceRefs: [Reference!]! + custom: CustomFieldsType + validFrom: DateTime + validUntil: DateTime + storesRef: [KeyReference!]! + stores: [Store!]! + discountGroup: DiscountGroup + value: CartDiscountValue! + target: CartDiscountTarget + sortOrder: String! """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): CartDiscount - createProductDiscount(draft: ProductDiscountDraft!): ProductDiscount - updateProductDiscount( - version: Long! - actions: [ProductDiscountUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ProductDiscount - deleteProductDiscount( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ProductDiscount - createDiscountGroup(draft: DiscountGroupDraft!): DiscountGroup - updateDiscountGroup( - version: Long! - actions: [DiscountGroupUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): DiscountGroup - deleteDiscountGroup( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): DiscountGroup - createAttributeGroup(draft: AttributeGroupDraft!): AttributeGroup - updateAttributeGroup( - version: Long! - actions: [AttributeGroupUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): AttributeGroup - deleteAttributeGroup( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): AttributeGroup - createProduct(draft: ProductDraft!): Product - updateProduct( - version: Long! - actions: [ProductUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Product - deleteProduct( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Product - createState(draft: StateDraft!): State - updateState( + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + recurringOrderScope: RecurringOrderScope! + id: String! version: Long! - actions: [StateUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type CartDiscountCreated implements MessagePayload { + cartDiscount: CartDiscount! + type: String! +} + +type CartDiscountDeleted implements MessagePayload { + type: String! +} + +type CartDiscountLimitWithCurrent implements LimitWithCurrent { + limit: Long + current: Long! +} + +type CartDiscountLimitsProjection { + totalActiveWithoutDiscountCodes: CartDiscountLimitWithCurrent! +} + +type CartDiscountPatternTarget implements CartDiscountTarget { + triggerPattern: [PatternComponent!]! + targetPattern: [PatternComponent!]! + maxOccurrence: Int + selectionMode: SelectionMode! + type: String! +} + +type CartDiscountQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [CartDiscount!]! +} + +type CartDiscountStoreAdded implements MessagePayload { + store: Store! + storeRef: KeyReference! + type: String! +} + +type CartDiscountStoreRemoved implements MessagePayload { + store: Store! + storeRef: KeyReference! + type: String! +} + +type CartDiscountStoresSet implements MessagePayload { + storesRef: [KeyReference!]! + stores: [Store!]! + type: String! +} + +type CartDiscountTotalPriceTarget implements CartDiscountTarget { + type: String! +} + +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type CartDiscountVisualizationSearchConfiguration { + status: CartDiscountVisualizationSearchStatus! + lastModifiedBy: Initiator + lastModifiedAt: DateTime! +} + +type CartFrozen implements MessagePayload { + type: String! +} + +type CartLimitWithCurrent implements LimitWithCurrent { + limit: Long + current: Long! +} + +type CartLimitsProjection { + total: CartLimitWithCurrent! +} + +""" +Prevents edits on a Cart unless the caller has the `manage_locked_carts` OAuth scope. +""" +type CartLock { + createdAt: DateTime! + clientId: String! +} + +type CartPurchaseOrderNumberSet implements MessagePayload { + purchaseOrderNumber: String + oldPurchaseOrderNumber: String + type: String! +} + +type CartQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [Cart!]! +} + +type CartScoreType implements ShippingRateInputType { + type: String! +} + +type CartUnfrozen implements MessagePayload { + type: String! +} + +type CartValueType implements ShippingRateInputType { + type: String! +} + +type CartsConfiguration { + deleteDaysAfterLastModification: Int! + allowAddingUnpublishedProducts: Boolean! + countryTaxRateFallbackEnabled: Boolean! + totalPriceDiscountDoesNotReduceExternalTax: Boolean! + taxRoundingMode: RoundingMode! + priceRoundingMode: RoundingMode! +} + +type Category implements Versioned & ReferenceExpandable { + id: String! key: String - ): State - deleteState( version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): State + name( """ - Creates a customer. If an anonymous cart is given then the cart is assigned to the created customer and the version number of the Cart will increase. If the id of an anonymous session is given, all carts and orders will be assigned to the created customer. - """ - customerSignUp( - draft: CustomerSignUpDraft! + String is defined for different locales. This argument specifies the desired locale. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + locale: Locale """ - storeKey: KeyReferenceInput - ): CustomerSignInResult! + List of languages the client is able to understand, and which locale variant is preferred. """ - Retrieves the authenticated customer (a customer that matches the given email/password pair). - - There may be carts and orders created before the sign in that should be assigned to the customer account. With the `anonymousCartId`, a single anonymous cart can be assigned. With the `anonymousId`, all orders and carts that have this `anonymousId` set will be assigned to the customer. - If both `anonymousCartId` and `anonymousId` are given, the anonymous cart must have the `anonymousId`. - - Additionally, there might also exist one or more active customer carts from an earlier session. On customer sign in there are several ways how to proceed with this cart and the cart referenced by the `anonymousCartId`. - - * If the customer does not have a cart yet, the anonymous cart becomes the customer's cart. - * If the customer already has one or more carts, the content of the anonymous cart will be copied to the customer's active cart that has been modified most recently. - - In this case the `CartState` of the anonymous cart gets changed to `Merged` while the customer's cart remains the `Active` cart. - - If a `LineItem` in the anonymous cart matches an existing line item, or a `CustomLineItem` matches an existing custom line item in the customer's cart, the maximum quantity of both line items is used as the new quantity. - - `ItemShippingDetails` are copied from the item with the highest quantity. - - If `itemShippingAddresses` are different in the two carts, the resulting cart contains the addresses of both the customer cart and the anonymous cart. - - Note, that it is not possible to merge carts that differ in their currency (set during creation of the cart). - - If a cart is is returned as part of the `CustomerSignInResult`, it has been recalculated (it will have up-to-date prices, taxes and discounts, and invalid line items have been removed). - """ - customerSignIn( - draft: CustomerSignInDraft! + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!]! + description( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): CustomerSignInResult! - updateCustomer( - version: Long! - actions: [CustomerUpdateAction!]! + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Customer - deleteCustomer( - version: Long! - personalDataErasure: Boolean = false + acceptLanguage: [Locale!] + ): String + descriptionAllLocales: [LocalizedString!] + slug( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Customer - customerChangePassword( - id: String! - version: Long! - currentPassword: String! - newPassword: String! + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - ): Customer + acceptLanguage: [Locale!] + ): String + slugAllLocales: [LocalizedString!]! + ancestorsRef: [Reference!]! + ancestors: [Category!]! + parentRef: Reference + parent: Category + orderHint: String! + externalId: String + metaTitle( """ - The following workflow can be used to reset the customer’s password: - - 1. Create a password reset token and send it embedded in a link to the customer. - 2. When the customer clicks on the link, you may optionally retrieve customer by password token. - 3. When the customer entered new password, use reset customer’s password to reset the password. + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + metaTitleAllLocales: [LocalizedString!] + metaKeywords( + """ + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + metaKeywordsAllLocales: [LocalizedString!] + metaDescription( + """ + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + metaDescriptionAllLocales: [LocalizedString!] + """Number of staged products in the category subtree.""" + stagedProductCount: Int! + """Number of direct child categories.""" + childCount: Int! + """ + Direct child categories. The maximum number of child categories that can be fetched is **150**. If the actual number of child categories exceeds this limit, the query will fail. """ - customerResetPassword( - version: Long - tokenValue: String! - newPassword: String! + children: [Category!] + createdAt: DateTime! + lastModifiedAt: DateTime! + assets: [Asset!]! + custom: CustomFieldsType + createdBy: Initiator + lastModifiedBy: Initiator +} + +type CategoryCreated implements MessagePayload { + category: Category! + type: String! +} + +type CategoryLimitsProjection { + maxCategories: Limit! +} + +type CategoryOrderHint { + categoryId: String! + orderHint: String! +} + +type CategoryOrderHintProductSearch { + categoryId: String! + orderHint: String! +} + +type CategoryQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [Category!]! +} + +type CategorySlugChanged implements MessagePayload { + slug( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): Customer - """Verifies customer's email using a token.""" - customerConfirmEmail( - version: Long - tokenValue: String! + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + oldSlug( + """ + String is defined for different locales. This argument specifies the desired locale. + """ + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + slugAllLocales: [LocalizedString!]! + oldSlugAllLocales: [LocalizedString!] + type: String! +} + +type ChangeStagedOrderCustomLineItemMoneyOutput implements StagedOrderUpdateActionOutput { + type: String! + customLineItemId: String + customLineItemKey: String + money: BaseMoney! +} + +type ChangeStagedOrderCustomLineItemQuantityOutput implements StagedOrderUpdateActionOutput { + type: String! + customLineItemId: String + customLineItemKey: String + quantity: Long! +} + +type ChangeStagedOrderLineItemQuantityOutput implements StagedOrderUpdateActionOutput { + type: String! + lineItemId: String + quantity: Long! + lineItemKey: String + externalPrice: BaseMoney + externalTotalPrice: ExternalLineItemTotalPrice +} + +type ChangeStagedOrderOrderStateOutput implements StagedOrderUpdateActionOutput { + type: String! + orderState: OrderState! +} + +type ChangeStagedOrderPaymentStateOutput implements StagedOrderUpdateActionOutput { + type: String! + paymentState: PaymentState! +} + +type ChangeStagedOrderPriceRoundingModeOutput implements StagedOrderUpdateActionOutput { + type: String! + priceRoundingMode: RoundingMode! +} + +type ChangeStagedOrderShipmentStateOutput implements StagedOrderUpdateActionOutput { + type: String! + shipmentState: ShipmentState! +} + +type ChangeStagedOrderTaxCalculationModeOutput implements StagedOrderUpdateActionOutput { + type: String! + taxCalculationMode: TaxCalculationMode! +} + +type ChangeStagedOrderTaxModeOutput implements StagedOrderUpdateActionOutput { + type: String! + taxMode: TaxMode! +} + +type ChangeStagedOrderTaxRoundingModeOutput implements StagedOrderUpdateActionOutput { + type: String! + taxRoundingMode: RoundingMode! +} + +type ChangeSubscription { + resourceTypeId: String! +} + +type Channel implements Versioned & ReviewTarget & ReferenceExpandable { + id: String! + version: Long! + key: String! + roles: [ChannelRole!]! + name( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): Customer + locale: Locale """ - The token value is used to reset the password of the customer with the given email. The token is valid for the time-to-live period (TTL). - """ - customerCreatePasswordResetToken( - email: String! - """The validity of the created token in minutes.""" - ttlMinutes: Int + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!] + description( """ - storeKey: KeyReferenceInput + String is defined for different locales. This argument specifies the desired locale. """ - Invalidate older, previously created tokens when a new token is created. + locale: Locale """ - invalidateOlderTokens: Boolean! = false - ): CustomerPasswordToken - customerCreateEmailVerificationToken( - id: String! - version: Long - """The validity of the created token in minutes.""" - ttlMinutes: Int! + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + descriptionAllLocales: [LocalizedString!] + address: Address + geoLocation: Geometry + createdAt: DateTime! + lastModifiedAt: DateTime! + reviewRatingStatistics: ReviewRatingStatistics + custom: CustomFieldsType + createdBy: Initiator + lastModifiedBy: Initiator +} + +type ChannelQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [Channel!]! +} + +type ChannelReferenceIdentifier { + typeId: String! + id: String + key: String +} + +type ClassificationShippingRateInput implements ShippingRateInput { + key: String! + type: String! + labelAllLocales: [LocalizedString!]! + label( """ - storeKey: KeyReferenceInput + String is defined for different locales. This argument specifies the desired locale. """ - Invalidate older, previously created tokens when a new token is created. + locale: Locale """ - invalidateOlderTokens: Boolean! = false - ): CustomerEmailToken! + List of languages the client is able to understand, and which locale variant is preferred. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta If used with an access token for Anonymous Sessions, all orders and carts belonging to the anonymousId will be assigned to the newly created customer. - """ - customerSignMeUp( - draft: CustomerSignMeUpDraft! + acceptLanguage: [Locale!] + ): String +} + +type ClassificationShippingRateInputDraftOutput implements ShippingRateInputDraftOutput { + key: String! + type: String! +} + +type CloudEventsSubscriptionsFormat implements NotificationFormat { + type: String! + cloudEventsVersion: String! +} + +type CommercetoolsSubscription implements Versioned { + key: String + destination: Destination! + messages: [MessageSubscription!]! + changes: [ChangeSubscription!]! + events: [EventSubscription!] + format: NotificationFormat! + status: SubscriptionHealthStatus! + id: String! + version: Long! + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type CommercetoolsSubscriptionQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [CommercetoolsSubscription!]! +} + +type ConfluentCloudDestination implements Destination { + bootstrapServer: String! + apiKey: String! + apiSecret: String! + acks: String! + topic: String! + key: String + type: String! +} + +type CountOnCustomLineItemUnits implements PatternComponent { + predicate: String! + minCount: Int + maxCount: Int + excludeCount: Int @deprecated(reason: "Please use 'triggerPattern' to exclude.") + type: String! +} + +type CountOnLineItemUnits implements PatternComponent { + predicate: String! + minCount: Int + maxCount: Int + excludeCount: Int + type: String! +} + +type Counter implements SkipConfiguration { + totalToSkip: Int! + skipped: Int! + lastSkippedAt: DateTime + type: String! +} + +type CustomFieldsCommand { + typeId: String + typeKey: String + fields: Json! + typeResId: ResourceIdentifier +} + +type CustomFieldsType { + typeRef: Reference! + type: TypeDefinition + """This field contains non-typed data.""" + customFieldsRaw( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + The names of the custom fields to include. + + If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. """ - storeKey: KeyReferenceInput - ): CustomerSignInResult! + includeNames: [String!] """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - - Retrieves the authenticated customer (a customer that matches the given email/password pair). - - If used with an access token for Anonymous Sessions, all orders and carts belonging to the `anonymousId` will be assigned to the newly created customer. - - * If the customer does not have a cart yet, the anonymous cart that was modified most recently becomes the customer's cart. - * If the customer already has a cart, the most recently modified anonymous cart will be handled according to the `AnonymousCartSignInMode`. - - If a cart is is returned as part of the `CustomerSignInResult`, it has been recalculated (it will have up-to-date prices, taxes and discounts, and invalid line items have been removed). - """ - customerSignMeIn( - draft: CustomerSignMeInDraft! + The names of the custom fields to exclude. + + If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + excludeNames: [String!] + ): [RawCustomField!] +} + +""" +A custom line item is a generic item that can be added to the cart but is not bound to a product. You can use it for discounts (negative money), vouchers, complex cart rules, additional services or fees. You control the lifecycle of this item. +""" +type CustomLineItem { + id: String! + key: String + name( """ - storeKey: KeyReferenceInput - ): CustomerSignInResult! + String is defined for different locales. This argument specifies the desired locale. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta Signs up a new customer and associates it with the business unit. - """ - signUpInMyBusinessUnit(draft: SignUpInMyBusinessUnitDraft!): CustomerSignInResult! + locale: Locale """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - updateMyCustomer( - version: Long! - actions: [MyCustomerUpdateAction!]! + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!]! + money: BaseMoney! + totalPrice: Money! + slug: String! + quantity: Long! + state: [ItemState!]! + taxCategory: TaxCategory + taxCategoryRef: Reference + taxRate: TaxRate + taxedPrice: TaxedItemPrice + taxedPricePortions: [MethodTaxedPrice!]! + perMethodTaxRate: [MethodTaxRate!]! + discountedPricePerQuantity: [DiscountedLineItemPriceForQuantity!]! + custom: CustomFieldsType + shippingDetails: ItemShippingDetails + priceMode: CustomLineItemPriceMode! + recurrenceInfo: CustomLineItemRecurrenceInfo +} + +type CustomLineItemDraftOutput { + key: String + money: BaseMoney! + slug: String! + externalTaxRate: ExternalTaxRateDraftOutput + quantity: Long + custom: CustomFieldsCommand + shippingDetails: ItemShippingDetailsDraftOutput + priceMode: CustomLineItemPriceMode! + name( """ - storeKey: KeyReferenceInput - ): Customer + String is defined for different locales. This argument specifies the desired locale. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - deleteMyCustomer( - version: Long! - personalDataErasure: Boolean = false + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - ): Customer + acceptLanguage: [Locale!] + ): String + taxCategoryResId: ResourceIdentifier + nameAllLocales: [LocalizedString!]! + recurrenceInfo: CustomLineItemRecurrenceInfoDraft +} + +"""The RecurrenceInfo returned in a CustomLineItem""" +type CustomLineItemRecurrenceInfo { + recurrencePolicy: RecurrencePolicy + recurrencePolicyRef: RecurrencePolicyRef! + expiresAt: DateTime +} + +""" +The CustomLineItemRecurrenceInfoDraft is used to create a RecurringOrder +""" +type CustomLineItemRecurrenceInfoDraft { + recurrencePolicyRef: RecurrencePolicyReferenceIdentifier + expiresAt: DateTime +} + +type CustomLineItemReturnItem implements ReturnItem { + type: String! + customLineItemId: String! + id: String! + key: String + quantity: Long! + comment: String + shipmentState: ReturnShipmentState! + paymentState: ReturnPaymentState! + custom: CustomFieldsType + lastModifiedAt: DateTime! + createdAt: DateTime! +} + +type CustomLineItemStateTransition implements MessagePayload & OrderMessagePayload { + customLineItemId: String! + customLineItemKey: String + transitionDate: DateTime! + quantity: Long! + fromState: State + toState: State + fromStateRef: Reference! + toStateRef: Reference! + type: String! +} + +type CustomLineItemsTarget implements CartDiscountTarget { + predicate: String! + type: String! +} + +type CustomObject implements Versioned & ReferenceExpandable { + container: String! + key: String! + value: Json! """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - customerChangeMyPassword( + referencedResources(expand: [String!]): [ReferencedResource!] + id: String! version: Long! - currentPassword: String! - newPassword: String! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - ): Customer - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - customerConfirmMyEmail( - tokenValue: String! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - ): Customer - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - customerResetMyPassword( - tokenValue: String! - newPassword: String! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - ): Customer - createInventoryEntry(draft: InventoryEntryDraft!): InventoryEntry - updateInventoryEntry( + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type CustomObjectLimitWithCurrent implements LimitWithCurrent { + limit: Long + current: Long! +} + +type CustomObjectLimitsProjection { + total: CustomObjectLimitWithCurrent! +} + +type CustomObjectQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [CustomObject!]! +} + +type CustomSuggestTokenizer implements SuggestTokenizer { + inputs: [String!]! + type: String! +} + +type CustomSuggestTokenizerProductSearch implements SuggestTokenizerProductSearch { + inputs: [String!]! + type: String! +} + +type CustomerAddressAdded implements MessagePayload { + address: Address! + type: String! +} + +type CustomerAddressChanged implements MessagePayload { + address: Address! + addressRoles: [AddressRole!]! + type: String! +} + +type CustomerAddressCustomFieldAdded implements MessagePayload { + name: String! + value: Json! + addressId: String! + type: String! +} + +type CustomerAddressCustomFieldChanged implements MessagePayload { + name: String! + value: Json! + previousValue: Json + addressId: String! + type: String! +} + +type CustomerAddressCustomFieldRemoved implements MessagePayload { + name: String! + addressId: String! + type: String! +} + +type CustomerAddressCustomTypeRemoved implements MessagePayload { + previousTypeId: String + addressId: String! + type: String! +} + +type CustomerAddressCustomTypeSet implements MessagePayload { + customFields: CustomFieldsType! + previousTypeId: String + addressId: String! + type: String! +} + +type CustomerAddressRemoved implements MessagePayload { + address: Address! + addressRoles: [AddressRole!]! + type: String! +} + +type CustomerBillingAddressAdded implements MessagePayload { + address: Address! + type: String! +} + +type CustomerBillingAddressRemoved implements MessagePayload { + address: Address! + type: String! +} + +type CustomerCompanyNameSet implements MessagePayload { + companyName: String + type: String! +} + +type CustomerCreated implements MessagePayload { + customer: Customer! + type: String! +} + +type CustomerCustomFieldAdded implements MessagePayload { + name: String! + value: Json! + type: String! +} + +type CustomerCustomFieldChanged implements MessagePayload { + name: String! + value: Json! + previousValue: Json + type: String! +} + +type CustomerCustomFieldRemoved implements MessagePayload { + name: String! + type: String! +} + +type CustomerCustomTypeRemoved implements MessagePayload { + previousTypeId: String + type: String! +} + +type CustomerCustomTypeSet implements MessagePayload { + customFields: CustomFieldsType! + previousTypeId: String + type: String! +} + +type CustomerDateOfBirthSet implements MessagePayload { + dateOfBirth: Date + type: String! +} + +type CustomerDefaultBillingAddressSet implements MessagePayload { + address: Address + type: String! +} + +type CustomerDefaultShippingAddressSet implements MessagePayload { + address: Address + type: String! +} + +type CustomerDeleted implements MessagePayload { + email: String + type: String! +} + +type CustomerEmailChanged implements MessagePayload { + email: String! + oldEmail: String! + type: String! +} + +type CustomerEmailToken implements Versioned { + customerId: String! + expiresAt: DateTime! + value: String! + invalidateOlderTokens: Boolean! + id: String! version: Long! - actions: [InventoryEntryUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): InventoryEntry - deleteInventoryEntry( + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type CustomerEmailTokenCreated implements MessagePayload { + customerId: String! + value: String + invalidateOlderTokens: Boolean! + expiresAt: DateTime! + type: String! +} + +type CustomerEmailVerified implements MessagePayload { + type: String! +} + +type CustomerExternalIdSet implements MessagePayload { + externalId: String + type: String! +} + +type CustomerFirstNameSet implements MessagePayload { + firstName: String + type: String! +} + +""" +A customer can be a member in a customer group (e.g. reseller, gold member). A customer group can be used in price calculations with special prices being assigned to certain customer groups. +""" +type CustomerGroup implements Versioned & ReferenceExpandable { + id: String! version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" + name: String! key: String - ): InventoryEntry - createCart( - draft: CartDraft! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - ): Cart - updateCart( - version: Long! - actions: [CartUpdateAction!]! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - """Queries with specified ID""" + createdAt: DateTime! + lastModifiedAt: DateTime! + custom: CustomFieldsType + createdBy: Initiator + lastModifiedBy: Initiator +} + +type CustomerGroupAssignment { + customerGroupRef: Reference + customerGroup: CustomerGroup +} + +type CustomerGroupAssignmentAdded implements MessagePayload { + customerGroupAssignment: CustomerGroupAssignment! + type: String! +} + +type CustomerGroupAssignmentRemoved implements MessagePayload { + customerGroupAssignment: CustomerGroupAssignment! + type: String! +} + +type CustomerGroupAssignmentsSet implements MessagePayload { + customerGroupAssignments: [CustomerGroupAssignment!]! + oldCustomerGroupAssignments: [CustomerGroupAssignment!]! + type: String! +} + +type CustomerGroupCustomFieldAdded implements MessagePayload { + name: String! + value: Json! + type: String! +} + +type CustomerGroupCustomFieldChanged implements MessagePayload { + name: String! + value: Json! + oldValue: Json + type: String! +} + +type CustomerGroupCustomFieldRemoved implements MessagePayload { + name: String! + type: String! +} + +type CustomerGroupCustomTypeRemoved implements MessagePayload { + oldTypeId: String + type: String! +} + +type CustomerGroupCustomTypeSet implements MessagePayload { + customFields: CustomFieldsType! + oldTypeId: String + type: String! +} + +type CustomerGroupLimitWithCurrent implements LimitWithCurrent { + limit: Long + current: Long! +} + +type CustomerGroupLimitsProjection { + total: CustomerGroupLimitWithCurrent! +} + +type CustomerGroupQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [CustomerGroup!]! +} + +type CustomerGroupReferenceIdentifier { + typeId: String! id: String - """Queries with specified key""" key: String - ): Cart - deleteCart( +} + +type CustomerGroupSet implements MessagePayload { + customerGroup: CustomerGroup + customerGroupRef: Reference + type: String! +} + +type CustomerLastNameSet implements MessagePayload { + lastName: String + type: String! +} + +type CustomerLimitWithCurrent implements LimitWithCurrent { + limit: Long + current: Long! +} + +type CustomerLimitsProjection { + maxGroupsPerCustomer: Limit! + total: CustomerLimitWithCurrent! +} + +type CustomerPasswordToken implements Versioned { + customerId: String! + expiresAt: DateTime! + value: String! + invalidateOlderTokens: Boolean! + id: String! version: Long! - personalDataErasure: Boolean = false - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - """Queries with specified ID""" - id: String - """Queries with specified key""" + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type CustomerPasswordTokenCreated implements MessagePayload { + customerId: String! + value: String + invalidateOlderTokens: Boolean! + expiresAt: DateTime! + type: String! +} + +type CustomerPasswordUpdated implements MessagePayload { + reset: Boolean! + type: String! +} + +type CustomerQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [Customer!]! +} + +type CustomerSearchConfiguration { + status: CustomerSearchStatus! + lastModifiedBy: Initiator + lastModifiedAt: DateTime! +} + +type CustomerShippingAddressAdded implements MessagePayload { + address: Address! + type: String! +} + +type CustomerShippingAddressRemoved implements MessagePayload { + address: Address! + type: String! +} + +type CustomerSignInResult { + customer: Customer! + cart: Cart +} + +type CustomerStoresSet implements MessagePayload { + stores: [Store!]! + oldStores: [Store!]! + storesRef: [KeyReference!]! + oldStoresRef: [KeyReference!]! + type: String! +} + +type CustomerTitleSet implements MessagePayload { + title: String + type: String! +} + +type DateAttribute implements Attribute { + value: Date! + name: String! +} + +type DateAttributeDefinitionType implements AttributeDefinitionType { + name: String! +} + +type DateField implements CustomField { + value: Date! + name: String! +} + +type DateTimeAttribute implements Attribute { + value: DateTime! + name: String! +} + +type DateTimeAttributeDefinitionType implements AttributeDefinitionType { + name: String! +} + +type DateTimeField implements CustomField { + value: DateTime! + name: String! +} + +type DateTimeType implements FieldType { + name: String! +} + +type DateType implements FieldType { + name: String! +} + +type DayOfMonthSchedule implements RecurrencePolicySchedule { + day: Int! + type: String! +} + +type Delivery { + id: String! key: String - ): Cart - replicateCart( - reference: ReferenceInput! + createdAt: DateTime! + items: [DeliveryItem!]! + parcels: [Parcel!]! + address: Address + custom: CustomFieldsType +} + +type DeliveryAdded implements MessagePayload & OrderMessagePayload { + delivery: Delivery! + shippingKey: String + type: String! +} + +type DeliveryAddressSet implements MessagePayload & OrderMessagePayload { + deliveryId: String! + address: Address + oldAddress: Address + shippingKey: String + type: String! +} + +type DeliveryCustomFieldAdded implements MessagePayload & OrderMessagePayload { + name: String! + value: Json! + deliveryId: String! + type: String! +} + +type DeliveryCustomFieldChanged implements MessagePayload & OrderMessagePayload { + name: String! + value: Json! + previousValue: Json + deliveryId: String! + type: String! +} + +type DeliveryCustomFieldRemoved implements MessagePayload & OrderMessagePayload { + name: String! + deliveryId: String! + type: String! +} + +type DeliveryCustomTypeRemoved implements MessagePayload & OrderMessagePayload { + deliveryId: String! + previousTypeId: String + type: String! +} + +type DeliveryCustomTypeSet implements MessagePayload & OrderMessagePayload { + customFields: CustomFieldsType! + previousTypeId: String + deliveryId: String! + type: String! +} + +type DeliveryItem { + id: String! + quantity: Long! +} + +type DeliveryItemsUpdated implements MessagePayload & OrderMessagePayload { + deliveryId: String! + items: [DeliveryItem!]! + oldItems: [DeliveryItem!]! + shippingKey: String + type: String! +} + +type DeliveryRemoved implements MessagePayload & OrderMessagePayload { + delivery: Delivery! + shippingKey: String + type: String! +} + +type Dimensions { + width: Int! + height: Int! +} + +type DimensionsProductSearch { + width: Int! + height: Int! +} + +type DirectDiscount { + id: String! + value: CartDiscountValue! + target: CartDiscountTarget +} + +type DirectDiscountDraftOutput { + value: CartDiscountValue! + target: CartDiscountTarget +} + +""" +With discount codes it is possible to give specific cart discounts to an eligible amount of users. They are defined by a string value which can be added to a cart so that specific cart discounts can be applied to the cart. +""" +type DiscountCode implements Versioned & ReferenceExpandable { + code: String! key: String + isActive: Boolean! + maxApplications: Long + maxApplicationsPerCustomer: Long + cartPredicate: String + applicationVersion: Long + groups: [String!]! + name( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - ): Cart - mergeCart( - customerId: String! - draft: MergeCartDraft! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): Cart + locale: Locale """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - createMyCart( - draft: MyCartDraft! + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + description( """ - storeKey: KeyReferenceInput - ): Cart + String is defined for different locales. This argument specifies the desired locale. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - updateMyCart( - id: String! - version: Long! - actions: [MyCartUpdateAction!]! + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - ): Cart + acceptLanguage: [Locale!] + ): String + cartDiscounts: [CartDiscount!]! + validFrom: DateTime + validUntil: DateTime + referenceRefs: [Reference!]! + nameAllLocales: [LocalizedString!] + descriptionAllLocales: [LocalizedString!] + custom: CustomFieldsType """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + How many times this discount code was applied (only applications that were part of a successful checkout are considered) """ - deleteMyCart( + applicationCount: Long! + cartDiscountRefs: [Reference!]! id: String! version: Long! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - ): Cart - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - replicateMyCart(reference: ReferenceInput!): Cart - createOrderFromCart( - draft: OrderCartCommand! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - ): Order - updateOrder( - version: Long! - actions: [OrderUpdateAction!]! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - """Queries with specified ID""" - id: String - orderNumber: String - ): Order - deleteOrder( + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type DiscountCodeCreated implements MessagePayload { + discountCode: DiscountCode! + type: String! +} + +type DiscountCodeDeleted implements MessagePayload { + type: String! +} + +type DiscountCodeInfo { + discountCodeRef: Reference! + state: DiscountCodeState + discountCode: DiscountCode +} + +type DiscountCodeKeySet implements MessagePayload { + key: String + oldKey: String + type: String! +} + +type DiscountCodeQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [DiscountCode!]! +} + +"""Allowing to group discounts.""" +type DiscountGroup implements Versioned { + id: String! version: Long! - personalDataErasure: Boolean = false - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - orderNumber: String - ): Order + key: String! + sortOrder: String! + isActive: Boolean! + name( """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - createMyOrderFromCart( - draft: OrderMyCartCommand! + String is defined for different locales. This argument specifies the desired locale. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + locale: Locale """ - storeKey: KeyReferenceInput - ): Order - createOrderFromQuote( - draft: OrderQuoteCommand! + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!] + description( """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - ): Order + String is defined for different locales. This argument specifies the desired locale. """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - createMyOrderFromQuote(draft: OrderMyQuoteCommand!): Order - importOrder(draft: ImportOrderDraft!): Order - createOrderEdit(draft: OrderEditDraft!): OrderEdit - updateOrderEdit( - version: Long! - actions: [OrderEditUpdateAction!]! - dryRun: Boolean = false - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): OrderEdit - deleteOrderEdit( - version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): OrderEdit - createShoppingList( - draft: ShoppingListDraft! + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - ): ShoppingList - updateShoppingList( - version: Long! - actions: [ShoppingListUpdateAction!]! + acceptLanguage: [Locale!] + ): String + descriptionAllLocales: [LocalizedString!] + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type DiscountGroupCreated implements MessagePayload { + discountGroup: DiscountGroup! + type: String! +} + +type DiscountGroupDeleted implements MessagePayload { + discountGroupId: String! + type: String! +} + +type DiscountGroupIsActiveSet implements MessagePayload { + isActive: Boolean! + discountGroupId: String! + type: String! +} + +type DiscountGroupKeySet implements MessagePayload { + key: String! + discountGroupId: String! + oldKey: String + type: String! +} + +type DiscountGroupLimitWithCurrent implements LimitWithCurrent { + limit: Long + current: Long! +} + +type DiscountGroupLimitsProjection { + totalActive: DiscountGroupLimitWithCurrent! +} + +type DiscountGroupQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [DiscountGroup!]! +} + +type DiscountGroupSortOrderSet implements MessagePayload { + sortOrder: String! + discountGroupId: String! + oldSortOrder: String + type: String! +} + +type DiscountOnTotalPrice { + discountedAmount: BaseMoney! + includedDiscounts: [DiscountedTotalPricePortion!]! + discountedNetAmount: BaseMoney + discountedGrossAmount: BaseMoney +} + +type DiscountedLineItemPortion { + discount: CartDiscount + discountRef: Reference! + discountedAmount: BaseMoney! +} + +type DiscountedLineItemPrice { + value: BaseMoney! + includedDiscounts: [DiscountedLineItemPortion!]! +} + +type DiscountedLineItemPriceForQuantity { + quantity: Long! + discountedPrice: DiscountedLineItemPrice! +} + +type DiscountedProductPriceValue { + value: BaseMoney! + discountRef: Reference! + discount: ProductDiscount +} + +type DiscountedProductSearchPriceValue { + value: BaseMoney! + discountRef: Reference! + discount: ProductDiscount +} + +type DiscountedTotalPricePortion { + discount: CartDiscount + discountRef: Reference! + discountedAmount: BaseMoney! +} + +type DiscountsConfiguration { + productVsCartDiscountCombination: DiscountCombinationMode + discountCombinationMode: DiscountCombinationMode! +} + +type EnumAttribute implements Attribute { + key: String! + label: String! + name: String! +} + +type EnumAttributeDefinitionType implements AttributeDefinitionType { + values( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + The keys of the enum values to include. + + If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ShoppingList - deleteShoppingList( - version: Long! - personalDataErasure: Boolean = false + includeKeys: [String!] """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + The keys of the enum values to exclude. + + If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. """ - storeKey: KeyReferenceInput - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - """Queries with specified ID""" - id: String - """Queries with specified key""" + excludeKeys: [String!] + limit: Int + offset: Int + sort: [String!] + ): PlainEnumValueResult! + name: String! +} + +type EnumField implements CustomField { + key: String! + name: String! +} + +type EnumType implements FieldType { + values: [EnumValue!]! + name: String! +} + +type EnumValue { + key: String! + label: String! +} + +type EventBridgeDestination implements Destination { + source: String! + region: String! + accountId: String! + type: String! +} + +type EventGridDestination implements Destination { + uri: String! + accessKey: String! + type: String! +} + +type EventSubscription { + resourceTypeId: String! + types: [String!]! +} + +type Extension implements Versioned & ReferenceExpandable { key: String - ): ShoppingList - """ - BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta - """ - createMyShoppingList( - draft: MyShoppingListDraft! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - ): ShoppingList + destination: ExtensionDestination! + triggers: [Trigger!]! + timeoutInMs: Int """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - updateMyShoppingList( - version: Long! - actions: [MyShoppingListUpdateAction!]! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ShoppingList + dependenciesRef: [Reference!]! """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - deleteMyShoppingList( - version: Long! - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. - """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ShoppingList - createPayment(draft: PaymentDraft!): Payment - updatePayment( - version: Long! - actions: [PaymentUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Payment - deletePayment( - version: Long! - personalDataErasure: Boolean = false - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Payment + additionalContext: ExtensionAdditionalContext """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ - createMyPayment(draft: MyPaymentDraft!): MyPayment - updateMyPayment(id: String!, version: Long!, actions: [MyPaymentUpdateAction!]!): MyPayment - deleteMyPayment(id: String!, version: Long!): MyPayment - createProductSelection(draft: CreateProductSelectionDraft!): ProductSelection - updateProductSelection(version: Long!, actions: [ProductSelectionUpdateAction!]!, """Queries with specified ID""" - id: String, """Queries with specified key""" - key: String): ProductSelection - deleteProductSelection( + expansionPaths: [String!]! + id: String! version: Long! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ProductSelection - createProductTailoring( - """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type ExtensionAdditionalContext { + includeOldResource: Boolean! +} + +type ExtensionLimitsProjection { + timeoutInMs: Limit! + maxExtensionsUpdateActions: Limit! +} + +type ExtensionQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [Extension!]! +} + +type ExternalDiscountValue implements ProductDiscountValue { + type: String! +} + +type ExternalLineItemTotalPrice { + price: BaseMoney! + totalPrice: Money! +} + +type ExternalOAuth { + url: String! + authorizationHeader: String! +} + +type ExternalTaxAmountDraftOutput { + totalGross: Money! + taxRate: ExternalTaxRateDraftOutput! +} + +type ExternalTaxRateDraftOutput { + name: String! + amount: Float + country: Country! + state: String + subRates: [SubRate!]! + includedInPrice: Boolean! +} + +type FacetResultValue { + facet: String! + value: FacetResult! +} + +""" +Field definitions describe custom fields and allow you to define some meta-information associated with the field. +""" +type FieldDefinition { + name: String! + required: Boolean! + inputHint: TextInputHint! + label( """ - storeKey: KeyReferenceInput - draft: ProductTailoringDraft! - ): ProductTailoring - updateProductTailoring( + String is defined for different locales. This argument specifies the desired locale. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + locale: Locale """ - storeKey: KeyReferenceInput - """Queries with specified Product ID""" - productId: String - """Queries with specified Product key""" - productKey: String - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - actions: [ProductTailoringUpdateAction!]! - version: Long! - ): ProductTailoring - deleteProductTailoring( + List of languages the client is able to understand, and which locale variant is preferred. """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + acceptLanguage: [Locale!] + ): String + labelAllLocales: [LocalizedString!]! + type: FieldType! +} + +type FixedPriceCartDiscountValue implements CartDiscountValue { + type: String! + money: [BaseMoney!]! + applicationMode: DiscountApplicationMode! +} + +type FixedPriceDiscountValue implements CartDiscountValue { + type: String! + money: [BaseMoney!]! +} + +type GiftLineItemValue implements CartDiscountValue { + type: String! + variantId: Int! + productRef: ProductReferenceIdentifier! + distributionChannelRef: ChannelReferenceIdentifier + supplyChannelRef: ChannelReferenceIdentifier +} + +type GoogleCloudFunctionDestination implements ExtensionDestination { + url: String! + type: String! +} + +type GoogleCloudPubSubDestination implements Destination { + projectId: String! + topic: String! + type: String! +} + +type HighPrecisionMoney implements BaseMoney { + type: String! + currencyCode: Currency! + preciseAmount: Long! + centAmount: Long! + fractionDigits: Int! +} + +type HttpDestination implements ExtensionDestination { + type: String! + url: String! + authentication: HttpDestinationAuthentication +} + +type Image { + url: String! + dimensions: Dimensions! + label: String +} + +type ImageProductSearch { + url: String! + dimensions: DimensionsProductSearch! + label: String +} + +type ImportStagedOrderCustomLineItemStateOutput implements StagedOrderUpdateActionOutput { + type: String! + customLineItemId: String + customLineItemKey: String + state: [ItemState!]! +} + +type ImportStagedOrderLineItemStateOutput implements StagedOrderUpdateActionOutput { + type: String! + lineItemId: String + lineItemKey: String + state: [ItemState!]! +} + +type InStore implements CartDiscountQueryInterface & CartQueryInterface & CustomerActiveCartInterface & OrderQueryInterface & CustomerQueryInterface & ShippingMethodsByCartInterface & MeFieldInterface { """ - storeKey: KeyReferenceInput - """Queries with specified Product ID""" - productId: String - """Queries with specified Product key""" - productKey: String + This field can only be used with an access token created with the password flow or with an anonymous session. + + It gives access to the data that is specific to the customer or the anonymous session linked to the access token. + """ + me: InStoreMe! + shippingMethodsByCart(id: String!): [ShippingMethod!]! + cartDiscount( """Queries with specified ID""" id: String """Queries with specified key""" key: String - version: Long! - ): ProductTailoring - updateProject(version: Long!, actions: [ProjectSettingsUpdateAction!]!): ProjectProjection - createStore(draft: CreateStore!): Store - updateStore( - version: Long! - actions: [StoreUpdateAction!]! + ): CartDiscount + cartDiscounts(where: String, sort: [String!], limit: Int, offset: Int): CartDiscountQueryResult! + discountCode( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Store - deleteStore( - version: Long! + ): DiscountCode + discountCodes(where: String, sort: [String!], limit: Int, offset: Int): DiscountCodeQueryResult! + product( + projectExpandedProducts: Boolean = false + localeProjection: [Locale!] + """Queries for a product with specified SKU""" + sku: String + """ + Queries for a [Product](https://docs.commercetools.com/api/projects/products#product) with specified [ProductVariant](https://docs.commercetools.com/api/projects/products#productvariant) `key` + """ + variantKey: String """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Store - createReview(draft: ReviewDraft!): Review - updateReview( - version: Long! - actions: [ReviewUpdateAction!]! + ): Product + customer( + """Queries a customer with specified email token""" + emailToken: String + """Queries a customer with specified password token""" + passwordToken: String """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Review - deleteReview( - version: Long! - personalDataErasure: Boolean = false + ): Customer + customers(where: String, sort: [String!], limit: Int, offset: Int): CustomerQueryResult! + cart(id: String!): Cart + carts(where: String, sort: [String!], limit: Int, offset: Int): CartQueryResult! + customerActiveCart(customerId: String!): Cart + order( + """Queries with specified ID""" + id: String + orderNumber: String + ): Order + orders(where: String, sort: [String!], limit: Int, offset: Int): OrderQueryResult! + shoppingList( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Review - createSubscription(draft: SubscriptionDraft!): CommercetoolsSubscription - updateSubscription( - version: Long! - actions: [SubscriptionUpdateAction!]! + ): ShoppingList + shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult! + productSelectionAssignments(where: String, sort: [String!], limit: Int, offset: Int): ProductAssignmentQueryResult! + productTailoring( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): CommercetoolsSubscription - deleteSubscription( - version: Long! + """Queries with specified Product ID""" + productId: String + """Queries with specified Product key""" + productKey: String + ): ProductTailoring + productTailoringList(where: String, sort: [String!], limit: Int, offset: Int): ProductTailoringQueryResult! + quoteRequest( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): CommercetoolsSubscription - createExtension(draft: ExtensionDraft!): Extension - updateExtension( - version: Long! - actions: [ExtensionUpdateAction!]! + ): QuoteRequest + quoteRequests(where: String, sort: [String!], limit: Int, offset: Int): QuoteRequestQueryResult! + stagedQuote( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Extension - deleteExtension( - version: Long! + ): StagedQuote + stagedQuotes(where: String, sort: [String!], limit: Int, offset: Int): StagedQuoteQueryResult! + quote( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): Extension - createApiClient(draft: CreateApiClient!): APIClientWithSecret - deleteApiClient(id: String!): APIClientWithoutSecret - createStandalonePrice(draft: CreateStandalonePrice!): StandalonePrice - updateStandalonePrice( - version: Long! - actions: [StandalonePriceUpdateAction!]! + ): Quote + quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult! + businessUnit( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): StandalonePrice - deleteStandalonePrice( - version: Long! + ): BusinessUnit + businessUnits(where: String, sort: [String!], limit: Int, offset: Int): BusinessUnitQueryResult! +} + +type InStoreMe implements MeQueryInterface & CartQueryInterface & ActiveCartInterface & OrderQueryInterface & ShoppingListQueryInterface { + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + customer: Customer + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + cart(id: String!): Cart + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + carts(where: String, sort: [String!], limit: Int, offset: Int): CartQueryResult! + activeCart: Cart + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + order( + """Queries with specified ID""" + id: String + orderNumber: String + ): Order + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + orders(where: String, sort: [String!], limit: Int, offset: Int): OrderQueryResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + shoppingList( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): StandalonePrice - createQuoteRequest( - draft: QuoteRequestDraft! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument + ): ShoppingList + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult! +} + +type InheritedAssociate { + associateRoleAssignments: [InheritedAssociateRoleAssignment!]! + customerRef: Reference + customer: Customer +} + +type InheritedAssociateRoleAssignment { + associateRoleRef: KeyReference! + associateRole: AssociateRole! + sourceRef: KeyReference! + source: BusinessUnit! +} + +type InheritedStore { + store: Store + storeRef: KeyReference! +} + +type InterfaceInteractionsRaw { + typeRef: Reference! + type: TypeDefinition + fields( + """ + The names of the custom fields to include. + + If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. + """ + includeNames: [String!] + """ + The names of the custom fields to exclude. + + If neither `includeNames` nor `excludeNames` are provided, then all custom fields are returned. + """ + excludeNames: [String!] + ): [RawCustomField!]! +} + +type InterfaceInteractionsRawResult { + limit: Int + offset: Int + total: Int! + results: [InterfaceInteractionsRaw!]! +} + +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type InventoryConfiguration { + reservationExpirationInMinutes: Int + releaseExpiredReservations: Boolean! +} + +""" +Inventory allows you to track stock quantity per SKU and optionally per supply channel +""" +type InventoryEntry implements Versioned & ReferenceExpandable { + sku: String! + quantityOnStock: Long! + availableQuantity: Long! + key: String + restockableInDays: Int + reservationExpirationInMinutes: Int + supplyChannel: Channel + expectedDelivery: DateTime + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + stockLevels: StockLevels + supplyChannelRef: Reference + minCartQuantity: Long + maxCartQuantity: Long + custom: CustomFieldsType + id: String! + version: Long! + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type InventoryEntryCreated implements MessagePayload { + inventoryEntry: InventoryEntry! + type: String! +} + +type InventoryEntryDeleted implements MessagePayload { + sku: String! + supplyChannel: Channel + supplyChannelRef: Reference + type: String! +} + +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type InventoryEntryOutOfStock implements MessagePayload { + sku: String! + supplyChannel: Channel + supplyChannelRef: Reference + type: String! +} + +type InventoryEntryQuantitySet implements MessagePayload { + oldQuantityOnStock: Long! + newQuantityOnStock: Long! + oldAvailableQuantity: Long! + newAvailableQuantity: Long! + sku: String + supplyChannel: Channel + supplyChannelRef: Reference + type: String! +} + +type InventoryEntryQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [InventoryEntry!]! +} + +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type InventoryEntryReorderPoint implements MessagePayload { + sku: String! + quantityOnStock: Int! + supplyChannel: Channel + supplyChannelRef: Reference + type: String! +} + +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type InventoryEntryReservationExpirationInMinutesSet implements MessagePayload { + oldReservationExpirationInMinutes: Int + newReservationExpirationInMinutes: Int + type: String! +} + +""" +BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta +""" +type InventoryEntrySafetyStock implements MessagePayload { + sku: String! + quantityOnStock: Int! + supplyChannel: Channel + supplyChannelRef: Reference + type: String! +} + +type ItemShippingAddressTargetDraftOutput { + quantity: Long! + addressKey: String! +} + +type ItemShippingDetails { + targets: [ItemShippingTarget!]! + valid: Boolean! +} + +type ItemShippingDetailsDraftOutput { + shippingTargets: [ShippingMethodTargetDraftOutput!]! + itemShippingAddressTargets: [ItemShippingAddressTargetDraftOutput!]! + targets: [ItemShippingTarget!]! +} + +type ItemShippingTarget { + addressKey: String! + quantity: Long! + shippingMethodKey: String +} + +type ItemState { + quantity: Long! + stateRef: Reference! + state: State +} + +type KeyReference { + typeId: String! + key: String! +} + +type Limit { + limit: Long +} + +""" +A line item is a snapshot of a product variant at the time it was added to the cart. + +Since a product variant may change at any time, the ProductVariant data is copied into the field variant. +The relation to the Product is kept but the line item will not automatically update if the product variant changes. +On the cart, the line item can be updated manually. The productSlug refers to the current version of the product. +It can be used to link to the product. If the product has been deleted, the line item remains but refers to a +non-existent product and the productSlug is left empty. + +Please also note that creating an order is impossible if the product or product variant a line item relates to has been deleted. +""" +type LineItem { + id: String! + key: String + productId: String! + productKey: String + name( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): QuoteRequest - updateQuoteRequest( - version: Long! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument - actions: [QuoteRequestUpdateAction!]! + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): QuoteRequest - deleteQuoteRequest( - version: Long! - personalDataErasure: Boolean = false + acceptLanguage: [Locale!] + ): String + nameAllLocales: [LocalizedString!]! + productSlug( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" + locale: Locale + """ + List of languages the client is able to understand, and which locale variant is preferred. + """ + acceptLanguage: [Locale!] + ): String + productSlugAllLocales: [LocalizedString!] + productType: ProductTypeDefinition + productTypeRef: Reference + variant: ProductVariant + price: ProductPrice! + taxedPrice: TaxedItemPrice + totalPrice: Money + quantity: Long! + addedAt: DateTime + lastModifiedAt: DateTime + state: [ItemState!]! + taxRate: TaxRate + supplyChannel: Channel + supplyChannelRef: Reference + distributionChannel: Channel + distributionChannelRef: Reference + discountedPricePerQuantity: [DiscountedLineItemPriceForQuantity!]! + lineItemMode: LineItemMode! + priceMode: LineItemPriceMode! + custom: CustomFieldsType + inventoryMode: InventoryMode + shippingDetails: ItemShippingDetails + perMethodTaxRate: [MethodTaxRate!]! + taxedPricePortions: [MethodTaxedPrice!]! + recurrenceInfo: LineItemRecurrenceInfo +} + +type LineItemDraftOutput { + productId: String + sku: String key: String - ): QuoteRequest - createMyQuoteRequest(draft: MyQuoteRequestDraft!): QuoteRequest - updateMyQuoteRequest( - version: Long! - actions: [MyQuoteRequestUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" + quantity: Long + variantId: Int + custom: CustomFieldsCommand + externalTaxRate: ExternalTaxRateDraftOutput + perMethodExternalTaxRate: [MethodExternalTaxRateDraftOutput!]! + externalPrice: BaseMoney + externalTotalPrice: ExternalLineItemTotalPrice + inventoryMode: InventoryMode + shippingDetails: ItemShippingDetailsDraftOutput + addedAt: DateTime + distributionChannelResId: ResourceIdentifier + supplyChannelResId: ResourceIdentifier + recurrenceInfo: LineItemRecurrenceInfoDraft +} + +"""The RecurrenceInfo returned in a LineItem""" +type LineItemRecurrenceInfo { + recurrencePolicy: RecurrencePolicy + recurrencePolicyRef: RecurrencePolicyRef! + expiresAt: DateTime + priceSelectionMode: PriceSelectionMode! +} + +"""The LineItemRecurrenceInfoDraft is used to create a RecurringOrder""" +type LineItemRecurrenceInfoDraft { + recurrencePolicyRef: RecurrencePolicyReferenceIdentifier + expiresAt: DateTime + priceSelectionMode: PriceSelectionMode! +} + +type LineItemReturnItem implements ReturnItem { + type: String! + lineItemId: String! + id: String! key: String - ): QuoteRequest - createStagedQuote( - draft: StagedQuoteDraft! + quantity: Long! + comment: String + shipmentState: ReturnShipmentState! + paymentState: ReturnPaymentState! + custom: CustomFieldsType + lastModifiedAt: DateTime! + createdAt: DateTime! +} + +type LineItemStateTransition implements MessagePayload & OrderMessagePayload { + lineItemId: String! + lineItemKey: String + transitionDate: DateTime! + quantity: Long! + fromState: State + toState: State + fromStateRef: Reference! + toStateRef: Reference! + type: String! +} + +type LineItemsTarget implements CartDiscountTarget { + predicate: String! + type: String! +} + +type LocalizableEnumAttributeDefinitionType implements AttributeDefinitionType { + values( + """ + The keys of the enum values to include. + + If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. + """ + includeKeys: [String!] + """ + The keys of the enum values to exclude. + + If neither `includeKeys` nor `excludeKeys` are provided, then all enum values are returned. + """ + excludeKeys: [String!] + limit: Int + offset: Int + sort: [String!] + ): LocalizableEnumValueTypeResult! + name: String! +} + +type LocalizableEnumValueType { + key: String! + label( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): StagedQuote - updateStagedQuote( - version: Long! - actions: [StagedQuoteUpdateAction!]! + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): StagedQuote - deleteStagedQuote( - version: Long! - personalDataErasure: Boolean = false + acceptLanguage: [Locale!] + ): String + labelAllLocales: [LocalizedString!]! +} + +type LocalizableEnumValueTypeResult { + limit: Int + offset: Int + total: Int! + results: [LocalizableEnumValueType!]! +} + +type LocalizableTextAttributeDefinitionType implements AttributeDefinitionType { + name: String! +} + +type LocalizedEnumAttribute implements Attribute { + key: String! + label( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): StagedQuote - createQuote( - draft: QuoteDraft! + locale: Locale! + ): String + name: String! +} + +type LocalizedEnumField implements CustomField { + key: String! + label( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): Quote - updateQuote( - version: Long! - actions: [QuoteUpdateAction!]! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument + locale: Locale! + ): String + name: String! +} + +type LocalizedEnumType implements FieldType { + values: [LocalizedEnumValue!]! + name: String! +} + +type LocalizedEnumValue { + key: String! + label( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Quote - deleteQuote( - version: Long! - personalDataErasure: Boolean = false + locale: Locale """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + List of languages the client is able to understand, and which locale variant is preferred. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Quote - updateMyQuote( - version: Long! - actions: [MyQuoteUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): Quote - createApprovalRule( - draft: ApprovalRuleDraft! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument! - ): ApprovalRule - updateApprovalRule( - version: Long! - actions: [ApprovalRuleUpdateAction!]! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): ApprovalRule - updateApprovalFlow( - version: Long! - actions: [ApprovalFlowUpdateAction!]! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument! - id: String! - ): ApprovalFlow - createBusinessUnit( - draft: BusinessUnitDraft! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument + acceptLanguage: [Locale!] + ): String + labelAllLocales: [LocalizedString!]! +} + +type LocalizedStringAttribute implements Attribute { + value( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - ): BusinessUnit - updateBusinessUnit( - version: Long! - actions: [BusinessUnitUpdateAction!]! - """Create/modify entity as an associate in business-unit.""" - asAssociate: AsAssociateArgument + locale: Locale! + ): String + name: String! +} + +type LocalizedStringField implements CustomField { + value( """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + String is defined for different locales. This argument specifies the desired locale. """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): BusinessUnit - deleteBusinessUnit( - version: Long! - personalDataErasure: Boolean = false + locale: Locale! + ): String + name: String! +} + +type LocalizedStringType implements FieldType { + name: String! +} + +type Location { + country: Country! + state: String +} + +type Me implements MeQueryInterface & CartQueryInterface & ActiveCartInterface & OrderQueryInterface & ShoppingListQueryInterface { """ - The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions. + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + customer: Customer """ - storeKey: KeyReferenceInput - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): BusinessUnit - createMyBusinessUnit(draft: MyBusinessUnitDraft!): BusinessUnit - updateMyBusinessUnit( - version: Long! - actions: [MyBusinessUnitUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): BusinessUnit - createAssociateRole(draft: AssociateRoleDraft!): AssociateRole - updateAssociateRole( - version: Long! - actions: [AssociateRoleUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): AssociateRole - deleteAssociateRole( - version: Long! - personalDataErasure: Boolean = false - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): AssociateRole - createRecurringOrder(draft: RecurringOrderDraft!): RecurringOrder - updateRecurringOrder( - version: Long! - actions: [RecurringOrderUpdateAction!]! - """Queries with specified ID""" - id: String - """Queries with specified key""" - key: String - ): RecurringOrder - deleteRecurringOrder( - version: Long! - personalDataErasure: Boolean = false + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + cart(id: String!): Cart + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + carts(where: String, sort: [String!], limit: Int, offset: Int): CartQueryResult! + activeCart: Cart + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + order( """Queries with specified ID""" id: String - """Queries with specified key""" - key: String - ): RecurringOrder - createRecurrencePolicy(draft: RecurrencePolicyDraft!): RecurrencePolicy - updateRecurrencePolicy( - version: Long! - actions: [RecurrencePolicyUpdateAction!]! + orderNumber: String + ): Order + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + orders(where: String, sort: [String!], limit: Int, offset: Int): OrderQueryResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + shoppingList( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): RecurrencePolicy - deleteRecurrencePolicy( - version: Long! + ): ShoppingList + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + shoppingLists(where: String, sort: [String!], limit: Int, offset: Int): ShoppingListQueryResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + payment(id: String!): MyPayment + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + payments(where: String, sort: [String!], limit: Int, offset: Int): MyPaymentQueryResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + quoteRequest( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): RecurrencePolicy - createPaymentMethod(draft: PaymentMethodDraft!): PaymentMethod - updatePaymentMethod( - version: Long! - actions: [PaymentMethodUpdateAction!]! + ): QuoteRequest + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + quoteRequests(where: String, sort: [String!], limit: Int, offset: Int): QuoteRequestQueryResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + quote( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): PaymentMethod - deletePaymentMethod( - version: Long! - personalDataErasure: Boolean = false + ): Quote + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult! + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + businessUnit( """Queries with specified ID""" id: String """Queries with specified key""" key: String - ): PaymentMethod + ): BusinessUnit + """ + BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta + """ + businessUnits(where: String, sort: [String!], limit: Int, offset: Int): BusinessUnitQueryResult! +} + +type Message implements Versioned & ReferenceExpandable { + id: String! + type: String! + sequenceNumber: Long! + resourceRef: Reference! + resourceVersion: Long! + userProvidedIdentifiers: UserProvidedIdentifiers + payload: MessagePayload! + version: Long! + createdAt: DateTime! + lastModifiedAt: DateTime! + createdBy: Initiator + lastModifiedBy: Initiator +} + +type MessageQueryResult { + offset: Int! + count: Int! + total: Long! + exists: Boolean! + results: [Message!]! +} + +type MessageSubscription { + resourceTypeId: String! + types: [String!]! +} + +type MessagesConfiguration { + enabled: Boolean! + deleteDaysAfterCreation: Int +} + +type MethodExternalTaxRateDraftOutput { + shippingMethodKey: String! + taxRate: ExternalTaxRateDraftOutput +} + +type MethodTaxRate { + shippingMethodKey: String! + taxRate: TaxRate +} + +type MethodTaxedPrice { + shippingMethodKey: String! + taxedPrice: TaxedItemPrice +} + +type Money implements BaseMoney { + type: String! + currencyCode: Currency! + centAmount: Long! + """ + For the `Money` it equals to the default number of fraction digits used with the currency. + """ + fractionDigits: Int! +} + +type MoneyAttribute implements Attribute { + centAmount: Long! + currencyCode: Currency! + name: String! +} + +type MoneyAttributeDefinitionType implements AttributeDefinitionType { + name: String! +} + +type MoneyField implements CustomField { + centAmount: Long! + currencyCode: Currency! + name: String! +} + +type MoneyType implements FieldType { + name: String! +} + +type MultiBuyCustomLineItemsTarget implements CartDiscountTarget { + predicate: String! + triggerQuantity: Long! + discountedQuantity: Long! + maxOccurrence: Int + selectionMode: SelectionMode! + type: String! +} + +type MultiBuyLineItemsTarget implements CartDiscountTarget { + predicate: String! + triggerQuantity: Long! + discountedQuantity: Long! + maxOccurrence: Int + selectionMode: SelectionMode! + type: String! } """ @@ -5464,7 +5611,7 @@ type OrderLineItemRemoved implements MessagePayload & OrderMessagePayload { lineItemKey: String removedQuantity: Long! newQuantity: Long! - newState: Set! + newState: [ItemState!]! newTotalPrice: Money! newPrice: ProductPrice newShippingDetails: ItemShippingDetails @@ -6169,7 +6316,7 @@ type ProductData { } type ProductDeleted implements MessagePayload { - removedImageUrls: Set! + removedImageUrls: [String!]! currentProjection: ProductProjectionMessagePayload type: String! } @@ -6662,7 +6809,7 @@ type ProductRemovedFromCategory implements MessagePayload { } type ProductRevertedStagedChanges implements MessagePayload { - removedImageUrls: Set! + removedImageUrls: [String!]! type: String! } @@ -7293,7 +7440,7 @@ type ProductVariantAvailabilityWithChannels { } type ProductVariantDeleted implements MessagePayload { - removedImageUrls: Set! + removedImageUrls: [String!]! variant: ProductVariant staged: Boolean type: String! @@ -7875,11 +8022,6 @@ type RecurringPaymentConfiguration { paymentAllocations: [RecurringPaymentAllocation!]! } -type Reference { - typeId: String! - id: String! -} - type ReferenceAttribute implements Attribute { typeId: String! id: String! @@ -9707,6 +9849,14 @@ type ZoneRate { zone: Zone } +interface McpServerConfig { + type: McpServerType! + majorVersion: String! + url: String! + tools: [String!]! + toolCustomizations: [ToolCustomization!]! +} + """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ @@ -10092,6 +10242,28 @@ interface ShippingRatePriceTier { type: String! } +enum AttributionSource { + Export + Import +} +enum McpServerType { + CommerceMCP +} +enum McpServerAuthenticationMode { + Identity + BearerToken +} +enum McpServerState { + Enabled + Disabled +} +enum McpServerToolOutputFormatting { + JsonToTabular +} +enum McpToolOperationType { + read + write +} enum ProductSearchFacetScopeEnum { """ProductSearchFacetScopeEnum 'all' type.""" all @@ -10359,10 +10531,6 @@ enum TextInputHint { SingleLine MultiLine } -enum AttributionSource { - Export - Import -} enum AuthenticationMode { ExternalAuth Password @@ -10375,6 +10543,14 @@ enum ChosenDiscountType { CartDiscount ProductDiscount } +enum VersionControl { + On + Off +} +enum BulkUpdateVariantsItemStatus { + Success + Fail +} enum BusinessUnitStatus { Active Inactive @@ -10752,6 +10928,154 @@ enum ShippingMethodState { """ MatchesCart } +input LocalizedStringItemInputType { + locale: Locale! + value: String! +} + +input McpServerJsonOutputFilteringMatcherInput { + fieldPaths: [String!] + fieldNames: [String!] + fieldNameContains: [String!] +} + +input McpServerJsonOutputFilteringInput { + redact: McpServerJsonOutputFilteringMatcherInput + drop: McpServerJsonOutputFilteringMatcherInput + fieldPathsToKeep: [String!] + redactedWith: String +} + +input McpServerDraft { + key: String! + name: [LocalizedStringItemInputType!] + description: [LocalizedStringItemInputType!] + authenticationMode: McpServerAuthenticationMode + state: McpServerState + mcpServer: McpServerConfigDraft! +} + +input McpServerConfigDraft { + commerce: CommerceMcpServerConfigDraft +} + +input CommerceMcpServerConfigDraft { + majorVersion: String! + tools: [String!]! + toolCustomizations: [ToolCustomizationDraft!] + jsonOutputFiltering: McpServerJsonOutputFilteringInput + toolOutputFormatting: McpServerToolOutputFormatting +} + +""" +Draft for `ToolCustomization`. At least one of `description` or a +non-empty `parameters` list MUST be present; parameter names within +`parameters` MUST be unique. The `tool` field is validated against the +server's `(type, majorVersion)` tool set at write time. +""" +input ToolCustomizationDraft { + tool: String! + description: String + parameters: [ParameterOverrideDraft!] +} + +""" +Draft for `ParameterOverride`. At least one of `description`, `const`, +`default`, or `enum` MUST be present. `const` is mutually exclusive +with both `default` and `enum`. +""" +input ParameterOverrideDraft { + name: String! + description: String + """ + Pins the parameter to a fixed value. Mutually exclusive with `default` and `enum`. + """ + const: JsonPrimitive + """ + Default value applied when the caller omits the parameter. Mutually exclusive with `const`. + """ + default: JsonPrimitive + """ + Restricts accepted values to this set. Mutually exclusive with `const`. + """ + enum: [JsonPrimitive!] +} + +input McpServerUpdateAction { + setTools: SetMcpServerTools + addTool: AddMcpServerTool + removeTool: RemoveMcpServerTool + setToolCustomizations: SetMcpServerToolCustomizations + addToolCustomization: AddMcpServerToolCustomization + removeToolCustomization: RemoveMcpServerToolCustomization + setName: SetMcpServerName + setDescription: SetMcpServerDescription + setState: SetMcpServerState + setAuthenticationMode: SetMcpServerAuthenticationMode + setJsonOutputFiltering: SetMcpServerJsonOutputFiltering + setToolOutputFormatting: SetMcpServerToolOutputFormatting +} + +input SetMcpServerTools { + tools: [String!]! +} + +input AddMcpServerTool { + tool: String! +} + +input RemoveMcpServerTool { + tool: String! +} + +input SetMcpServerToolCustomizations { + toolCustomizations: [ToolCustomizationDraft!]! +} + +input AddMcpServerToolCustomization { + toolCustomization: ToolCustomizationDraft! +} + +input RemoveMcpServerToolCustomization { + toolCustomization: RemoveToolCustomizationTarget! +} + +input RemoveToolCustomizationTarget { + tool: String! +} + +input SetMcpServerName { + name: [LocalizedStringItemInputType!] +} + +input SetMcpServerDescription { + description: [LocalizedStringItemInputType!] +} + +input SetMcpServerState { + state: McpServerState! +} + +input SetMcpServerAuthenticationMode { + authenticationMode: McpServerAuthenticationMode! +} + +""" +Sets or clears `mcpServer.jsonOutputFiltering`. Omitting the value clears the +field; the whole object is replaced atomically when a value is provided. +""" +input SetMcpServerJsonOutputFiltering { + jsonOutputFiltering: McpServerJsonOutputFilteringInput +} + +""" +Sets or clears `mcpServer.toolOutputFormatting`. Omitting the value clears the +field. +""" +input SetMcpServerToolOutputFormatting { + toolOutputFormatting: McpServerToolOutputFormatting +} + """ BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta """ @@ -13610,11 +13934,6 @@ input LocalizedEnumValueInput { label: [LocalizedStringItemInputType!]! } -input LocalizedStringItemInputType { - locale: Locale! - value: String! -} - input LockCart { dummy: String } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java index 7f76ce87e9..a23df856b8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java @@ -21,7 +21,7 @@ /** *
For performance reasons, it is highly advisable to query for Custom Objects in a container by using the container field in the where predicate.
This endpoint is deprecated and replaced by the Query CustomObjects in Container endpoint.
+ *This endpoint is deprecated and replaced by the Query CustomObjects in Container endpoint.
* *However, an Order can be created if the InventoryEntry restockableInDays is set (including 0).
This feature is in Beta.
When Line Items are added to a Cart, they are automatically reserved. The reservation can be released by removing the Line Item from the Cart or changing their inventory mode to something other than ReserveOnCart. Reservations expire after the time specified in the Project's reservationExpirationInMinutes setting.
To use this inventory mode, you must set the reservation expiration time on the Project using the Set Reservation Expiration In Minutes update action.
*/ InventoryMode RESERVE_ON_CART = InventoryModeEnum.RESERVE_ON_CART; diff --git a/licenses/commercetools-apachehttp-client/index.json b/licenses/commercetools-apachehttp-client/index.json index 1475773d00..6b89666086 100644 --- a/licenses/commercetools-apachehttp-client/index.json +++ b/licenses/commercetools-apachehttp-client/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-async-http-client/index.json b/licenses/commercetools-async-http-client/index.json index 229418fe2e..ff3f5430d9 100644 --- a/licenses/commercetools-async-http-client/index.json +++ b/licenses/commercetools-async-http-client/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], @@ -141,7 +141,7 @@ }, { "moduleName": "io.netty:netty-buffer", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -154,7 +154,7 @@ }, { "moduleName": "io.netty:netty-codec", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -167,7 +167,7 @@ }, { "moduleName": "io.netty:netty-codec-base", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -180,7 +180,7 @@ }, { "moduleName": "io.netty:netty-codec-compression", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -193,7 +193,7 @@ }, { "moduleName": "io.netty:netty-codec-http", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -206,7 +206,7 @@ }, { "moduleName": "io.netty:netty-codec-marshalling", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -219,7 +219,7 @@ }, { "moduleName": "io.netty:netty-codec-protobuf", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -232,7 +232,7 @@ }, { "moduleName": "io.netty:netty-codec-socks", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -245,7 +245,7 @@ }, { "moduleName": "io.netty:netty-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -258,7 +258,7 @@ }, { "moduleName": "io.netty:netty-handler", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -271,7 +271,7 @@ }, { "moduleName": "io.netty:netty-handler-proxy", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -284,7 +284,7 @@ }, { "moduleName": "io.netty:netty-resolver", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -297,7 +297,7 @@ }, { "moduleName": "io.netty:netty-transport", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -362,7 +362,7 @@ }, { "moduleName": "io.netty:netty-transport-native-unix-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], diff --git a/licenses/commercetools-graphql-api/index.json b/licenses/commercetools-graphql-api/index.json index 930a0846c0..ac7d71618c 100644 --- a/licenses/commercetools-graphql-api/index.json +++ b/licenses/commercetools-graphql-api/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-http-client/index.json b/licenses/commercetools-http-client/index.json index 229418fe2e..ff3f5430d9 100644 --- a/licenses/commercetools-http-client/index.json +++ b/licenses/commercetools-http-client/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], @@ -141,7 +141,7 @@ }, { "moduleName": "io.netty:netty-buffer", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -154,7 +154,7 @@ }, { "moduleName": "io.netty:netty-codec", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -167,7 +167,7 @@ }, { "moduleName": "io.netty:netty-codec-base", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -180,7 +180,7 @@ }, { "moduleName": "io.netty:netty-codec-compression", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -193,7 +193,7 @@ }, { "moduleName": "io.netty:netty-codec-http", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -206,7 +206,7 @@ }, { "moduleName": "io.netty:netty-codec-marshalling", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -219,7 +219,7 @@ }, { "moduleName": "io.netty:netty-codec-protobuf", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -232,7 +232,7 @@ }, { "moduleName": "io.netty:netty-codec-socks", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -245,7 +245,7 @@ }, { "moduleName": "io.netty:netty-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -258,7 +258,7 @@ }, { "moduleName": "io.netty:netty-handler", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -271,7 +271,7 @@ }, { "moduleName": "io.netty:netty-handler-proxy", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -284,7 +284,7 @@ }, { "moduleName": "io.netty:netty-resolver", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -297,7 +297,7 @@ }, { "moduleName": "io.netty:netty-transport", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -362,7 +362,7 @@ }, { "moduleName": "io.netty:netty-transport-native-unix-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], diff --git a/licenses/commercetools-importapi-utils/index.json b/licenses/commercetools-importapi-utils/index.json index 138ae53640..c7ca318282 100644 --- a/licenses/commercetools-importapi-utils/index.json +++ b/licenses/commercetools-importapi-utils/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-javanet-client/index.json b/licenses/commercetools-javanet-client/index.json index 1f673a5989..8b16692306 100644 --- a/licenses/commercetools-javanet-client/index.json +++ b/licenses/commercetools-javanet-client/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-monitoring-datadog/index.json b/licenses/commercetools-monitoring-datadog/index.json index b629ed056b..df1b6e7ef6 100644 --- a/licenses/commercetools-monitoring-datadog/index.json +++ b/licenses/commercetools-monitoring-datadog/index.json @@ -2,7 +2,7 @@ "dependencies": [ { "moduleName": "com.datadoghq:datadog-api-client", - "moduleVersion": "2.54.0", + "moduleVersion": "2.55.0", "moduleUrls": [ "https://github.com/DataDog/datadog-api-client-java" ], @@ -45,7 +45,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -58,7 +58,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -71,7 +71,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], @@ -84,7 +84,7 @@ }, { "moduleName": "com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-base" ], diff --git a/licenses/commercetools-monitoring-newrelic/index.json b/licenses/commercetools-monitoring-newrelic/index.json index c3c15a2ea6..b9d32a915f 100644 --- a/licenses/commercetools-monitoring-newrelic/index.json +++ b/licenses/commercetools-monitoring-newrelic/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-monitoring-opentelemetry/index.json b/licenses/commercetools-monitoring-opentelemetry/index.json index da35bc74e2..2d4a4612f5 100644 --- a/licenses/commercetools-monitoring-opentelemetry/index.json +++ b/licenses/commercetools-monitoring-opentelemetry/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-okhttp-client3/index.json b/licenses/commercetools-okhttp-client3/index.json index e0776a7cf0..1567d9dfec 100644 --- a/licenses/commercetools-okhttp-client3/index.json +++ b/licenses/commercetools-okhttp-client3/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-okhttp-client4/index.json b/licenses/commercetools-okhttp-client4/index.json index 314c59993b..95a870b044 100644 --- a/licenses/commercetools-okhttp-client4/index.json +++ b/licenses/commercetools-okhttp-client4/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-okhttp-client5/index.json b/licenses/commercetools-okhttp-client5/index.json index 7c62db0787..b89109b0a5 100644 --- a/licenses/commercetools-okhttp-client5/index.json +++ b/licenses/commercetools-okhttp-client5/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-reactornetty-client/index.json b/licenses/commercetools-reactornetty-client/index.json index feedcbc05e..99708e94ac 100644 --- a/licenses/commercetools-reactornetty-client/index.json +++ b/licenses/commercetools-reactornetty-client/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-sdk-compat-v1/index.json b/licenses/commercetools-sdk-compat-v1/index.json index 8e3e92323d..ff798dd9be 100644 --- a/licenses/commercetools-sdk-compat-v1/index.json +++ b/licenses/commercetools-sdk-compat-v1/index.json @@ -85,7 +85,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -98,7 +98,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -111,7 +111,7 @@ }, { "moduleName": "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-dataformats-binary" ], @@ -124,7 +124,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], @@ -137,7 +137,7 @@ }, { "moduleName": "com.fasterxml.jackson.module:jackson-module-parameter-names", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-module-parameter-names" ], @@ -243,7 +243,7 @@ }, { "moduleName": "io.netty:netty-buffer", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -256,7 +256,7 @@ }, { "moduleName": "io.netty:netty-codec", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -269,7 +269,7 @@ }, { "moduleName": "io.netty:netty-codec-base", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -282,7 +282,7 @@ }, { "moduleName": "io.netty:netty-codec-compression", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -295,7 +295,7 @@ }, { "moduleName": "io.netty:netty-codec-http", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -308,7 +308,7 @@ }, { "moduleName": "io.netty:netty-codec-marshalling", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -321,7 +321,7 @@ }, { "moduleName": "io.netty:netty-codec-protobuf", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -334,7 +334,7 @@ }, { "moduleName": "io.netty:netty-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -347,7 +347,7 @@ }, { "moduleName": "io.netty:netty-handler", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -360,7 +360,7 @@ }, { "moduleName": "io.netty:netty-resolver", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -373,7 +373,7 @@ }, { "moduleName": "io.netty:netty-transport", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -399,7 +399,7 @@ }, { "moduleName": "io.netty:netty-transport-native-unix-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], diff --git a/licenses/commercetools-sdk-java-api/index.json b/licenses/commercetools-sdk-java-api/index.json index 138ae53640..c7ca318282 100644 --- a/licenses/commercetools-sdk-java-api/index.json +++ b/licenses/commercetools-sdk-java-api/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-sdk-java-checkout/index.json b/licenses/commercetools-sdk-java-checkout/index.json index c2248f8f8d..d279ef945a 100644 --- a/licenses/commercetools-sdk-java-checkout/index.json +++ b/licenses/commercetools-sdk-java-checkout/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-sdk-java-history/index.json b/licenses/commercetools-sdk-java-history/index.json index c2248f8f8d..d279ef945a 100644 --- a/licenses/commercetools-sdk-java-history/index.json +++ b/licenses/commercetools-sdk-java-history/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/commercetools-sdk-java-importapi/index.json b/licenses/commercetools-sdk-java-importapi/index.json index c2248f8f8d..d279ef945a 100644 --- a/licenses/commercetools-sdk-java-importapi/index.json +++ b/licenses/commercetools-sdk-java-importapi/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/licenses/index.json b/licenses/index.json index 8762177b12..bd1dde4c09 100644 --- a/licenses/index.json +++ b/licenses/index.json @@ -72,7 +72,7 @@ }, { "moduleName": "com.datadoghq:datadog-api-client", - "moduleVersion": "2.54.0", + "moduleVersion": "2.55.0", "moduleUrls": [ "https://github.com/DataDog/datadog-api-client-java" ], @@ -115,7 +115,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -128,7 +128,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -141,7 +141,7 @@ }, { "moduleName": "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-dataformats-binary" ], @@ -154,7 +154,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], @@ -167,7 +167,7 @@ }, { "moduleName": "com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-base" ], @@ -180,7 +180,7 @@ }, { "moduleName": "com.fasterxml.jackson.module:jackson-module-parameter-names", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-module-parameter-names" ], @@ -622,7 +622,7 @@ }, { "moduleName": "io.netty:netty-buffer", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -635,7 +635,7 @@ }, { "moduleName": "io.netty:netty-codec", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -661,7 +661,7 @@ }, { "moduleName": "io.netty:netty-codec-base", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -700,7 +700,7 @@ }, { "moduleName": "io.netty:netty-codec-compression", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -739,7 +739,7 @@ }, { "moduleName": "io.netty:netty-codec-http", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -779,7 +779,7 @@ }, { "moduleName": "io.netty:netty-codec-marshalling", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -809,7 +809,7 @@ }, { "moduleName": "io.netty:netty-codec-protobuf", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -835,7 +835,7 @@ }, { "moduleName": "io.netty:netty-codec-socks", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -861,7 +861,7 @@ }, { "moduleName": "io.netty:netty-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -887,7 +887,7 @@ }, { "moduleName": "io.netty:netty-handler", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -913,7 +913,7 @@ }, { "moduleName": "io.netty:netty-handler-proxy", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -939,7 +939,7 @@ }, { "moduleName": "io.netty:netty-resolver", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -1004,7 +1004,7 @@ }, { "moduleName": "io.netty:netty-transport", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], @@ -1121,7 +1121,7 @@ }, { "moduleName": "io.netty:netty-transport-native-unix-common", - "moduleVersion": "4.2.13.Final", + "moduleVersion": "4.2.14.Final", "moduleUrls": [ "https://netty.io/" ], diff --git a/licenses/rmf-java-base/index.json b/licenses/rmf-java-base/index.json index 3e5f204831..0931357bb8 100644 --- a/licenses/rmf-java-base/index.json +++ b/licenses/rmf-java-base/index.json @@ -15,7 +15,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-core", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-core" ], @@ -28,7 +28,7 @@ }, { "moduleName": "com.fasterxml.jackson.core:jackson-databind", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson" ], @@ -41,7 +41,7 @@ }, { "moduleName": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", - "moduleVersion": "2.21.3", + "moduleVersion": "2.21.4", "moduleUrls": [ "https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310" ], diff --git a/reference.txt b/reference.txt new file mode 100644 index 0000000000..f1d4401390 --- /dev/null +++ b/reference.txt @@ -0,0 +1 @@ +e0dd8978d71550041b641f3dda604a69454fc097 diff --git a/references.txt b/references.txt index 4327e123a0..b82528e4dc 100644 --- a/references.txt +++ b/references.txt @@ -557,3 +557,7 @@ f83d94426436ce8bcb69883a6c74e92b55f684b5 a4f238d5a4c1c21a0879492c797b531172629295 f9cc6c487014f23d946d77973ea9b8ca04427b99 f3953bd6897e754279670079ed10ee1423e80b7a +25764c6fb8144de8c9e1d9644baf6da6c15eae37 +b160c5271c6450971a37600ed078c9c1c2841c33 +a5fd91b303a01c80426689a778f4ab20506a3d9f +be3dc3f9e725eef0c85f8e6084f096878d4a354c