Skip to content

Set location service

PUT/admin/v1/stores/{store_id}/locations/{location_id}/fulfillment-service
  • settings:write

Gives a location to a fulfilment service app, or back to the store's team.

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.

  • location_idstringrequired

    The location's ID, like loc_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

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

Body

  • installation_idstring · or null

    The app that runs the location; null gives it back to the store's own team.

  • auto_requestboolean

    Send its orders on their own once they can ship. Defaults to true.

Returns

204 Saved.

Errors

  • 404not_foundNo such location or fulfilment service.