Shopify's Admin GraphQL API version 2026-10 introduces a new enum value, FULFILLMENT_NOT_REQUIRED, for the OrderDisplayFulfillmentStatus field. This value is returned for orders that have no items remaining to fulfill — such as fully cancelled or fully refunded orders — replacing the previously misleading UNFULFILLED status. The change is backward-compatible for integrations that handle unknown enum values gracefully. Developers using exhaustive enum mappings or filtering on UNFULFILLED will need to add handling for the new value when adopting API version 2026-10.
Nguồn: https://shopify.dev/changelog/orderdisplayfulfillmentstatus-now-returns-fulfillmentnotrequired. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Bài viết so sánh 7 nền tảng CMS headless dành cho doanh nghiệp B2B SaaS: Prismic, Contentful, Sanity, Strapi, Storyblok, Hygraph và Kontent.ai, dựa trên nhu cầu cụ thể như landing page ICP, ABM, localization, tích hợp marketing stack và công cụ AI. Mỗi nền tảng có ưu thế riêng: Prismic cho SEO/AI, Contentful cho doanh nghiệp, Sanity cho linh hoạt kỹ thuật, Strapi cho mã nguồn mở, Storyblok cho chỉnh sửa trực quan, Hygraph cho GraphQL federation, Kontent.ai cho quản trị AI quy mô lớn. Bài viết cũng cung cấp thông tin về giá cả và hạn chế của từng nền tảng.
Những doanh nghiệp SaaS B2B cần tìm giải pháp quản lý nội dung phù hợp với quy mô và yêu cầu chuyên nghiệp hóa, từ việc tối ưu SEO cho landing pages đến tích hợp AI và công cụ ABM, để xây dựng trải nghiệm người dùng chuyên nghiệp và hiệu quả.
REST và GraphQL là hai kiến trúc API phổ biến cho nhà phát triển. REST hoạt động dựa trên tài nguyên và phương thức HTTP, trong khi GraphQL cho phép truy vấn dữ liệu linh hoạt thông qua schema. Mỗi phương pháp có ưu điểm riêng (đơn giản, hiệu quả caching cho REST; truy vấn chính xác, giảm over-fetching cho GraphQL) nhưng cũng đi kèm nhược điểm (over-fetching/under-fetching cho REST, phức tạp trong caching cho GraphQL). Lựa chọn phụ thuộc vào nhu cầu dự án.
Lập trình viên nên đọc bài này để so sánh rõ ràng giữa REST và GraphQL, giúp họ chọn kiến trúc API phù hợp nhất với dự án, từ đó tối ưu hóa hiệu suất, quản lý dữ liệu và trải nghiệm phát triển.
A step-by-step guide to building an AJAX cart drawer in Shopify without page reloads, using the Shopify Ajax API and Section Rendering API. The approach treats the server as the single source of truth: after every cart mutation (add, update, remove, clear), the drawer re-reads /cart.js and re-renders from the response rather than maintaining local state. Key patterns covered include event delegation for quantity controls, bundled section rendering to keep markup in one Liquid file, and the new 2026 standard storefront events and actions (shopify: namespace) that let apps and AI shopping agents interact with any theme through a stable contract. The guide also covers overriding Shopify.actions.updateCart and openCart so third-party app calls route through the custom drawer instead of triggering a page reload.
Data API builder (DAB) 2.0 hỗ trợ các đường dẫn REST đa phân đoạn (compound paths) cho các endpoint thực thể, cho phép cấu hình các đường dẫn như /api/sales/Customer thay vì chỉ /api/Customer, giúp tổ chức các endpoint theo lĩnh vực kinh doanh, sở hữu schema hoặc nhóm logic mà không ảnh hưởng đến cách DAB xử lý bảo mật hay truy vấn.
Lập trình viên nên đọc bài này để khám phá cách sử dụng Data API Builder để thiết kế API với các đường dẫn phân cấp logic, giúp tổ chức và quản lý các endpoint theo các khu vực nghiệp vụ hoặc schema riêng biệt mà không cần thay đổi cơ sở hạ tầng hiện có.
Shopify's GraphQL Admin API GiftCard object now includes a new lineItem field that references the line item from the order that created the gift card. The field returns null for manually issued gift cards not tied to an order. This change is part of the 2026-07 API version.
Shopify's GraphQL Customer Account API version 2026-07 adds discount application data to draft orders. Developers can now query the new discountApplications field on DraftOrder to retrieve applied discounts (both discount codes and manual discounts), and the discountAllocations field on DraftOrderLineItem to see how discounts are distributed across individual line items. A sample GraphQL query is provided showing how to retrieve discount type, allocation method, target selection, value, and per-line-item allocation amounts.
The discountedUnitPrice field on the DraftOrderLineItem object in Shopify's Customer Account API is now deprecated as of the 2026-07 release. Developers should migrate to the new approximateDiscountedUnitPrice field, which calculates the discounted total divided by quantity to provide an approximate per-unit price.
Shopify's 2026-07 API version introduces deposit fields for draft orders in both the GraphQL Admin API and Customer Account API. Developers can now set a deposit amount when creating or updating draft orders, enabling split-payment flows where part of the total is due at checkout and the remainder is due later (e.g., due-on-fulfillment terms). The Customer Account API exposes read-only deposit details including amounts due now and later. This feature is limited to Shopify Plus stores.