This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
children.url_key - The url key assigned to the category.
// get `url_key` of category children
const categoryList = sdk.commerce.categoryList();
for (let categoryChildren of categoryList.children) {
const url_key = categoryChildren.url_key;
}
children.url_key - The url key assigned to the category.
// get `url_key` of category children
const categoryList = sdk.commerce.categoryList();
for (let categoryChildren of categoryList.children) {
const url_key = categoryChildren.url_key;
}
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@vue-storefront/magento-api@2.6.0
Minor Changes
7ce4f9ed: [CHANGED] Enhanced default GQL queries
CategorySearchQuery
new fields:url_key
- The url key assigned to the category.children
- Child categories tree.include_in_menu
is_anchor
level
name
position
product_count
uid
url_key
url_path
url_suffix
CategoryListQuery
new fields:children.url_key
- The url key assigned to the category.ProductListsQuery
new fields:variants
- An array of variants ofConfigurableProduct
Patch Changes
7ce4f9ed: [FIXED]
CategoryListQuery
returnsurl_key
property on each children level[CHANGED] Enhanced default GQL queries
CategoryListQuery
children
7ce4f9ed: [CHANGED] Enhanced default GQL queries
ProductDetailsQuery
ConfigurableProduct
response withConfigurableVariants
7ce4f9ed: [CHANGED] Enhanced default GQL queries with new fields
CartQuery
CustomerCartQuery
ApplyCouponToCartMutation
RemoveCouponFromCartMutation
AddProductsToCartMutation
RemoveItemFromCartMutation
SetShippingMethodsOnCartMutation
MergeCartsMutation
with new fields:
prices
subtotal_with_discount_excluding_tax
configured_variant
sku
name
only_x_left_in_stock
price_range
7ce4f9ed: [FIXED]
updateCustomerAddress
method declaration argument type. Useid
instead ofaddressId
.[CHANGED] Enhanced default GQL queries
CreateCustomerAddress
response with fieldsfirstname
lastname
prefix
suffix
7ce4f9ed: [CHANGED] Enhanced default GQL queries with new fields
SetGuestEmailOnCartMutation
SetBillingAddressOnCartMutation
SetPaymentMethodOnCartMutation
SetShippingAddressesOnCartMutation
with new fields:
prices
subtotal_with_discount_excluding_tax
configured_variant
sku
name
only_x_left_in_stock
price_range
Updated dependencies [7ce4f9ed]
Updated dependencies [7ce4f9ed]
Updated dependencies [7ce4f9ed]
Updated dependencies [7ce4f9ed]
Updated dependencies [7ce4f9ed]
Updated dependencies [7ce4f9ed]
Updated dependencies [7ce4f9ed]
@vue-storefront/magento-types@1.1.0
Minor Changes
7ce4f9ed: [CHANGED] Enhanced default GQL queries
CategorySearchQuery
new fields:url_key
- The url key assigned to the category.children
- Child categories tree.include_in_menu
is_anchor
level
name
position
product_count
uid
url_key
url_path
url_suffix
CategoryListQuery
new fields:children.url_key
- The url key assigned to the category.ProductListsQuery
new fields:variants
- An array of variants ofConfigurableProduct
Patch Changes
7ce4f9ed: [FIXED]
CategoryListQuery
returnsurl_key
property on each children level[CHANGED] Enhanced default GQL queries
CategoryListQuery
children
7ce4f9ed: [CHANGED] Enhanced default GQL queries
ProductDetailsQuery
ConfigurableProduct
response withConfigurableVariants
7ce4f9ed: [CHANGED] Enhanced default GQL queries with new fields
CartQuery
CustomerCartQuery
ApplyCouponToCartMutation
RemoveCouponFromCartMutation
AddProductsToCartMutation
RemoveItemFromCartMutation
SetShippingMethodsOnCartMutation
MergeCartsMutation
with new fields:
prices
subtotal_with_discount_excluding_tax
configured_variant
sku
name
only_x_left_in_stock
price_range
7ce4f9ed: [FIXED]
getAvailableShippingMethods
method declaration argument type. Usingcart_id
instead ofcartId
.7ce4f9ed: [FIXED]
updateCustomerAddress
method declaration argument type. Useid
instead ofaddressId
.[CHANGED] Enhanced default GQL queries
CreateCustomerAddress
response with fieldsfirstname
lastname
prefix
suffix
7ce4f9ed: [CHANGED] Enhanced default GQL queries with new fields
SetGuestEmailOnCartMutation
SetBillingAddressOnCartMutation
SetPaymentMethodOnCartMutation
SetShippingAddressesOnCartMutation
with new fields:
prices
subtotal_with_discount_excluding_tax
configured_variant
sku
name
only_x_left_in_stock
price_range