# API

**URL:** <https://community.shopify.com/t/api/98600>\
**Category:** Customers Discounts And Orders\
**Created:** [February 10, 2022, 7:39pm UTC](https://community.shopify.com/t/api/98600 "2022-02-10T19:39:45Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

Goal: Automate “completing” Shopify orders via API.

- Key clarification: “Complete” is ambiguous—could refer to checkout completion, order creation, or fulfillment (marking orders as shipped/processed). The responder requests a concrete use case to avoid the XY problem.

- If “complete” means fulfillment: Guidance is to develop a fulfillment app using Shopify’s developer documentation for fulfillment. This covers programmatically fulfilling items and updating order status.

- If not building a custom app: Use an automation app. Mechanic is recommended for low-code automation, allowing Liquid/JSON scripting for granular control without a full app stack.

- Resources provided: Links to Shopify fulfillment developer docs and to Mechanic, including example tasks for Orders and Fulfillment automations.

- Status/outcome: No resolution yet. Next steps depend on clarifying the exact meaning of “complete.”

- Action items:
  - Specify the desired outcome (e.g., auto-fulfill vs. other completion step).
  - Choose between building a fulfillment app or leveraging Mechanic.
  - Review provided examples to match the intended automation.

<div class="post-metadata">

**Author:** ![tinouser](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/tinouser/32/259219_2.png) [@tinouser](https://community.shopify.com/u/tinouser)\
**Post date:** [February 10, 2022, 7:39pm UTC](https://community.shopify.com/t/api/98600/1 "2022-02-10T19:39:45Z")

</div>

Hello, does anyone have experience with setting up or programming Shopify APIs and completing orders.  
We would like to automatically complete orders via the Shopify API.

---

<div class="post-metadata">

**Author:** ![PaulNewton](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/paulnewton/32/81148_2.png) [@PaulNewton](https://community.shopify.com/u/PaulNewton)\
**Post date:** [February 10, 2022, 9:43pm UTC](https://community.shopify.com/t/api/98600/2 "2022-02-10T21:43:22Z")

</div>

It’s not clear what you mean by “complete” as that means different things during the checkout/order/fulfillment process

… [XYproblem](https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem/66378#66378) - What is the **goal** or example use case?

If by “complete” you mean _fulfillment_ and need to learn to develop fulfillment apps then see the dev docs

[https://shopify.dev/apps/fulfillment](https://shopify.dev/apps/fulfillment)

If you are not a developer and you just need to automate the orders process use one of the automation apps available on the app store.

Mechanic is a go to for this [https://apps.shopify.com/mechanic](https://apps.shopify.com/mechanic) , if you want slightly more granular api control without having to build an entire app stack as it lets you script in liquid & json.

Example order automations [https://tasks.mechanic.dev/?tags=Orders](https://tasks.mechanic.dev/?tags=Orders) , [https://tasks.mechanic.dev/?tags=Fulfillment](https://tasks.mechanic.dev/?tags=Fulfillment)

Goodluck!
