Skip to content

Releases: commercetools/commercetools-dotnet-core-sdk-v2

7.0.0

06 Mar 09:17
203c4dc
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #214

Api changes

Removed Property(s)
  • ⚠️ removed property externalTaxRate from type MyCartAddLineItemAction
  • ⚠️ removed property externalPrice from type MyCartAddLineItemAction
  • ⚠️ removed property externalTotalPrice from type MyCartAddLineItemAction
Changed Property(s)
  • ⚠️ changed property totalPrice of type Cart from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalPrice of type CustomLineItem from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property externalTaxRate of type CustomShippingDraft from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type CustomShippingDraft from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type CustomShippingDraft from type string to CustomFieldsDraft
  • ⚠️ changed property country of type ExternalTaxRateDraft from type string to CountryCode
  • ⚠️ changed property totalPrice of type LineItem from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property externalTaxRate of type ShippingDraft from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type ShippingDraft from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type ShippingDraft from type string to CustomFieldsDraft
  • ⚠️ changed property price of type ShippingInfo from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property amount of type TaxPortion from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalNet of type TaxedItemPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalGross of type TaxedItemPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalTax of type TaxedItemPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalNet of type TaxedPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalGross of type TaxedPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property totalTax of type TaxedPrice from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property externalTaxRate of type CartAddCustomShippingMethodAction from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type CartAddCustomShippingMethodAction from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type CartAddCustomShippingMethodAction from type string to CustomFieldsDraft
  • ⚠️ changed property shippingMethod of type CartAddShippingMethodAction from type ShippingMethodReference to ShippingMethodResourceIdentifier
  • ⚠️ changed property externalTaxRate of type CartAddShippingMethodAction from type string to ExternalTaxRateDraft
  • ⚠️ changed property deliveries of type CartAddShippingMethodAction from type Delivery[] to DeliveryDraft[]
  • ⚠️ changed property custom of type CartAddShippingMethodAction from type string to CustomFieldsDraft
  • ⚠️ changed property businessUnit of type MyCartDraft from type BusinessUnitKeyReference to BusinessUnitResourceIdentifier
  • ⚠️ changed property store of type MyCartDraft from type StoreKeyReference to StoreResourceIdentifier
Required Property(s)
  • ⚠️ changed property inventoryMode of type Cart to be required
  • ⚠️ changed property itemShippingAddresses of type Cart to be required
  • ⚠️ changed property discountCodes of type Cart to be required
  • ⚠️ changed property directDiscounts of type Cart to be required
  • ⚠️ changed property shippingAddress of type ShippingDraft to be required
  • changed property quantity of type CustomLineItemDraft to be optional
  • changed property deliveries of type CustomShippingDraft to be optional
  • changed property deliveries of type ShippingDraft to be optional
  • changed property quantity of type CartAddCustomLineItemAction to be optional
  • changed property deliveries of type CartAddCustomShippingMethodAction to be optional
  • changed property deliveries of type CartAddShippingMethodAction to be optional
  • changed property email of type CartSetCustomerEmailAction to be optional
  • changed property quantity of type MyLineItemDraft to be optional
Added Property(s)
  • added property shippingDetails to type CartAddCustomLineItemAction
  • added property addedAt to type CartAddLineItemAction
  • added property inventoryMode to type CartAddLineItemAction
Added Resource(s)
  • added resource /{projectKey}/me/orders/quotes
Added Method(s)
  • added method apiRoot.withProjectKey().me().orders().quotes().post()
Removed Type(s)
  • ⚠️ removed type CountryNotConfiguredInStore
Added Type(s)
  • added type CartSetBusinessUnitAction
  • added type CountryNotConfiguredInStoreError
  • added type MyOrderFromQuoteDraft
  • added type MyCartSetBusinessUnitAction
Added QueryParameter(s)
  • added query parameter expand to method get /{projectKey}/in-store/key={storeKey}/me/active-cart
Added Enum(s)
  • added enum shipping to type ResourceTypeId

