- Bumped versions for dependencies.
- Updated
axios
to latest version (0.19.0
).
- Moved
Customer
model into its own client. - Added sort conditions into
SearchCriteria
. - Added
CustomersClient
.
- Fixed bug in
RestClient
which prevented token based authentication from working correctly. - Added functionality to get information about a currently signed in customer.
- Updated package versions.
- Added methods to fetch the customer token and admin token via API.
- Updated API to more reliably expose stock details in products.
- Renamed models in products module to be more consistent with the rest of the package.
- Renamed models in orders module to be more consistent with the rest of the package.
- Added helper method for orders.
- Added methods to search orders.
- Added ability to query for linked products for a product.
- Added missing
ExtensionAttributes
and helper methods for stock querying.
- Added
orders
client. Now you can fetch order details.
- Added product fetching by SKU.
- Improved typing for
ListResult
model. - Added searching for categories.
- Added
listByCategory(categoryId)
to products client.
- Added
getProducts(categoryId)
to categories client.
- Fixed bug in
CategoryListResult.flattenCategoryListResults()
which caused it to return empty array always.
- Exported models of product module.
- Added convenience methods to models.
- Renamed
ProductAttributePropertyOption
,ProductAttributeProperties
andProductAttribute
toProductAttributeOption
,ProductAttributes
andProduct
respectively. It now makes more sense and avoids confusing names. - Renamed
CategoryAttribute
toCategoryListResult
and addedCategory
model.
- Reverted 'Made all properties of
ProductAttribute
optional.'
- Made all properties of
ProductAttribute
optional. - Updated the
list()
method ofProductsClient
to change the method parameter. - Added
search()
method inProductsClient
. You can now specify fine search criteria to search for products.