2023.05.26 - New queries implemented ShopifyApp
2 days ago by Mikhail Kozhin
API changes
- Added a root query field
shopifyApp: ShopifyApp!
which fetches details about the Rye's Shopify App. Currently, it includes the single fieldinstallationLink(storeCanonicalDomain: String!): ShopifyAppInstallationLink!
that crafts a Rye App installation link for the provided Shopify store. - Added a root query field
environmentToken
. This query is used by the RyePay package and should not be used by developers directly. - Added
id
field toAmazonVariant
that represents ASIN of the variant. postalCode
ofBuyerIdentityInput
has become optional.- Added a new
generateJWT: () => Promise<string>
param toRyePay::init
method. It allows providing a function that generates JWT for authorization and can be passed instead ofapiKey
Resolved issues
- Fixed
cannot read properties undefined (reading 'currency')
exception occurred when queryingCart:cost
field for an already submitted cart.