Import changes

Required Property(s)
  • changed property password of type CustomerImport to be optional
Added Property(s)
  • added property authenticationMode to type CustomerImport
  • added property state to type OrderImport
  • added property custom to type Address
Added Type(s)
  • added type AuthenticationMode

Full Changelog: 6.4.0...7.0.0

6.4.0

20 Feb 09:12
2b6e57d
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #211
  • Update generated SDKs by @github-actions in #213

Api changes

Added Type(s)
  • added type GoogleCloudFunctionDestination

Fixes

  • fixed issue with DependencyInjection and usage of multiple clients which were incorrectly assigned to the ProjectApiRoots

Full Changelog: 6.3.1...6.4.0

6.3.1

17 Feb 08:29
0e8b11b
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #210

Api changes

Added QueryParameter(s)
  • added query parameter sort to method get /{projectKey}/product-selections/key={key}/products
  • added query parameter sort to method get /{projectKey}/product-selections/{ID}/products

Fixes

  • fix image upload without specifying a image name

Full Changelog: 6.3.0...6.3.1

6.3.0

16 Feb 12:32
5342479
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #207
  • Add project scoped access to quotes, quoteRequests and stagedQuotes by @Tarostar in #199

Api changes

Changed Property(s)
  • ⚠️ changed property stores of type BusinessUnitDraft from type StoreKeyReference[] to StoreResourceIdentifier[]
  • ⚠️ changed property stores of type CompanyDraft from type StoreKeyReference[] to StoreResourceIdentifier[]
  • ⚠️ changed property stores of type DivisionDraft from type StoreKeyReference[] to StoreResourceIdentifier[]
Added Property(s)
  • added property oldValue to type StandalonePriceValueChangedMessage
  • added property oldValue to type StandalonePriceValueChangedMessagePayload
  • added property purchaseOrderNumber to type StagedOrder
  • added property purchaseOrderNumber to type Order
  • added property purchaseOrderNumber to type OrderFromCartDraft
  • added property purchaseOrderNumber to type QuoteRequest
  • added property purchaseOrderNumber to type QuoteRequestDraft
  • added property purchaseOrderNumber to type Quote
  • added property purchaseOrderNumber to type StagedQuote
Deprecated Type(s)
  • type IronMqDestination is removed
Added Type(s)
  • added type OrderPurchaseOrderNumberSetMessage
  • added type OrderPurchaseOrderNumberSetMessagePayload
  • added type StagedOrderSetPurchaseOrderNumberAction
  • added type OrderSetPurchaseOrderNumberAction

New Contributors

Full Changelog: 6.2.0...6.3.0

New Release 6.2.0

10 Feb 14:59
5611d5a
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #202

Full Changelog: 6.1.0...6.2.0

6.1.0

10 Jan 10:00
a194c28
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #198

Api changes

Added Enum(s)
  • added enum Frozen to type CartState
Added Resource(s)
  • added resource /{projectKey}/shipping-methods/matching-cart-location
Changed Property(s)
  • ⚠️ changed property amount of type Transaction from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property assets of type ProductAddVariantAction from type Asset[] to AssetDraft[]
Added Property(s)
  • added property defaultShippingAddressId to type BusinessUnit
  • added property defaultShippingAddress to type BusinessUnitDraft
  • added property defaultShippingAddressId to type Company
  • added property defaultShippingAddress to type CompanyDraft
  • added property defaultShippingAddressId to type Division
  • added property defaultShippingAddress to type DivisionDraft
  • added property conflictingPrice to type DuplicatePriceScopeError
  • added property defaultShippingAddress to type MyBusinessUnitDraft
  • added property defaultShippingAddress to type MyCompanyDraft
  • added property defaultShippingAddress to type MyDivisionDraft
  • added property cartId to type MyQuoteRequestDraft
  • added property cartVersion to type MyQuoteRequestDraft
  • added property createdAt to type AssignedProductSelection
  • added property quoteState to type Quote
