Skip to content

Update message

PATCH/admin/v1/stores/{store_id}/contact-messages/{message_id}
  • customers:write

Files a message: read, spam, archived, or new again.

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.

  • message_idstringrequired

    Contact message ID

Headers

  • shop-api-versionYYYY-MM

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

Body

  • statusenumrequired

    new, read, spam or archived (replying makes it replied).

    • new
    • read
    • replied
    • spam
    • archived

Returns

200 Filed.

Errors

  • 422validation_failedreplied can't be set by hand.