Undo change
POST
/ admin/ v1/ stores/ {store_id}/ undo- Idempotency-Key supported
Takes back the caller's latest change to these, within a minute of making it.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
subjectstringrequiredWhat was changed, e.g.
product.idsarray of stringsrequiredWhich ones. A change that covered many is found from any list that has its first.
Returns
204 Taken back.
Errors
- 400
bad_requestNothing to take back. - 409Too late, or something has taken its place.