Required Property(s)
  • changed property discounted of type StagedStandalonePrice to be optional
Removed Property(s)
  • ⚠️ removed property defaultShipingAddressId from type BusinessUnit
  • ⚠️ removed property defaultShipingAddress from type BusinessUnitDraft
  • ⚠️ removed property defaultShipingAddressId from type Company
  • ⚠️ removed property defaultShipingAddress from type CompanyDraft
  • ⚠️ removed property defaultShipingAddressId from type Division
  • ⚠️ removed property defaultShipingAddress from type DivisionDraft
  • ⚠️ removed property conflictingPrices from type DuplicatePriceScopeError
  • ⚠️ removed property defaultShipingAddress from type MyBusinessUnitDraft
  • ⚠️ removed property defaultShipingAddress from type MyCompanyDraft
  • ⚠️ removed property defaultShipingAddress from type MyDivisionDraft
  • ⚠️ removed property cart from type MyQuoteRequestDraft
  • ⚠️ removed property version from type MyQuoteRequestDraft
Added Type(s)
  • added type CartFreezeCartAction
  • added type CartUnfreezeCartAction
  • added type DuplicatePriceKeyError
  • added type ProductPriceKeySetMessage
  • added type ProductPricesSetMessage
  • added type StandalonePriceKeySetMessage
  • added type ProductPriceKeySetMessagePayload
  • added type ProductPricesSetMessagePayload
  • added type StandalonePriceKeySetMessagePayload
  • added type ProductSetPriceKeyAction
  • added type StandalonePriceSetKeyAction
Removed Type(s)
  • ⚠️ removed type ProductPriceSetMessage
  • ⚠️ removed type ProductPriceSetMessagePayload
Added Method(s)
  • added method apiRoot.withProjectKey().shippingMethods().matchingCartLocation().get()

ML changes

  • Removed the missing-data endpoints and models due to low usage of the API.

Full Changelog: 6.0.0...6.1.0

6.0.0

06 Dec 11:33
9de7f7c
Compare
Choose a tag to compare

What's Changed

  • Add support for CancellationToken to requests
  • added in models a setter for List properties of type IEnumerable remove the need to explicit casts
  • fix fractionDigits for money factories by @jenschude in #195
  • license check with allowed licenses by @jenschude in #192
  • Update generated SDKs by @github-actions in #191
  • Update generated SDKs by @github-actions in #196
  • Update generated SDKs by @github-actions in #197

Breaking changes

  • changed in models properties of type List to IList

Generated Updates

Api changes

Added Property(s)
  • added property discountCodeId to type DiscountCodeNonApplicableError
  • added property extensionErrors to type ExtensionBadResponseError
  • added property extensionBody to type ExtensionBadResponseError
  • added property extensionStatusCode to type ExtensionBadResponseError
  • added property extensionId to type ExtensionBadResponseError
  • added property extensionKey to type ExtensionBadResponseError
  • added property extensionErrors to type ExtensionUpdateActionsFailedError
  • added property detailedErrorMessage to type InvalidJsonInputError
  • added property countries to type StoreCreatedMessage
  • added property countries to type StoreCreatedMessagePayload
  • added property priceMode to type ProductProjection
  • added property countries to type Store
  • added property countries to type StoreDraft
Removed Property(s)
  • ⚠️ removed property dicountCodeId from type DiscountCodeNonApplicableError
  • ⚠️ removed property conflictingResource from type DuplicateFieldError
  • ⚠️ removed property error from type ErrorResponse
  • ⚠️ removed property error_description from type ErrorResponse
  • ⚠️ removed property errorByExtension from type ExtensionBadResponseError
  • ⚠️ removed property errorByExtension from type ExtensionUpdateActionsFailedError
