GraphQL API vs Rest Admin API creating orders

AI-generated summary

Choosing the most suitable Shopify API for creating orders in a backup app that first exports orders to CSV. The author seeks guidance on whether to use GraphQL or REST for order creation.

  • Latest input: A respondent recommends using the Shopify Admin REST API’s Orders endpoint (POST /orders) and provides the official documentation link.
  • Coverage: No arguments, trade-offs, or reasons were provided for REST over GraphQL. GraphQL was not discussed beyond the initial comparison implied by the question.
  • Outcomes/decisions: No confirmation from the original poster; no consensus reached.
  • Open points: Criteria such as rate limits, performance, bulk creation, or CSV import considerations were not addressed.
  • Artifacts: Only a documentation link was shared; no code samples or images were included.

“I am developing a Shopify backup app where I export orders to a CSV file before creating them. Considering this workflow, which API would be the most suitable for order creation?”

Hi @muhammad_haroon
You can use Order REST API check below link for more information