Vue Storefront is now Alokai! Learn More
@vsf-enterprise/bigcommerce-types

@vsf-enterprise/bigcommerce-types

2.1.0

Minor Changes

  • ADDED The response of the getProductById endpoint of the Bigcommerce integration will now include the correct values for the following response fields (if the product is a pre-order product):
  • preorder_release_date
  • preorder_message
  • is_preorder_only

Before this change, the data returned in those fields was always unpopulated, as if the product was not a pre-order product - even if it in fact was a pre-order product in the Bigcommerce backend.

import { sdk } from "~/sdk.config.ts";
const product = await sdk.getProductById({ entityId: 77 });
console.log(product.data.preorder_release_date); // now includes populated pre-order data

2.0.1

Patch Changes

Update axios to ^0.28.0 to mitigate security vulnerability CVE-2023-45857

2.0.0

Major Changes

  • CHANGED Changed minimum Node version from 16 to 18. The condition that was forcing the Node version to be lower than 19 is also removed.

1.5.0

Minor Changes

  • cefe8e6: Add 'getCategoryTreeGql' method to fetch category tree from BigCommerce via GraphQL. The response is enriched with a 'productCount' field that contains the number of products in each category comparing to the REST getCategoryTree method.

1.4.0

Minor Changes

  • 93ebb8f: Added possibility to send cookie-independent requests via SDK to integration's GET endpoints in order to cache their response

1.3.0

Minor Changes

  • Added "deleteCoupon" Endpoint Functionality:
  • Introduced a new API endpoint in the api package to facilitate coupon deletion.
  • Implemented a corresponding client method in the SDK package for seamless interaction.
  • Expanded the types package with necessary data structures to support this feature.

1.2.0

Minor Changes

  • Added "addCoupon" Endpoint Functionality:
    • Introduced a new API endpoint in the api package to facilitate coupon addition.
    • Implemented a corresponding client method in the SDK package for seamless interaction.
    • Expanded the types package with necessary data structures to support this feature.

1.1.0

Minor Changes

  • feat: added secureOrderAPIs config for order apis

1.0.1

Patch Changes

  • fix: added missing property for base cart

1.0.0

Minor Changes

  • removing unused type in UpdateAddressParameters and introducing new createCustomerAddress sdk method
  • bigcommerce-types - removed redundant customer_id property in the CreateAddressParameters, bigcommerce-sdk - added createCustomerAddress method"