← Latest Shopify changes

Set product categories on custom line items in draft orders and order edits

APINewGraphQL Admin API2027-01

Shopify developer change

MerchantDiff detected this entry in Shopify's official developer changelog on October 21, 2026.

This Shopify update is categorized as API, New, GraphQL Admin API, 2027-01.

What changed

Starting with GraphQL Admin API version 2027-01, you can assign a category from Shopify's Standard Product Taxonomy to custom line items in draft orders and order edits. The category controls the item's tax treatment in the same way it does for products. For stores using Managed Taxes, the product category is the only input that sets a custom line item's tax treatment. What's new You can now set and read product categories on custom line items in draft orders and order edits: Draft orders DraftOrderLineItemInput.productCategoryId sets the product category of a custom line item. You can use it with draftOrderCreate, draftOrderUpdate and draftOrderCalculate.

Who is affected

Apps using the affected Shopify GraphQL API surface should review this change.

What action may be needed

Review whether the new capability is relevant to your app. If you plan to use it, test the affected API or workflow before adopting it in production.

Referenced API version: 2027-01

Use the official Shopify entry below as the source of truth for technical implementation details, affected APIs, migration instructions and deadlines.

Want the actionable version?

MerchantDiff monitors Shopify API changes, deprecations, deadlines and ecosystem updates, then turns them into developer-focused release intelligence: what changed, who is affected and what action may be needed.

Get MerchantDiff →