3. Development Categories
1. Admin API
2. APP Bridge
3. Shopify Function APIs (allow developers to customize the backend logic that powers parts of Shopify)
4. Blockchain (Blockchain components are in early access and may be unstable, potentially requiring frequent
version upgrades.)
5. Partner API
6. Multipass (Working on almost Authentication and single logins, for example you have website and users
don’t need to login for second time in shopify)
7. Payments Apps API
8. Theme Extensions Store Front Themes
4. Development Preview
When a new feature is accompanied by a backwards-incompatible
change to our APIs, or a significant change to the online store or the
Shopify admin, it's included in a developer preview.
Timeline
When a stable version introduces a backwards-incompatible change,
the feature associated with the change won't be available to a user's
Shopify admin until 9 months later,
5. We'll delve into the following topics
1. ShopifyQL
2. The Shipping Discount Function
3. Discounts Allocator Function
4. Increased Variants
5. Theme blocks
6. Duties and taxes
7. Defer directive
8. Localization extensions
9. Store credit primitive and API
10. Checkout and Customer Accounts Extensibility
11. Admin UI extensions
6. ShopifyQL overview
You can use the GraphQL Admin API to query data from a Plus merchant store using ShopifyQL. The ShopifyQL API enables
you to write analytical queries to find insights in merchants' store data.
to create reporting apps that provide business insights for Plus merchantsso you can import the data into data warehouses.
It has datasets of
● Orders
● Products
● Payment Attempts
8. The Shipping Discount
The Shipping Discount API enables you to create a new type of discount that's applied to one or more
shipping rates at checkout.
Example use cases:
■ Free shipping.
■ A discount on shipping. For example, 20% off shipping or $5 off shipping.
■ A discount on specific shipping rates. For example, 50% off Standard shipping.
9. Discounts Allocator Function(Developer preview)
The Discounts Allocator Function API enables you to have a higher degree of customization when you define discount
allocation strategies. With this API, you can implement custom logic to distribute discounts across line items.
Maximum discount per cart Set a maximum discount amount that can be applied to a cart, for example, a maximum discount of $500 per cart.
Maximum times to apply a discount per cart Set a limit on the number of times that a specific discount can be applied to a cart, for example, discount code ABC can be applied up to three times per cart.
Maximum discounts to apply per cart Set a limit on the number of discounts that can be applied to an order, for example, a maximum of five per order.
Same product line item discount stacking Allow more than one discount to apply to the same product line item. For example, get one product discounted with both 20% off and $5 off from different discounts.
Rank discounts in priority Set the order in which multiple discounts are applied, for example, a 10% discount is applied before a $5 off product discount.
Apply order discounts multiplicatively Apply multiple discounts to an order in a multiplicative manner, for example, a 10% discount followed by a 20% discount results in a total discount of 28%.
Allocate free line items proportionally Apply discounts to line items proportionally, where each item in the cart receives an equal percentage of the total discount
Allocate free line items based on a weighted distribution Apply discounts to line items based on the proportion of each item's price to the total price of all items.
Apply discounts to the least expensive item Apply the discount to the lowest-priced item in the cart, for example, a 20% discount applied to the least expensive item in the cart.
10. Discounts Allocator Function(Developer preview)
It needs permission of write_discounts_allocator_functions
Limitations and considerations
■ Only one allocator is supported per shop.
■ The Discounts Allocator Function only reduces product and order discounts.
■ Only stores on a Shopify Plus plan can use custom apps that contain a Discounts Allocator Function.
■ Shopify shows errors for discount codes only. Errors lock checkout, and the buyer has to remove the discount code to proceed through
checkout.
11. Increased Variants(Developer preview)
The Increased Variants developer preview enables you to use the GraphQL
Admin API to create and edit products with up to 2000 variants.
You can test the new APIs by enabling the Increased Variants developer
preview on your development store.
12. Theme blocks (Developer preview)
The Theme blocks developer preview gives you access to the following new platform features:
● Support for reusable block Liquid files located in the /blocks folder of the theme
● Nesting blocks up to eight levels deep using the {% content for ‘blocks’ %} Liquid tag
● Multiple presets that showcase settings variations of the same block.
Merchants can add these in the theme editor using the block picker.
13. Duties and taxes (Developer preview)
The Duties and Taxes developer preview gives your development store the ability to charge duties calculated by Shopify during
checkout, which avoids surprise charges for customers upon delivery.
Using the 2020-04 version or higher of our REST or GraphQL Admin APIs, you can fetch duty amounts charged on international
orders through checkout. Using the GraphQL Admin API, you can create refunds that include the duty on an entire order or
individual line items.
14. Defer directive(Developer preview)
The Defer Directive developer preview allows your development store to prioritize parts of your GraphQL query over others
without having to make multiple requests. Responses are streamed back to the client as they are resolved by Shopify.
{ Important in case of speed and priority of GraphQL and loading data}
15. Localization extensions(Developer preview)
The Localization Extensions developer preview enables you to use the GraphQL Admin API to return a tax ID that was collected during
checkout.
Note
In this step, you'll use a Brazilian CPF number, but the following country fields can also be collected:
•South Korea: Personal Customs Code
•China: Resident ID number
•Italy: Codice Fiscale and PEC
16. Store credit primitive and API(Developer preview)
The store credit primitive and API developer preview activates store credit on your shop. With this feature you can issue store credit to
your customers and they can spend it at checkout. A customer's store credit is visible on their profile page and it can be queried via the
GraphQL Admin API.
Store credit can only be spent by customers logged in to new customer accounts.
17. Checkout & Customer Accounts Extensibility(Developer preview)
Apps can integrate with Shopify checkout using these extensions to add custom UI and additional functionality to the checkout
experience.
• Checkout branding
• Thank you and order status extensions
• Customer account UI extensions
• For example, developers can build extensions that show loyalty points earned by the customer on the Order index page, or
build extensions to create a new page in customer accounts that allows a customer to manage their Wishlist.
18. Admin UI extensions(Developer preview)
The Admin UI extensions developer preview introduces actions and blocks for integrating your app on key pages of the Shopify
admin, such as the Products, Customers, and Orders pages. You can access the admin UI extensions developer preview by
creating a new extension using Shopify CLI 3.48 or later.
19. Conclusion
There are many Possible Improvement as well as new Opportunity for
Developing fresh apps.