Skip to content

Cancel fulfillment request

POST/admin/v1/stores/{store_id}/fulfillment-requests/{request_id}/cancel
  • orders:write
  • Idempotency-Key supported

Asks the app to stop: cancelled when it says so.

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.

  • request_idstringrequired

    The request's ID, like freq_01k8qs5s….

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.

Returns

200 Cancelled, refused (accepted with the app's reason) or waiting for the app (cancel_requested).

Errors

  • 409Shipped or closed.