Update register
PUT
/ admin/ v1/ stores/ {store_id}/ pos/ registers/ {register_id}Renames, moves or archives a register; an open one can't move or be archived.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.register_idstringrequiredThe register's ID, like
preg_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
namestringrequiredlocation_idstringrequiredTypeID with the
locprefix.archivedboolean
Returns
200 Saved.
Errors
- 409The register is open.