Hey everyone! Shopify is
deprecating parts of the Admin REST API
, starting with product and variant endpoints. These endpoints will stop working on February 1, 2025
.🔄
What’s changing?
- Shopify is moving away from REST and focusing on GraphQL. By Feb 1, 2025, task code using product and variant REST liquid objectsmust switch to GraphQL.
- GraphQL brings better performance and scalability—it’s great for large product catalogs and allows formore efficient data retrieval. Most complex tasks are already using GraphQL, so this change aligns with where Shopify is headed.
🎉
Library tasks—easy upgrade:
- If you’re using library tasks, the transition will besimple. In most cases, you’ll just need toclick a buttonto upgrade them.
- We’ve already updated the first batch of tasks—check them out here: https://github.com/lightward/mechanic-tasks/pull/393
🛠
Custom tasks—here’s what you need to do:
- If you’ve built custom tasksusing REST product or variant liquid objects, those will need to beconverted to GraphQL.
- To help with this, we’ve put together a tutorial showing exactly how to update your tasks: https://learn.mechanic.dev/resources/tutorials/converting-tasks-from-shopify-rest-to-graphql
- The work we’ve done on the task library can be used as a modelfor converting your custom tasks.
🗓
You’ve got plenty of time to update before February 1, 2025
, and the community is here for you if you have questions! You can join our Slack community here: https://learn.mechanic.dev/resources/slack.