Changed Property(s)
  • ⚠️ changed property currency of type DuplicateStandalonePriceScopeError from type string to CurrencyCode
  • ⚠️ changed property country of type DuplicateStandalonePriceScopeError from type string to CountryCode
  • ⚠️ changed property currency of type MatchingPriceNotFoundError from type string to CurrencyCode
  • ⚠️ changed property country of type MatchingPriceNotFoundError from type string to CountryCode
  • ⚠️ changed property country of type MissingTaxRateForCountryError from type string to CountryCode
  • ⚠️ changed property currency of type OverlappingStandalonePriceValidityError from type string to CurrencyCode
  • ⚠️ changed property country of type OverlappingStandalonePriceValidityError from type string to CountryCode
  • ⚠️ changed property amountPlanned of type MyPayment from type TypedMoney to CentPrecisionMoney
  • ⚠️ changed property amountPlanned of type Payment from type TypedMoney to CentPrecisionMoney
Required Property(s)
  • ⚠️ changed property field of type DuplicateFieldError to be required
  • ⚠️ changed property duplicateValue of type DuplicateFieldError to be required
  • ⚠️ changed property state of type Transaction to be required
  • ⚠️ changed property lineItems of type ShoppingList to be required
  • ⚠️ changed property textLineItems of type ShoppingList to be required
Added Type(s)
  • added type AuthErrorResponse
  • added type CountryNotConfiguredInStore
  • added type ExtensionError
  • added type ExtensionPredicateEvaluationFailedError
  • added type ProductAssignmentMissingError
  • added type ProductPresentWithDifferentVariantSelectionError
  • added type ProductPriceAddedMessage
  • added type ProductPriceChangedMessage
  • added type ProductPriceModeSetMessage
  • added type ProductPriceRemovedMessage
  • added type ProductPriceSetMessage
  • added type StoreCountriesChangedMessage
  • added type ProductPriceAddedMessagePayload
  • added type ProductPriceChangedMessagePayload
  • added type ProductPriceModeSetMessagePayload
  • added type ProductPriceRemovedMessagePayload
  • added type ProductPriceSetMessagePayload
  • added type StoreCountriesChangedMessagePayload
  • added type StoreCountry
  • added type StoreAddCountryAction
  • added type StoreRemoveCountryAction
  • added type StoreSetCountriesAction
Removed Type(s)
  • ⚠️ removed type AccessDeniedError
  • ⚠️ removed type WeakPasswordError
Added QueryParameter(s)
  • added query parameter localeProjection to method get /{projectKey}/products
  • added query parameter localeProjection to method post /{projectKey}/products
  • added query parameter localeProjection to method get /{projectKey}/products/key={key}
  • added query parameter localeProjection to method post /{projectKey}/products/key={key}
  • added query parameter localeProjection to method delete /{projectKey}/products/key={key}
  • added query parameter localeProjection to method get /{projectKey}/products/{ID}
  • added query parameter localeProjection to method post /{projectKey}/products/{ID}
  • added query parameter localeProjection to method delete /{projectKey}/products/{ID}
  • added query parameter staged to method get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
  • added query parameter staged to method get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}

Full Changelog: 5.3.0...6.0.0

5.3.0

07 Nov 12:14
f8fc120
Compare
Choose a tag to compare

What's Changed

  • Add documentation for ME Endpoint App by @industrian in #170
  • Update generated SDKs by @github-actions in #190

Api changes

Added Property(s)
  • added property shippingKey to type CartSetLineItemTaxAmountAction
  • added property shippingKey to type CartSetLineItemTaxRateAction
  • added property shippingKey to type StagedOrderSetLineItemTaxAmountAction
  • added property shippingKey to type StagedOrderSetLineItemTaxRateAction
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}

New Contributors

Full Changelog: 5.2.2...5.3.0

5.2.2

02 Nov 09:50
43d5d83
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #189

Fixes

  • fix wrongly placed obsolete attributes

Full Changelog: 5.2.1...5.2.2

5.2.1

01 Nov 20:18
a76fa70
Compare
Choose a tag to compare

Fixes

  • remove obsolete marking from Destination types

Full Changelog: 5.2.0...5.2.1