9.0.0
New Features
We introduce a new GraphQL package, which allows to write type safe queries with the help from ZeroQL
var client = provider.GetService<ProjectApiRoot>().GraphQLClient();
var response = await client.Query(o => o.Products(selector: r => new { results = r.Results(product => new { product.Id }) }));
Breaking changes
expand
methods has been removed from the subscription and extension request builders- deprecated types from business unit and associate roles have been removed
- CartDiscountValueFixed now supports HighPrecisionMoney and changed from CentPrecisionMoney to TypedMoney
- Order Edit clarifications and corrections
What's Changed
- move mixin from RAML to partial classes by @jenschude in #238
- new GraphQL package by @jenschude in #239
- Update generated SDKs by @github-actions in #240
- Update generated SDKs by @github-actions in #241
- Update generated SDKs by @github-actions in #242
- Update generated SDKs by @github-actions in #243
Api changes
Changed Property(s)
⚠️ changed propertymoney
of typeCartDiscountValueFixed
from typeCentPrecisionMoney[]
toTypedMoney[]
⚠️ changed propertymoney
of typeCartDiscountValueFixedDraft
from typeMoney[]
toTypedMoneyDraft[]
Added Property(s)
- added property
stores
to typeCartDiscount
- added property
stores
to typeCartDiscountDraft
- 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
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
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
shippingKey
to typeStagedOrderAddDeliveryAction
- 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
- 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 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
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
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
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnItemCustomTypeAction
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnPaymentStateAction
to be optional - changed property
returnItemId
of typeStagedOrderSetReturnShipmentStateAction
to be optional - changed property
customLineItemId
of typeStagedOrderTransitionCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeStagedOrderTransitionLineItemStateAction
to be optional - changed property
priceMode
of typeCustomLineItemImportDraft
to be optional - changed property
customLineItemId
of typeOrderImportCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeOrderImportLineItemStateAction
to be optional - changed property
customLineItemId
of typeOrderSetCustomLineItemCustomFieldAction
to be optional - changed property
customLineItemId
of typeOrderSetCustomLineItemCustomTypeAction
to be optional - changed property
customLineItemId
of typeOrderSetCustomLineItemShippingDetailsAction
to be optional - changed property
returnItemId
of typeOrderSetReturnItemCustomFieldAction
to be optional - changed property
returnItemId
of typeOrderSetReturnItemCustomTypeAction
to be optional - changed property
returnItemId
of typeOrderSetReturnPaymentStateAction
to be optional - changed property
returnItemId
of typeOrderSetReturnShipmentStateAction
to be optional - changed property
customLineItemId
of typeOrderTransitionCustomLineItemStateAction
to be optional - changed property
lineItemId
of typeOrderTransitionLineItemStateAction
to be optional - changed property
comment
of typeQuoteRequestDraft
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
Deprecated Property(s)
- property
Associate::roles
is removed - property
AssociateDraft::roles
is removed - property
IndividualExclusionProductSelectionType::type
is removed - property
IndividualProductSelectionType::type
is removed - property
ProductSelection::type
is removed - property
ProductSelectionDraft::type
is removed - property
ProductSelectionType::type
is removed
Added QueryParameter(s)
- added query parameter
where
to methodget /{projectKey}/in-store/key={storeKey}/product-selection-assignments
- added query parameter
/^var[.][a-zA-Z0-9]+$/
to methodget /{projectKey}/in-store/key={storeKey}/product-selection-assignments
Removed QueryParameter(s)
⚠️ removed query parameterexpand
from methodget /{projectKey}/subscriptions
⚠️ removed query parameterexpand
from methodpost /{projectKey}/subscriptions
⚠️ removed query parameterexpand
from methodget /{projectKey}/extensions
⚠️ removed query parameterexpand
from methodpost /{projectKey}/extensions
⚠️ removed query parameterexpand
from methodget /{projectKey}/subscriptions/key={key}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/subscriptions/key={key}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/subscriptions/key={key}
⚠️ removed query parameterexpand
from methodget /{projectKey}/subscriptions/{ID}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/subscriptions/{ID}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/subscriptions/{ID}
⚠️ removed query parameterexpand
from methodget /{projectKey}/extensions/key={key}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/extensions/key={key}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/extensions/key={key}
⚠️ removed query parameterexpand
from methodget /{projectKey}/extensions/{ID}
⚠️ removed query parameterexpand
from methodpost /{projectKey}/extensions/{ID}
⚠️ removed query parameterexpand
from methoddelete /{projectKey}/extensions/{ID}
Added Type(s)
- added type
CartDiscountAddStoreAction
- added type
CartDiscountRemoveStoreAction
- added type
CartDiscountSetStoresAction
- added type
ContentTooLargeError
- added type
MaxCartDiscountsReachedError
- added type
MaxStoreReferencesReachedError
- added type
StoreCartDiscountsLimitReachedError
- added type
GraphQLContentTooLargeError
- added type
GraphQLMaxCartDiscountsReachedError
- added type
GraphQLMaxStoreReferencesReachedError
- added type
GraphQLStoreCartDiscountsLimitReachedError
- added type
BusinessUnitParentChangedMessage
- added type
OrderCustomFieldAddedMessage
- added type
OrderCustomFieldChangedMessage
- added type
OrderCustomFieldRemovedMessage
- added type
OrderCustomTypeRemovedMessage
- added type
OrderCustomTypeSetMessage
- added type
BusinessUnitParentChangedMessagePayload
- added type
OrderCustomFieldAddedMessagePayload
- added type
OrderCustomFieldChangedMessagePayload
- added type
OrderCustomFieldRemovedMessagePayload
- added type
OrderCustomTypeRemovedMessagePayload
- added type
OrderCustomTypeSetMessagePayload
- added type
StagedOrderSetDirectDiscountsAction
- added type
StagedOrderSetStoreAction
Deprecated Type(s)
- type
AssociateRoleDeprecated
is removed - type
IndividualExclusionProductSelectionType
is removed - type
IndividualProductSelectionType
is removed - type
ProductSelectionType
is removed - type
ProductSelectionTypeEnum
is removed
Removed Type(s)
⚠️ removed typeCartSetDeliveryAddressCustomFieldAction
⚠️ removed typeCartSetDeliveryAddressCustomTypeAction
⚠️ removed typeBusinessUnitParentUnitChangedMessage
⚠️ removed typeBusinessUnitParentUnitChangedMessagePayload
⚠️ removed typeOrderResourceIdentifier
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()
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 Enum(s)
- added enum
associate-role
to typeChangeSubscriptionResourceTypeId
Import changes
Required Property(s)
⚠️ changed propertykey
of typePriceDraftImport
to be required- changed property
addresses
of typeCustomerImport
to be optional
History changes
Added Type(s)
- added type
AddInheritedAssociateChange
- added type
AssociateRoleLabel
- added type
ChangeBuyerAssignableChange
- added type
ChangeInheritedAssociateChange
- added type
InheritedAssociate
- added type
InheritedAssociateRoleAssignment
- added type
Permission
- added type
RemoveInheritedAssociateChange
- added type
SetLocalizedNameChange
- added type
SetPermissionsChange
Added Enum(s)
- added enum
associate-role
to typeChangeHistoryResourceType
Full Changelog: 8.1.0...9.0.0