- Fix an issue with the cursor-based pagination #119
- Added fulfillment order endpoints
- Fixed storefront access token method
- Add storefront access tokens related methods
- Add support for shipping zones in the REST API
- Add check before iterating GraphQL results
- Add customer address endpoints
- Extend ShopifyClient to allow passing in array of middleware to be added to GuzzleClient handler stack.
- Add metafields methods for blog, collection, draft order resources
- Upgrade dependencies to use "Laminas" instead of deprecated Zend
- If you are using the 2020-01 API or newer for the REST API, it will now uses the link based pagination when the iterator methods are used.
- Add new methods for the new collection API
- Add method for creating customer invite
- Add collect endpoints
- Add blog count endpoint
- Add carrier service endpoints
- [BC] Add support for the new "version". You are now required to pass a version when creating a client (both admin and GraphQL API).
- Fix GraphQL doc
- Add blog methods
- Add draft order methods
- Remove unused dev dependency
- Allow to use Zend Diactoros 2.x
- Update dependency to use PSR-11 interfaces instead of container interop
- Add access scopes methods
- Add application charge methods
- Add new webhooks
- Add discount code and price rules methods
- Provide a basic client for the new GraphQL API
- Add missing updateOrder method to the descriptor
- Fix an issue where additional parameters couldn't be pass when creating webhooks
- Add support for inventory levels
- Remove default argument for __call
- Fix an issue with the CreateUsageCharge command
- Add dedicated metafields namespace (
getArticleMetafields
...)
- Add a new
count
endpoint for each resource. For instance you can get the number of orders this way:
$count = $shopifyClient->getOrderCount();
ZfrShopify automatically processes the response returned from Shopify to return you an integer.
- Add a new validator that can be used to validate incoming application proxy requests
- Fix an issue with paginating gift cards.
- ZfrShopify no longer explicitly specifies all the parameters in the descriptor. Instead, only the required fields are still validated, while others parameters are all passed to Shopify API. The reason was that Shopify API is moving fast, and keeping up to date with all the new attributes (or missing ones) was too time consuming. We lost a lot of hours of work trying to figure out why some of our API calls didn't work as expected, just to figure out that it was because we forgot the property in the descriptor.
This change should make the maintenance much easier, and allow people to use last Shopify features without waiting for an upgrade of this package.
It should not cause any BC break, except that validation will no longer be performed on optional fields, but to be on the safe side, this version is now tagged as 3.0.
- Add
SearchCustomers
endpoint.
- Make
email
optional when creating customer.
- Add
send_receipt
andsend_fulfillment_receipt
when creating order.
- Add the
expires_on
property for gift card.
- Add redirect endpoints.
- Allow to pass
metafield_namespaces
when creating or updating webhooks.
- Add an
UpdateOrder
endpoint
- Retry in case of 5XX response.
- Simplified the
UpdateProductVariant
by no longer needing the product ID (variant ID is enough).
- Add customer endpoints.
- Add a
name
filter for thegetOrders
endpoint that allows to filter by order number.
- Fix a bug in the
createCustomCollection
andcreateSmartCollection
endpoints that prevented to use them. - Update the semantic of the Guzzle service description to more closely reflect the nature of some properties.
- Add new
getCommand
,execute
andexecuteAll
methods which proxy to Guzzle client equivalent methods and allow more advanced use cases such as executing multiple commands concurrently.
- Update dependencies to use the more recent Guzzle 6 service
- Improve iterators performance by using generators
- Add a basic retry policy for better resiliency against Shopify API rate limits
- Removing the ability to alter a client using setters. A client is now immutable ; you need to create a new one if you need it configured with a different set of data.
- Add support for script tag methods (https://help.shopify.com/api/reference/scripttag)
- Fix the "attachment" parameter for theme assets
- Add support for order transaction methods (https://help.shopify.com/api/reference/transaction)
- Added new endpoint for accessing articles without the blog reference.
- Add support for usage charge methods (https://help.shopify.com/api/reference/usagecharge)
- Add
createDelegateAccessToken
endpoint (more info on delegate tokens)
- First release