Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • subjectstringrequired

    What was changed, e.g. product.

  • idsarray of stringsrequired

    Which ones. A change that covered many is found from any list that has its first.

Returns

204 Taken back.

Errors

  • 400bad_requestNothing to take back.
  • 409Too late, or something has taken its place.