Set conversation state
PUT
/ admin/ v1/ stores/ {store_id}/ conversations/ {conversation_id}/ state- messages:write
Opens the conversation again, or puts it away as done; the customer's next message opens it again.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.conversation_idstringrequiredThe conversation's ID, like
conv_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
stateenumrequiredWhether the team still has something to do in a conversation.
- open
- done
Returns
204 Changed.
Errors
- 404
not_foundNo such conversation.