Releases: commercetools/commercetools-sdk-php-v2
Releases · commercetools/commercetools-sdk-php-v2
9.0.0
What's Changed
- Add fixtures tests by @barbara79 in #103
- Update generated SDKs by @github-actions in #104
Api changes
Removed Property(s)
⚠️ removed propertyexternalTaxRate
from typeMyCartAddLineItemAction
⚠️ removed propertyexternalPrice
from typeMyCartAddLineItemAction
⚠️ removed propertyexternalTotalPrice
from typeMyCartAddLineItemAction
Changed Property(s)
⚠️ changed propertytotalPrice
of typeCart
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalPrice
of typeCustomLineItem
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyexternalTaxRate
of typeCustomShippingDraft
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeCustomShippingDraft
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeCustomShippingDraft
from typestring
toCustomFieldsDraft
⚠️ changed propertytotalPrice
of typeLineItem
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyexternalTaxRate
of typeShippingDraft
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeShippingDraft
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeShippingDraft
from typestring
toCustomFieldsDraft
⚠️ changed propertyprice
of typeShippingInfo
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyamount
of typeTaxPortion
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalNet
of typeTaxedItemPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalGross
of typeTaxedItemPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalTax
of typeTaxedItemPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalNet
of typeTaxedPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalGross
of typeTaxedPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertytotalTax
of typeTaxedPrice
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyexternalTaxRate
of typeCartAddCustomShippingMethodAction
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeCartAddCustomShippingMethodAction
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeCartAddCustomShippingMethodAction
from typestring
toCustomFieldsDraft
⚠️ changed propertyshippingMethod
of typeCartAddShippingMethodAction
from typeShippingMethodReference
toShippingMethodResourceIdentifier
⚠️ changed propertyexternalTaxRate
of typeCartAddShippingMethodAction
from typestring
toExternalTaxRateDraft
⚠️ changed propertydeliveries
of typeCartAddShippingMethodAction
from typeDelivery[]
toDeliveryDraft[]
⚠️ changed propertycustom
of typeCartAddShippingMethodAction
from typestring
toCustomFieldsDraft
⚠️ changed propertybusinessUnit
of typeMyCartDraft
from typeBusinessUnitKeyReference
toBusinessUnitResourceIdentifier
⚠️ changed propertystore
of typeMyCartDraft
from typeStoreKeyReference
toStoreResourceIdentifier
Required Property(s)
⚠️ changed propertyinventoryMode
of typeCart
to be required⚠️ changed propertyitemShippingAddresses
of typeCart
to be required⚠️ changed propertydiscountCodes
of typeCart
to be required⚠️ changed propertydirectDiscounts
of typeCart
to be required⚠️ changed propertyshippingAddress
of typeShippingDraft
to be required- changed property
quantity
of typeCustomLineItemDraft
to be optional - changed property
deliveries
of typeCustomShippingDraft
to be optional - changed property
deliveries
of typeShippingDraft
to be optional - changed property
quantity
of typeCartAddCustomLineItemAction
to be optional - changed property
deliveries
of typeCartAddCustomShippingMethodAction
to be optional - changed property
deliveries
of typeCartAddShippingMethodAction
to be optional - changed property
email
of typeCartSetCustomerEmailAction
to be optional - changed property
quantity
of typeMyLineItemDraft
to be optional
Added Property(s)
- added property
shippingDetails
to typeCartAddCustomLineItemAction
- added property
addedAt
to typeCartAddLineItemAction
- added property
inventoryMode
to typeCartAddLineItemAction
Added Resource(s)
- added resource
/{projectKey}/me/orders/quotes
Added Method(s)
- added method
$apiRoot->withProjectKey()->me()->orders()->quotes()->post()
Removed Type(s)
⚠️ removed typeCountryNotConfiguredInStore
Added Type(s)
- added type
CartSetBusinessUnitAction
- added type
CountryNotConfiguredInStoreError
- added type
GoogleCloudFunctionDestination
- added type
MyOrderFromQuoteDraft
- added type
MyCartSetBusinessUnitAction
Added QueryParameter(s)
- added query parameter
sort
to methodget /{projectKey}/product-selections/key={key}/products
- added query parameter
sort
to methodget /{projectKey}/product-selections/{ID}/products
- added query parameter
expand
to methodget /{projectKey}/in-store/key={storeKey}/me/active-cart
Import changes
Required Property(s)
- changed property
password
of typeCustomerImport
to be optional
Added Property(s)
- added property
authenticationMode
to typeCustomerImport
- added property
state
to typeOrderImport
- added property
custom
to typeAddress
Added Type(s)
- added type
AuthenticationMode
Full Changelog: 8.1.0...9.0.0
New Release 8.1.0
8.0.0
What's Changed
- Update generated SDKs by @github-actions in #98
Api changes
Added Property(s)
- added property
discountCodeId
to typeDiscountCodeNonApplicableError
- added property
extensionErrors
to typeExtensionBadResponseError
- added property
extensionBody
to typeExtensionBadResponseError
- added property
extensionStatusCode
to typeExtensionBadResponseError
- added property
extensionId
to typeExtensionBadResponseError
- added property
extensionKey
to typeExtensionBadResponseError
- added property
extensionErrors
to typeExtensionUpdateActionsFailedError
- added property
detailedErrorMessage
to typeInvalidJsonInputError
- added property
priceMode
to typeProductProjection
Removed Property(s)
⚠️ removed propertydicountCodeId
from typeDiscountCodeNonApplicableError
⚠️ removed propertyconflictingResource
from typeDuplicateFieldError
⚠️ removed propertyerror
from typeErrorResponse
⚠️ removed propertyerror_description
from typeErrorResponse
⚠️ removed propertyerrorByExtension
from typeExtensionBadResponseError
⚠️ removed propertyerrorByExtension
from typeExtensionUpdateActionsFailedError
Changed Property(s)
⚠️ changed propertyamountPlanned
of typeMyPayment
from typeTypedMoney
toCentPrecisionMoney
⚠️ changed propertyamountPlanned
of typePayment
from typeTypedMoney
toCentPrecisionMoney
Added Type(s)
- added type
AuthErrorResponse
- added type
CountryNotConfiguredInStore
- added type
ExtensionError
- added type
ExtensionPredicateEvaluationFailedError
- added type
ProductAssignmentMissingError
- added type
ProductPresentWithDifferentVariantSelectionError
Removed Type(s)
⚠️ removed typeAccessDeniedError
⚠️ removed typeWeakPasswordError
Added QueryParameter(s)
- added query parameter
localeProjection
to methodget /{projectKey}/products
- added query parameter
localeProjection
to methodpost /{projectKey}/products
- added query parameter
localeProjection
to methodget /{projectKey}/products/key={key}
- added query parameter
localeProjection
to methodpost /{projectKey}/products/key={key}
- added query parameter
localeProjection
to methoddelete /{projectKey}/products/key={key}
- added query parameter
localeProjection
to methodget /{projectKey}/products/{ID}
- added query parameter
localeProjection
to methodpost /{projectKey}/products/{ID}
- added query parameter
localeProjection
to methoddelete /{projectKey}/products/{ID}
- added query parameter
staged
to methodget /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
- added query parameter
staged
to methodget /{projectKey}/in-store/key={storeKey}/product-projections/{ID}
Full Changelog: 7.1.1...7.2.0
7.1.1
7.1.0
What's Changed
- support PSR Log 2 & 3 by @jenschude in #96
- Update generated SDKs by @github-actions in #94
Api changes
Added Property(s)
- added property
shippingKey
to typeCartSetLineItemTaxAmountAction
- added property
shippingKey
to typeCartSetLineItemTaxRateAction
- added property
shippingKey
to typeStagedOrderSetLineItemTaxAmountAction
- added property
shippingKey
to typeStagedOrderSetLineItemTaxRateAction
Added Type(s)
- added type
AttributeGroup
- added type
AttributeGroupDraft
- added type
AttributeGroupPagedQueryResponse
- added type
AttributeGroupReference
- added type
AttributeGroupResourceIdentifier
- added type
AttributeGroupUpdate
- added type
AttributeGroupUpdateAction
- added type
AttributeReference
- added type
AttributeGroupAddAttributeAction
- added type
AttributeGroupChangeNameAction
- added type
AttributeGroupRemoveAttributeAction
- added type
AttributeGroupSetAttributesAction
- added type
AttributeGroupSetDescriptionAction
- added type
AttributeGroupSetKeyAction
Changed Type(s)
- marked type
ShippingMethodSetDescriptionAction
as deprecated
Added Method(s)
- added method
get /{projectKey}/attribute-groups
- added method
post /{projectKey}/attribute-groups
- added method
get /{projectKey}/attribute-groups/key={key}
- added method
post /{projectKey}/attribute-groups/key={key}
- added method
delete /{projectKey}/attribute-groups/key={key}
- added method
get /{projectKey}/attribute-groups/{ID}
- added method
post /{projectKey}/attribute-groups/{ID}
- added method
delete /{projectKey}/attribute-groups/{ID}
Added Resource(s)
- added resource
/{projectKey}/attribute-groups
(file:///home/runner/work/commercetools-api-reference/commercetools-api-reference/commercetools-api-reference/api-specs/api/api.raml:216:2) - added resource
/{projectKey}/attribute-groups/key={key}
- added resource
/{projectKey}/attribute-groups/{ID}
Full Changelog: 7.0.0...7.1.0
7.0.0
What's Changed
- Update generated SDKs by @github-actions in #93
API
Added Property(s)
- added property
businessUnit
to typeCart
- added property
taxedShippingPrice
to typeCart
- added property
shippingMode
to typeCart
- added property
shipping
to typeCart
- added property
businessUnit
to typeCartDraft
- added property
shippingMode
to typeCartDraft
- added property
customShipping
to typeCartDraft
- added property
shipping
to typeCartDraft
- added property
priceMode
to typeCustomLineItem
- added property
priceMode
to typeCustomLineItemDraft
- added property
shippingMethodKey
to typeItemShippingTarget
- added property
taxedPricePortions
to typeLineItem
- added property
perMethodTaxRate
to typeLineItem
- added property
inventoryMode
to typeLineItem
- added property
inventoryMode
to typeLineItemDraft
- added property
priceMode
to typeCartAddCustomLineItemAction
- added property
key
to typePrice
- added property
key
to typePriceDraft
- added property
businessUnit
to typeMyCartDraft
- added property
salutation
to typeMyCustomerDraft
- added property
shippingKey
to typeDeliveryAddedMessage
- added property
shippingKey
to typeDeliveryAddressSetMessage
- added property
shippingKey
to typeDeliveryItemsUpdatedMessage
- added property
shippingKey
to typeDeliveryRemovedMessage
- added property
taxedPricePortions
to typeOrderLineItemDiscountSetMessage
- added property
shippingKey
to typeParcelAddedToDeliveryMessage
- added property
shippingKey
to typeParcelItemsUpdatedMessage
- added property
shippingKey
to typeParcelMeasurementsUpdatedMessage
- added property
shippingKey
to typeParcelRemovedFromDeliveryMessage
- added property
shippingKey
to typeParcelTrackingDataUpdatedMessage
- added property
quote
to typeQuoteCreatedMessage
- added property
quoteRequest
to typeQuoteRequestCreatedMessage
- added property
stagedQuote
to typeStagedQuoteCreatedMessage
- added property
staged
to typeStandalonePriceValueChangedMessage
- added property
shippingKey
to typeDeliveryAddedMessagePayload
- added property
shippingKey
to typeDeliveryAddressSetMessagePayload
- added property
shippingKey
to typeDeliveryItemsUpdatedMessagePayload
- added property
shippingKey
to typeDeliveryRemovedMessagePayload
- added property
taxedPricePortions
to typeOrderLineItemDiscountSetMessagePayload
- added property
shippingKey
to typeParcelAddedToDeliveryMessagePayload
- added property
shippingKey
to typeParcelItemsUpdatedMessagePayload
- added property
shippingKey
to typeParcelMeasurementsUpdatedMessagePayload
- added property
shippingKey
to typeParcelRemovedFromDeliveryMessagePayload
- added property
shippingKey
to typeParcelTrackingDataUpdatedMessagePayload
- added property
quote
to typeQuoteCreatedMessagePayload
- added property
quoteRequest
to typeQuoteRequestCreatedMessagePayload
- added property
stagedQuote
to typeStagedQuoteCreatedMessagePayload
- added property
staged
to typeStandalonePriceValueChangedMessagePayload
- added property
businessUnit
to typeStagedOrder
- added property
taxedShippingPrice
to typeStagedOrder
- added property
shippingMode
to typeStagedOrder
- added property
shipping
to typeStagedOrder
- added property
priceMode
to typeStagedOrderAddCustomLineItemAction
- added property
priceMode
to typeCustomLineItemImportDraft
- added property
inventoryMode
to typeLineItemImportDraft
- added property
businessUnit
to typeOrder
- added property
taxedShippingPrice
to typeOrder
- added property
shippingMode
to typeOrder
- added property
shipping
to typeOrder
- added property
quoteStateToAccepted
to typeOrderFromQuoteDraft
- added property
businessUnit
to typeOrderImportDraft
- added property
shippingKey
to typeOrderAddDeliveryAction
- added property
/[0-9].[0-9]*[1-9]/
to typeCategoryOrderHints
- added property
id
to typeProductVariantChannelAvailability
- added property
version
to typeProductVariantChannelAvailability
- added property
businessUnits
to typeProject
- added property
state
to typeQuoteRequest
- added property
businessUnit
to typeQuoteRequest
- added property
state
to typeQuoteRequestDraft
- added property
buyerComment
to typeQuote
- added property
state
to typeQuote
- added property
businessUnit
to typeQuote
- added property
stagedQuoteStateToSent
to typeQuoteDraft
- added property
state
to typeQuoteDraft
- added property
state
to typeStagedQuote
- added property
businessUnit
to typeStagedQuote
- added property
quoteRequestStateToAccepted
to typeStagedQuoteDraft
- added property
state
to typeStagedQuoteDraft
- added property
staged
to typeStandalonePrice
- added property
active
to typeStandalonePrice
- added property
active
to typeStandalonePriceDraft
- added property
staged
to typeStandalonePriceChangeValueAction
- added property
authenticationMode
to typeSnsDestination
- added property
authenticationMode
to typeSqsDestination
Removed Property(s)
⚠️ removed propertyname
from typeProductSelectionDeletedMessage
(file:/home/runner/work/commercetools-api-reference/commercetools-api-reference/commercetools-api-reference-previous/api-specs/api/types/message/ProductSelectionDeletedMessage.raml:6:2)⚠️ removed propertyname
from typeProductSelectionDeletedMessagePayload
(file:/home/runner/work/commercetools-api-reference/commercetools-api-reference/commercetools-api-reference-previous/api-specs/api/types/message/payload/ProductSelectionDeletedMessagePayload.raml:6:2)
Changed Property(s)
- changed property
edit
of typeOrderEditAppliedMessage
from typeOrderEditReference
toOrderEdit
- changed property
newTotalPrice
of typeOrderLineItemRemovedMessage
from typeTypedMoney
toCentPrecisionMoney
- changed property
productSelection
of typeProductSelectionCreatedMessage
from typeProductSelectionType
toIndividualProductSelectionType
- changed property
edit
of typeOrderEditAppliedMessagePayload
from typeOrderEditReference
toOrderEdit
- changed property
newTotalPrice
of typeOrderLineItemRemovedMessagePayload
from typeTypedMoney
toCentPrecisionMoney
- changed property
productSelection
of typeProductSelectionCreatedMessagePayload
from typeProductSelectionType
toIndividualProductSelectionType
- changed property
sort
of typeOrderSearchRequest
from typeOrderSearchSorting
toOrderSearchSorting[]
Added Type(s)
- added type
Associate
- added type
AssociateDraft
- added type
AssociateRole
- added type
BusinessUnit
- added type
BusinessUnitDraft
- added type
BusinessUnitKeyReference
- added type
BusinessUnitPagedQueryResponse
- added type
BusinessUnitReference
- added type
BusinessUnitResourceIdentifier
- added type
BusinessUnitStatus
- added type
BusinessUnitStoreMode
- added type
BusinessUnitType
- added type
BusinessUnitUpdate
- added type
BusinessUnitUpdateAction
- added type
Company
- added type
CompanyDraft
- added type
Division
- added type
DivisionDraft
- added type
BusinessUnitAddAddressAction
- added type
BusinessUnitAddAssociateAction
- added type
BusinessUnitAddBillingAddressIdAction
- added type
BusinessUnitAddShippingAddressIdAction
- added type
BusinessUnitAddStoreAction
- added type
BusinessUnitChangeAddressAction
- added type
BusinessUnitChangeAssociateAction
- added type
BusinessUnitChangeNameAction
- added type
BusinessUnitChangeParentUnitAction
- added type
BusinessUnitChangeStatusAction
- added type
BusinessUnitRemoveAddressAction
- added type
BusinessUnitRemoveAssociateAction
- added type
BusinessUnitRemoveBillingAddressIdAction
- added type
BusinessUnitRemoveShippingAddressIdAction
- added type
BusinessUnitRemoveStoreAction
- added type
BusinessUnitSetAddressCustomFieldAction
- added type
BusinessUnitSetAddressCustomTypeAction
- added type
BusinessUnitSetAssociatesAction
- added type
BusinessUnitSetContactEmailAction
- added type
BusinessUnitSetCustomFieldAction
- added type
BusinessUnitSetCustomTypeAction
- added type
BusinessUnitSetDefaultBillingAddressAction
- added type
BusinessUnitSetDefaultShippingAddressAction
- added type
BusinessUnitSetStoreModeAction
- added type
BusinessUnitSetStoresAction
- added type
CustomLineItemPriceMode
- added type
CustomShippingDraft
- added type
MethodTaxRate
- added type
MethodTaxedPrice
- added type
Shipping
- added type
ShippingDraft
- added type
ShippingMode
- added type
CartAddCustomShippingMethodAction
- added type
CartAddShippingMethodAction
- added type
CartChangeCustomLineItemPriceModeAction
- added type
CartRemoveShippingMethodAction
- added type
CartSetShippingCustomFieldAction
- added type
CartSetShippingCustomTypeAction
- added type
MyCustomerEmailVerify
- added type
MyBusinessUnitAssociateDraft
- added type
MyBusinessUnitDraft
- added type
MyBusinessUnitUpdate
- added type
MyBusinessUnitUpdateAction
- added type
MyCompanyDraft
- added type
MyDivisionDraft
- added type
MyQuoteState
- added type
MyQuoteUpdate
- added type
MyQuoteUpdateAction
- added type
MyBusinessUnitAddAddressAction
- added type
MyBusinessUnitAddBillingAddressIdAction
- added type
MyBusinessUnitAddShippingAddressIdAction
- added type `MyBusinessUnitChangeAddre...
6.0.2
What's Changed
- add doxygen configuration by @barbara79 in #88
- PHP Migration examples by @barbara79 in #48
- Fix MessageModel by @jenschude in #91
Full Changelog: 6.0.1...6.0.2
6.0.1
6.0.0
What's Changed
- Update generated SDKs by @github-actions in #78
- fix default cache by @jenschude in #80
- Update generated SDKs by @github-actions in #81
- Update generated SDKs by @github-actions in #82
- Update generated SDKs by @github-actions in #84
Features
- support in store product selections
- support quotes
- support DirectDiscounts for carts
- support
condition
field for extension triggers - support standalone pricing
Fixes
- fixed type of property score in
CartScoreTier
toint
(wasfloat
) - fix type request/response type for my customer email confirm endpoints
Breaking changes
- removed deprecated import sink endpoints and models from Import API SDK
- removed non existing endpoint in store product projections query
Full Changelog: 5.0.0...6.0.0
5.0.1
- fix instantiating the default cache
Full Changelog: 5.0.0...5.0.1