Managing Shopify Purchase Orders: Handling the Read-Only API Limitation
For merchants with high-volume supplier workflows, the current read-only state of Shopify's Purchase Orders (PO) API often creates a bottleneck. While supplier orders may be generated automatically in external ERPs or planning tools, the lack of API write access frequently necessitates manual data entry within the Shopify Admin. 📦
Based on discussions within the Shopify Community, here is an analysis of the current situation and the practical workarounds available to developers and merchants.
The Challenge of Read-Only Purchase Order APIs
Currently, the Purchase Orders API does not officially support mutations (Create, Update, or Delete) in the public Admin API. This limitation prevents full automation of several key tasks:
- Automatic PO Creation: Systems cannot programmatically generate POs based on low-stock triggers.
- Status Synchronization: Updating POs to "Ordered" or "Received" via API is not currently supported.
- Data Consistency: Fields like unit price and expected arrival dates must be managed manually, increasing the risk of human error. 📝
Current Workarounds for Merchants
Until official write access is granted, community members have identified several methods to bridge the gap:
- CSV Import: This is currently the most efficient way to handle large POs. Instead of manual line-by-line entry, merchants can export a CSV from their planning tool and import it directly into the Shopify Purchase Orders section. 🛠️
- External Management: Some merchants choose to keep the "source of truth" for POs in an external system (or use Metafields to store data) and only update inventory levels in Shopify once the goods are physically received.
- Newer GraphQL Mutations: For tracking incoming stock, some developers use the newer Inventory Transfer and Shipment mutations in the Admin GraphQL API. While these are writeable, they may not capture all PO-specific fields like vendor-specific unit pricing. 📊
Technical Considerations and Roadmap
There is uncertainty regarding the official timeline for PO mutations. Some community contributors suggest that internal mutations exist for the Shopify Admin interface, but these have not been exposed to the public API. There are also unverified reports of pilot programs for this functionality.
Developers are encouraged to check the latest Admin GraphQL Reference mutations list regularly, as API surfaces change across versions. ⚙️
Influencing the Roadmap
If your workflow is significantly impacted by these limitations, the community recommends submitting a formal feature request via Shopify Support. Providing specific use cases—such as the need for status-change webhooks or automated receiving—helps the technical team prioritize development. 🔗
***
Source: Shopify Community - Feature Request: Write access for Purchase Orders API