I am trying to create an DraftOrder using the Admin graphql api and wanted to know if there is a way to guarantee that the orders can be uniquely identified during creation time. More broadly, how does Idempotency work with the admin apis.
This is an older post, wondering if anything has changed recently or if there is a workaround I can use in the interim.
There are no idempotent operations in the Shopify API. You can not guarantee the draft order is uniquely identified prior to creation. Simply when you make the call the return value will have the unique ID and name.
Hope that helps,
|3 hours ago|
|4 hours ago|