Skip to content

Reset notification template

DELETE/admin/v1/stores/{store_id}/notifications/messages/{message}/templates/{channel}/{locale}
  • notifications:manage

Go back to the built-in template (one channel, one language). Returns the template now in use.

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.

  • messagestringrequired

    Message key

  • channelstringrequired

    email, sms or whatsapp

  • localestringrequired

    en or ar

Headers

  • shop-api-versionYYYY-MM

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

Returns

200 The built-in template, now in use.

Errors

  • 403forbiddenMissing notifications:manage.
  • 404not_foundNo such message, or not on this channel.