Releases: commercetools/commercetools-sdk-java-v2
16.1.0
What's Changed
- Update generated SDKs by @github-actions in #479
Api changes
Required Property(s)
- changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeMyShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeMyShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeMyShoppingListSetLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemDescriptionAction
to be optional - changed property
lineItemId
of typeShoppingListChangeLineItemQuantityAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemDescriptionAction
to be optional
Added Property(s)
- added property
perMethodExternalTaxRate
to typeLineItemDraft
- added property
key
to typeMyShoppingListAddLineItemAction
- added property
key
to typeMyShoppingListAddTextLineItemAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeMyShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeMyShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeMyShoppingListSetLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemDescriptionAction
- added property
cart
to typeQuoteRequest
- added property
key
to typeShoppingListLineItem
- added property
key
to typeShoppingListLineItemDraft
- added property
key
to typeTextLineItem
- added property
key
to typeTextLineItemDraft
- added property
key
to typeShoppingListAddLineItemAction
- added property
key
to typeShoppingListAddTextLineItemAction
- added property
lineItemKey
to typeShoppingListChangeLineItemQuantityAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomFieldAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemDescriptionAction
- added property
staged
to typeStandalonePriceDraft
Added Type(s)
- added type
MethodExternalTaxRateDraft
- added type
CustomerAddressCustomFieldAddedMessage
- added type
CustomerAddressCustomFieldChangedMessage
- added type
CustomerAddressCustomFieldRemovedMessage
- added type
CustomerAddressCustomTypeRemovedMessage
- added type
CustomerAddressCustomTypeSetMessage
- added type
CustomerCustomFieldAddedMessage
- added type
CustomerCustomFieldChangedMessage
- added type
CustomerCustomFieldRemovedMessage
- added type
CustomerCustomTypeRemovedMessage
- added type
CustomerCustomTypeSetMessage
- added type
QuoteRenegotiationRequestedMessage
- added type
StandalonePriceStagedChangesRemovedMessage
- added type
CustomerAddressCustomFieldAddedMessagePayload
- added type
CustomerAddressCustomFieldChangedMessagePayload
- added type
CustomerAddressCustomFieldRemovedMessagePayload
- added type
CustomerAddressCustomTypeRemovedMessagePayload
- added type
CustomerAddressCustomTypeSetMessagePayload
- added type
CustomerCustomFieldAddedMessagePayload
- added type
CustomerCustomFieldChangedMessagePayload
- added type
CustomerCustomFieldRemovedMessagePayload
- added type
CustomerCustomTypeRemovedMessagePayload
- added type
CustomerCustomTypeSetMessagePayload
- added type
CustomerMessagePayload
- added type
QuoteRenegotiationRequestedMessagePayload
- added type
StandalonePriceStagedChangesRemovedMessagePayload
- added type
StagedPriceDraft
- added type
StandalonePriceRemoveStagedChangesAction
Removed Method(s)
⚠️ removed methodapiRoot.withProjectKey().me().payments().withKey().get()
⚠️ removed methodapiRoot.withProjectKey().me().payments().withKey().post()
⚠️ removed methodapiRoot.withProjectKey().me().payments().withKey().delete()
Removed Resource(s)
⚠️ removed resource/{projectKey}/me/payments/key={key}
Removed Enum(s)
⚠️ removed enumFailed
from typeQuoteState
Import changes
Added Property(s)
- added property
canceled
to typeOperationStates
Added Enum(s)
- added enum
canceled
to typeProcessingState
History changes
Added QueryParameter(s)
- added query parameter
associateId
to methodget /{projectKey}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}/{ID}
Added Property(s)
- added property
associate
to typeModifiedBy
Full Changelog: 16.0.0...16.1.0
16.0.0
What's Changed
- add util to create ApiRootBuilder from environment variables or prope… by @jenschude in #476
- Lock file maintenance by @renovate in #474
- Fix serializer initialisation by @jenschude in #475
- Update generated SDKs by @github-actions in #469
- Update all dependencies by @renovate in #472
Api changes
Added Type(s)
- added type
MethodExternalTaxRateDraft
- added type
QuoteRenegotiationRequestedMessage
- added type
QuoteRenegotiationRequestedMessagePayload
Added Property(s)
- added property
perMethodExternalTaxRate
to typeLineItemDraft
- added property
key
to typeMyShoppingListAddLineItemAction
- added property
key
to typeMyShoppingListAddTextLineItemAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeMyShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeMyShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeMyShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeMyShoppingListSetLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeMyShoppingListSetTextLineItemDescriptionAction
- added property
cart
to typeQuoteRequest
- added property
key
to typeShoppingListLineItem
- added property
key
to typeShoppingListLineItemDraft
- added property
key
to typeTextLineItem
- added property
key
to typeTextLineItemDraft
- added property
key
to typeShoppingListAddLineItemAction
- added property
key
to typeShoppingListAddTextLineItemAction
- added property
lineItemKey
to typeShoppingListChangeLineItemQuantityAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemNameAction
- added property
textLineItemKey
to typeShoppingListChangeTextLineItemQuantityAction
- added property
lineItemKey
to typeShoppingListRemoveLineItemAction
- added property
textLineItemKey
to typeShoppingListRemoveTextLineItemAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomFieldAction
- added property
lineItemKey
to typeShoppingListSetLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomFieldAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemCustomTypeAction
- added property
textLineItemKey
to typeShoppingListSetTextLineItemDescriptionAction
Required Property(s)
- changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeMyShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeMyShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeMyShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeMyShoppingListSetLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeMyShoppingListSetTextLineItemDescriptionAction
to be optional - changed property
lineItemId
of typeShoppingListChangeLineItemQuantityAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemNameAction
to be optional - changed property
textLineItemId
of typeShoppingListChangeTextLineItemQuantityAction
to be optional - changed property
lineItemId
of typeShoppingListRemoveLineItemAction
to be optional - changed property
textLineItemId
of typeShoppingListRemoveTextLineItemAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeShoppingListSetLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomFieldAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemCustomTypeAction
to be optional - changed property
textLineItemId
of typeShoppingListSetTextLineItemDescriptionAction
to be optional
Removed Enum(s)
⚠️ removed enumFailed
from typeQuoteState
Import changes
Added Property(s)
- added property
canceled
to typeOperationStates
Added Enum(s)
- added enum
canceled
to typeProcessingState
History changes
Added QueryParameter(s)
- added query parameter
associateId
to methodget /{projectKey}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}
- added query parameter
associateId
to methodget /{projectKey}/{resourceType}/{ID}
Added Property(s)
- added property
associate
to typeModifiedBy
Full Changelog: 15.0.1...16.0.0
15.0.1
Fixes
- fix deserialization error for datetime attributes and custom fields with invalid offsets
Full Changelog: 15.0.0...15.0.1
15.0.0
What's Changed
- Update generated SDKs by @github-actions in #467
- Update all dependencies by @renovate in #437
- Lock file maintenance by @renovate in #375
- Update generated SDKs by @github-actions in #468
Breaking changes
- deprecated properties & types removed
- CartDiscountValueFixed now supports HighPrecisionMoney and changed from CentPrecisionMoney to TypedMoney
- Business Unit & Associate beta changes
- Order Edit clarifications and corrections
- deprecated
com.commercetools.api.models.PagedQueryResourceRequest
removed
Changelog for generated parts
Api changes
Changed Property(s)
⚠️ changed propertymoney
of typeCartDiscountValueFixed
from typeCentPrecisionMoney[]
toTypedMoney[]
Added Property(s)
- added property
taxedPricePortions
to typeCustomLineItem
- added property
customLineItemKey
to typeCartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
- added property
customLineItemKey
to typeCartChangeCustomLineItemMoneyAction
- added property
customLineItemKey
to typeCartChangeCustomLineItemPriceModeAction
- added property
customLineItemKey
to typeCartChangeCustomLineItemQuantityAction
- added property
customLineItemKey
to typeCartRemoveCustomLineItemAction
- added property
customLineItemKey
to typeCartSetCustomLineItemCustomFieldAction
- added property
customLineItemKey
to typeCartSetCustomLineItemCustomTypeAction
- added property
customLineItemKey
to typeCartSetCustomLineItemShippingDetailsAction
- added property
customLineItemKey
to typeCartSetCustomLineItemTaxAmountAction
- added property
shippingKey
to typeCartSetCustomLineItemTaxAmountAction
- added property
customLineItemKey
to typeCartSetCustomLineItemTaxRateAction
- added property
shippingKey
to typeCartSetCustomLineItemTaxRateAction
- added property
associate
to typeClientLogging
- added property
associate
to typeCreatedBy
- added property
associate
to typeLastModifiedBy
- added property
customLineItemKey
to typeCustomLineItemStateTransitionMessage
- added property
lineItemKey
to typeLineItemStateTransitionMessage
- added property
customLineItemKey
to typeOrderCustomLineItemDiscountSetMessage
- added property
customLineItemKey
to typeOrderCustomLineItemQuantityChangedMessage
- added property
customLineItemKey
to typeOrderCustomLineItemRemovedMessage
- added property
lineItemKey
to typeOrderLineItemDiscountSetMessage
- added property
lineItemKey
to typeOrderLineItemDistributionChannelSetMessage
- added property
lineItemKey
to typeOrderLineItemRemovedMessage
- added property
customLineItemKey
to typeCustomLineItemStateTransitionMessagePayload
- added property
lineItemKey
to typeLineItemStateTransitionMessagePayload
- added property
customLineItemKey
to typeOrderCustomLineItemDiscountSetMessagePayload
- added property
customLineItemKey
to typeOrderCustomLineItemQuantityChangedMessagePayload
- added property
customLineItemKey
to typeOrderCustomLineItemRemovedMessagePayload
- added property
lineItemKey
to typeOrderLineItemDiscountSetMessagePayload
- added property
lineItemKey
to typeOrderLineItemDistributionChannelSetMessagePayload
- added property
lineItemKey
to typeOrderLineItemRemovedMessagePayload
- added property
directDiscounts
to typeStagedOrder
- added property
shippingDetails
to typeStagedOrderAddCustomLineItemAction
- added property
inventoryMode
to typeStagedOrderAddLineItemAction
- added property
customLineItemKey
to typeStagedOrderChangeCustomLineItemMoneyAction
- added property
customLineItemKey
to typeStagedOrderChangeCustomLineItemQuantityAction
- added property
customLineItemKey
to typeStagedOrderImportCustomLineItemStateAction
- added property
lineItemKey
to typeStagedOrderImportLineItemStateAction
- added property
customLineItemKey
to typeStagedOrderRemoveCustomLineItemAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemCustomFieldAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemCustomTypeAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemShippingDetailsAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemTaxAmountAction
- added property
shippingKey
to typeStagedOrderSetCustomLineItemTaxAmountAction
- added property
customLineItemKey
to typeStagedOrderSetCustomLineItemTaxRateAction
- added property
shippingKey
to typeStagedOrderSetCustomLineItemTaxRateAction
- added property
returnItemKey
to typeStagedOrderSetReturnItemCustomFieldAction
- added property
returnItemKey
to typeStagedOrderSetReturnItemCustomTypeAction
- added property
returnItemKey
to typeStagedOrderSetReturnPaymentStateAction
- added property
returnItemKey
to typeStagedOrderSetReturnShipmentStateAction
- added property
customLineItemKey
to typeStagedOrderTransitionCustomLineItemStateAction
- added property
lineItemKey
to typeStagedOrderTransitionLineItemStateAction
- added property
key
to typeCustomLineItemImportDraft
- added property
key
to typeCustomLineItemReturnItem
- added property
key
to typeLineItemImportDraft
- added property
key
to typeLineItemReturnItem
- added property
directDiscounts
to typeOrder
- added property
purchaseOrderNumber
to typeOrderImportDraft
- added property
taxCalculationMode
to typeOrderImportDraft
- added property
key
to typeReturnItem
- added property
key
to typeReturnItemDraft
- added property
customLineItemKey
to typeOrderImportCustomLineItemStateAction
- added property
lineItemKey
to typeOrderImportLineItemStateAction
- added property
customLineItemKey
to typeOrderSetCustomLineItemCustomFieldAction
- added property
customLineItemKey
to typeOrderSetCustomLineItemCustomTypeAction
- added property
customLineItemKey
to typeOrderSetCustomLineItemShippingDetailsAction
- added property
returnItemKey
to typeOrderSetReturnItemCustomFieldAction
- added property
returnItemKey
to typeOrderSetReturnItemCustomTypeAction
- added property
returnItemKey
to typeOrderSetReturnPaymentStateAction
- added property
returnItemKey
to typeOrderSetReturnShipmentStateAction
- added property
customLineItemKey
to typeOrderTransitionCustomLineItemStateAction
- added property
lineItemKey
to typeOrderTransitionLineItemStateAction
Required Property(s)
⚠️ changed propertyassociateRoleAssignments
of typeAssociateDraft
to be required⚠️ changed propertypaymentState
of typeStagedOrderChangePaymentStateAction
to be required⚠️ changed propertyshipmentState
of typeStagedOrderChangeShipmentStateAction
to be required⚠️ changed propertypaymentState
of typeOrderChangePaymentStateAction
to be required⚠️ changed propertyshipmentState
of typeOrderChangeShipmentStateAction
to be required- changed property
roles
of typeAssociate
to be optional - changed property
customLineItemId
of typeCartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
to be optional - changed property
customLineItemId
of typeCartChangeCustomLineItemMoneyAction
to be optional - changed property
customLineItemId
of typeCartChangeCustomLineItemPriceModeAction
to be optional - changed property
customLineItemId
of typeCartChangeCustomLineItemQuantityAction
to be optional - changed property
customLineItemId
of typeCartRemoveCustomLineItemAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemCustomFieldAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemCustomTypeAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemShippingDetailsAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemTaxAmountAction
to be optional - changed property
customLineItemId
of typeCartSetCustomLineItemTaxRateAction
to be optional - changed property
centAmount
of typeCentPrecisionMoneyDraft
to be optional - changed property
centAmount
of typeTypedMoneyDraft
to be optional - changed property
comment
of typeMyQuoteRequestDraft
to be optional - changed property
customLineItemId
of typeStagedOrderChangeCustomLineItemMoneyAction
to be optional - changed property
customLineItemId
of typeStagedOrderChangeCustomLineItemQuantityAction
to be optional - changed property
customLineItemId
of typeStagedOrderImportCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeStagedOrderImportLineItemStateAction
to be optional - changed property
customLineItemId
of typeStagedOrderRemoveCustomLineItemAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemCustomFieldAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemCustomTypeAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemShippingDetailsAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemTaxAmountAction
to be optional - changed property
customLineItemId
of typeStagedOrderSetCustomLineItemTaxRateAction
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnItemCustomFieldAction
...
14.6.1
Minor Changes
Full Changelog: 14.6.0...14.6.1
14.6.0
What's Changed
- add Java 11 HTTP client module by @jenschude in #463
- Update generated SDKs by @github-actions in #461
- add support for decorated ApiHttpClient by @jenschude in #464
Api changes
Added Resource(s)
- added resource
/{projectKey}/in-store/key={storeKey}/cart-discounts
- added resource
/{projectKey}/in-store/key={storeKey}/cart-discounts/key={key}
- added resource
/{projectKey}/in-store/key={storeKey}/cart-discounts/{ID}
Added Property(s)
- added property
stores
to typeCartDiscount
- added property
stores
to typeCartDiscountDraft
- added property
key
to typeCustomLineItem
- added property
key
to typeCustomLineItemDraft
- added property
key
to typeCartAddCustomLineItemAction
- added property
key
to typeStagedOrderAddCustomLineItemAction
- added property
shippingKey
to typeStagedOrderAddDeliveryAction
Added Type(s)
- added type
CartDiscountAddStoreAction
- added type
CartDiscountRemoveStoreAction
- added type
CartDiscountSetStoresAction
- added type
MaxCartDiscountsReachedError
- added type
MaxStoreReferencesReachedError
- added type
StoreCartDiscountsLimitReachedError
- added type
GraphQLMaxCartDiscountsReachedError
- added type
GraphQLMaxStoreReferencesReachedError
- added type
GraphQLStoreCartDiscountsLimitReachedError
Added Method(s)
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().delete()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().get()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().post()
- added method
apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().delete()
Full Changelog: 14.5.0...14.6.0
14.5.0
What's Changed
- add toDraft helper methods for CartDiscountValue and subtypes by @jenschude in #457
- Update generated SDKs by @github-actions in #453
- avoid rebuild for example test by @jenschude in #458
- Update generated SDKs by @github-actions in #459
- Update generated SDKs by @github-actions in #460
Api changes
Added Property(s)
- added property
perMethodTaxRate
to typeCustomLineItem
- added property
lineItemKey
to typeCartApplyDeltaToLineItemShippingDetailsTargetsAction
- added property
lineItemKey
to typeCartChangeLineItemQuantityAction
- added property
lineItemKey
to typeCartRemoveLineItemAction
- added property
lineItemKey
to typeCartSetLineItemCustomFieldAction
- added property
lineItemKey
to typeCartSetLineItemCustomTypeAction
- added property
lineItemKey
to typeCartSetLineItemDistributionChannelAction
- added property
lineItemKey
to typeCartSetLineItemInventoryModeAction
- added property
lineItemKey
to typeCartSetLineItemPriceAction
- added property
lineItemKey
to typeCartSetLineItemShippingDetailsAction
- added property
lineItemKey
to typeCartSetLineItemSupplyChannelAction
- added property
lineItemKey
to typeCartSetLineItemTaxAmountAction
- added property
lineItemKey
to typeCartSetLineItemTaxRateAction
- added property
lineItemKey
to typeCartSetLineItemTotalPriceAction
- added property
lineItemKey
to typeMyCartApplyDeltaToLineItemShippingDetailsTargetsAction
- added property
lineItemKey
to typeMyCartChangeLineItemQuantityAction
- added property
lineItemKey
to typeMyCartRemoveLineItemAction
- added property
lineItemKey
to typeMyCartSetLineItemCustomFieldAction
- added property
lineItemKey
to typeMyCartSetLineItemCustomTypeAction
- added property
lineItemKey
to typeMyCartSetLineItemDistributionChannelAction
- added property
lineItemKey
to typeMyCartSetLineItemShippingDetailsAction
- added property
lineItemKey
to typeMyCartSetLineItemSupplyChannelAction
- added property
lineItemKey
to typeMyShoppingListChangeLineItemQuantityAction
- added property
lineItemKey
to typeStagedOrderChangeLineItemQuantityAction
- added property
lineItemKey
to typeStagedOrderRemoveLineItemAction
- added property
lineItemKey
to typeStagedOrderSetLineItemCustomFieldAction
- added property
lineItemKey
to typeStagedOrderSetLineItemCustomTypeAction
- added property
lineItemKey
to typeStagedOrderSetLineItemDistributionChannelAction
- added property
lineItemKey
to typeStagedOrderSetLineItemPriceAction
- added property
lineItemKey
to typeStagedOrderSetLineItemShippingDetailsAction
- added property
lineItemKey
to typeStagedOrderSetLineItemTaxAmountAction
- added property
lineItemKey
to typeStagedOrderSetLineItemTaxRateAction
- added property
lineItemKey
to typeStagedOrderSetLineItemTotalPriceAction
- added property
lineItemKey
to typeOrderSetLineItemCustomFieldAction
- added property
lineItemKey
to typeOrderSetLineItemCustomTypeAction
- added property
lineItemKey
to typeOrderSetLineItemShippingDetailsAction
Required Property(s)
- changed property
lineItemId
of typeCartApplyDeltaToLineItemShippingDetailsTargetsAction
to be optional - changed property
lineItemId
of typeCartChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeCartRemoveLineItemAction
to be optional - changed property
lineItemId
of typeCartSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeCartSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeCartSetLineItemDistributionChannelAction
to be optional - changed property
lineItemId
of typeCartSetLineItemInventoryModeAction
to be optional - changed property
lineItemId
of typeCartSetLineItemPriceAction
to be optional - changed property
lineItemId
of typeCartSetLineItemShippingDetailsAction
to be optional - changed property
lineItemId
of typeCartSetLineItemSupplyChannelAction
to be optional - changed property
lineItemId
of typeCartSetLineItemTaxAmountAction
to be optional - changed property
lineItemId
of typeCartSetLineItemTaxRateAction
to be optional - changed property
lineItemId
of typeCartSetLineItemTotalPriceAction
to be optional - changed property
lineItemId
of typeMyCartApplyDeltaToLineItemShippingDetailsTargetsAction
to be optional - changed property
lineItemId
of typeMyCartChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeMyCartRemoveLineItemAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemDistributionChannelAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemShippingDetailsAction
to be optional - changed property
lineItemId
of typeMyCartSetLineItemSupplyChannelAction
to be optional - changed property
lineItemId
of typeMyShoppingListChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeStagedOrderChangeLineItemQuantityAction
to be optional - changed property
lineItemId
of typeStagedOrderRemoveLineItemAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemDistributionChannelAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemPriceAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemShippingDetailsAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemTaxAmountAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemTaxRateAction
to be optional - changed property
lineItemId
of typeStagedOrderSetLineItemTotalPriceAction
to be optional - changed property
lineItemId
of typeOrderSetLineItemCustomFieldAction
to be optional - changed property
lineItemId
of typeOrderSetLineItemCustomTypeAction
to be optional - changed property
lineItemId
of typeOrderSetLineItemShippingDetailsAction
to be optional
Deprecated Type(s)
- type
ProductVariantSelectionExclusion
is removed - type
ProductVariantSelectionInclusion
is removed
Removed Type(s)
⚠️ removed typeMyCartSetDirectDiscountsAction
History changes
Added Property(s)
- added property
variantSelection
to typeAddProductChange
Changed Property(s)
⚠️ changed propertyresource
of typeRecord
from typeReference
toResourceIdentifier
Added QueryParameter(s)
- added query parameter
resourceKey
to methodget /{projectKey}
- added query parameter
resourceKey
to methodget /{projectKey}/{resourceType}
Removed QueryParameter(s)
⚠️ removed query parameterresourceId
from methodget /{projectKey}/{resourceType}
Added Type(s)
- added type
AddAssociateChange
- added type
AddProductSelectionChange
- added type
Associate
- added type
AssociateRoleAssignment
- added type
AssociateRoleInheritanceMode
- added type
BusinessUnitAssociateMode
- added type
BusinessUnitLabel
- added type
BusinessUnitStatus
- added type
BusinessUnitStoreMode
- added type
ChangeAssociateChange
- added type
ChangeAssociateModeChange
- added type
ChangeParentUnitChange
- added type
ChangeProductSelectionActiveChange
- added type
ChangeStatusChange
- added type
ProductVariantSelection
- added type
ProductVariantSelectionTypeEnum
- added type
RemoveAssociateChange
- added type
RemoveProductSelectionChange
- added type
RequestQuoteRenegotiationChange
- added type
ResourceIdentifier
- added type
SetAddressCustomFieldChange
- added type
SetAddressCustomTypeChange
- added type
SetContactEmailChange
- added type
SetStoreModeChange
- added type
SetVariantSelectionChange
Added Enum(s)
- added enum
business-unit
to typeChangeHistoryResourceType
- added enum
addAssociate
to typeUpdateType
- added enum
addCustomLineItem
to typeUpdateType
- added enum
addDiscountCode
to typeUpdateType
- added enum
addProduct
to typeUpdateType
- added enum
addProductSelection
to typeUpdateType
- added enum
addProperty
to typeUpdateType
- added enum
changeAmountAuthorized
to typeUpdateType
- added enum
changeAssociate
to typeUpdateType
- added enum
changeAssociateMode
to typeUpdateType
- added enum
changeCustomLineItemQuantity
to typeUpdateType
- added enum
changeLineItemName
to typeUpdateType
- added enum
changeParentUnit
to typeUpdateType
- added enum
changeProductSelectionActive
to typeUpdateType
- added enum
changeQuoteRequestState
to typeUpdateType
- added enum
changeQuoteState
to typeUpdateType
- added enum `changeStagedQuoteState...
14.4.1
What's Changed
- use gradle toolchain config by @jenschude in #455
Fixes
- fix unused instantiation of OAuthMiddleware
Full Changelog: 14.4.0...14.4.1
14.4.0
What's Changed
- Add withkey interface to CustomFieldLocalizedEnumValue and CustomFieldEnumValue by @salander85 in #452
- add feature to extract the GraphQL result data directly by @jenschude in #451
- Update generated SDKs by @github-actions in #449
Api changes
Deprecated Property(s)
- property
MyCartChangeLineItemQuantityAction::externalPrice
is removed - property
MyCartChangeLineItemQuantityAction::externalTotalPrice
is removed
Required Property(s)
- changed property
parcelId
of typeStagedOrderRemoveParcelFromDeliveryAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelCustomFieldAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelCustomTypeAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelItemsAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelMeasurementsAction
to be optional - changed property
parcelId
of typeStagedOrderSetParcelTrackingDataAction
to be optional - changed property
parcelId
of typeOrderRemoveParcelFromDeliveryAction
to be optional - changed property
parcelId
of typeOrderSetParcelCustomFieldAction
to be optional - changed property
parcelId
of typeOrderSetParcelCustomTypeAction
to be optional - changed property
parcelId
of typeOrderSetParcelItemsAction
to be optional - changed property
parcelId
of typeOrderSetParcelMeasurementsAction
to be optional - changed property
parcelId
of typeOrderSetParcelTrackingDataAction
to be optional
Added Property(s)
- added property
key
to typeLineItem
- added property
key
to typeLineItemDraft
- added property
key
to typeCartAddLineItemAction
- added property
key
to typeMyLineItemDraft
- added property
key
to typeMyCartAddLineItemAction
- added property
sku
to typeStandalonePriceDeletedMessage
- added property
sku
to typeStandalonePriceDeletedMessagePayload
- added property
key
to typeStagedOrderAddLineItemAction
- added property
parcelKey
to typeStagedOrderAddParcelToDeliveryAction
- added property
parcelKey
to typeStagedOrderRemoveParcelFromDeliveryAction
- added property
parcelKey
to typeStagedOrderSetParcelCustomFieldAction
- added property
parcelKey
to typeStagedOrderSetParcelCustomTypeAction
- added property
parcelKey
to typeStagedOrderSetParcelItemsAction
- added property
parcelKey
to typeStagedOrderSetParcelMeasurementsAction
- added property
parcelKey
to typeStagedOrderSetParcelTrackingDataAction
- added property
key
to typeParcel
- added property
key
to typeParcelDraft
- added property
parcelKey
to typeOrderAddParcelToDeliveryAction
- added property
parcelKey
to typeOrderRemoveParcelFromDeliveryAction
- added property
parcelKey
to typeOrderSetParcelCustomFieldAction
- added property
parcelKey
to typeOrderSetParcelCustomTypeAction
- added property
parcelKey
to typeOrderSetParcelItemsAction
- added property
parcelKey
to typeOrderSetParcelMeasurementsAction
- added property
parcelKey
to typeOrderSetParcelTrackingDataAction
Added Type(s)
- added type
CartSetLineItemInventoryModeAction
- added type
MyCartSetDirectDiscountsAction
- added type
StandalonePriceTierAddedMessage
- added type
StandalonePriceTierRemovedMessage
- added type
StandalonePriceTiersSetMessage
- added type
StandalonePriceValidFromAndUntilSetMessage
- added type
StandalonePriceValidFromSetMessage
- added type
StandalonePriceValidUntilSetMessage
- added type
StandalonePriceTierAddedMessagePayload
- added type
StandalonePriceTierRemovedMessagePayload
- added type
StandalonePriceTiersSetMessagePayload
- added type
StandalonePriceValidFromAndUntilSetMessagePayload
- added type
StandalonePriceValidFromSetMessagePayload
- added type
StandalonePriceValidUntilSetMessagePayload
- added type
StandalonePriceAddPriceTierAction
- added type
StandalonePriceRemovePriceTierAction
- added type
StandalonePriceSetPriceTiersAction
- added type
StandalonePriceSetValidFromAction
- added type
StandalonePriceSetValidFromAndUntilAction
- added type
StandalonePriceSetValidUntilAction
- added type
ConfluentCloudDestination
Added Enum(s)
- added enum
RenegotiationAddressed
to typeQuoteState
- added enum
associate-role
to typeCustomFieldReferenceValue
- added enum
business-unit
to typeCustomFieldReferenceValue
Import changes
Added Enum(s)
- added enum
associate-role
to typeCustomFieldReferenceValue
- added enum
business-unit
to typeCustomFieldReferenceValue
New Contributors
- @salander85 made their first contribution in #452
Full Changelog: 14.3.0...14.4.0
14.3.0
New Features
GraphQL
This release introduces a new module for type safe GraphQL support.
import com.commercetools.graphql.api.*;
final GraphQLRequest<ProductQueryResult> productQuery = GraphQL
.products(query -> query.localeProjection(Collections.singletonList("en")))
.projection(root -> root.results().id().key().productType().key().getParent().createdAt().key());
The above code will create the following query string:
{
products(localeProjection: ["en"]) {
results {
id
key
productType {
key
}
createdAt
}
}
}
The module supports all operations defined by our GraphQL schema and the projections can be build type safe. More documentation can be found in the javadoc
Query predicates with input variables
This release introduces support for input variables when using the query predicate builders
final CustomerPagedQueryResponse response = projectApiRoot
.customers()
.get()
.withQuery(c -> c.id().isVar("customerId"), "customerId", customer.getId())
.executeBlocking()
.getBody();
What's Changed
- support query predicate variables by @jenschude in #445
- add GraphQL module by @jenschude in #446
- Update generated SDKs by @github-actions in #448
Api changes
Added Property(s)
- added property
shippingKey
to typeCartSetShippingMethodTaxAmountAction
- added property
shippingKey
to typeCartSetShippingMethodTaxRateAction
- added property
shippingKey
to typeStagedOrderSetShippingMethodTaxAmountAction
- added property
shippingKey
to typeStagedOrderSetShippingMethodTaxRateAction
Added Type(s)
- added type
MoneyOverflowError
- added type
GraphQLMoneyOverflowError
- added type
QuoteCustomerChangedMessage
- added type
QuoteRequestCustomerChangedMessage
- added type
QuoteCustomerChangedMessagePayload
- added type
QuoteRequestCustomerChangedMessagePayload
- added type
QuoteRequestChangeCustomerAction
- added type
QuoteChangeCustomerAction
Added Resource(s)
- added resource
/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/replicate
Added Enum(s)
- added enum
ReassignMyQuotes
to typePermission
- added enum
ReassignOthersQuotes
to typePermission
Added Method(s)
- added method
apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().replicate().post()
Full Changelog: 14.2.1...14.3.0