Set pin
PUT
/ admin/ v1/ stores/ {store_id}/ pos/ people/ {person_id}/ pin- settings:write
Sets or resets someone's PIN (null clears it). , or the member setting their own.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.person_idstringrequiredThe person's ID, like
pper_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
pinstring · or nullFour digits;
nullclears it.
Returns
204 Set.
Errors
- 422
validation_failedNot four digits.