Skip to Content
API ReferenceSupport reply templates

Update a support reply template

Change, pause or resume a reply template.

Pausing a template, or turning off supports_auto_respond, changes what your automation rules do with new tickets: read what happens when a template is paused before you send the change.

PATCH
/v2/support-reply-templates/{supportReplyTemplate}

Update a reply template. Only the fields you send change; PUT and PATCH behave the same. A body with nothing to change returns 200 with the template as it is and saves nothing. Pausing a template (is_active: false) or turning off supports_auto_respond takes it away from the automation rules that use it: a rule that only replies stops answering and lets the next rule try, while a rule that also refunds or closes still takes the tickets it matches but does nothing for them. Requires the ticket API-key ability, and the key's user must be allowed to manage tickets in the store (the Resolution Center role, or owner or administrator). A template offered to automation rules (supports_auto_respond) or used by a rule also needs the support.automation ability and the Support Automation role; without them the change returns 403. Repeating the same change is safe, except with an old expected_updated_at, which no longer matches after the first change: read the template again. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

supportReplyTemplate*integer

The reply template ID.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
label?string

Name your team sees when choosing the template. Surrounding spaces are trimmed.

Length1 <= length <= 120
body?string

Reply text, trimmed. Only these placeholders are accepted: {customer_email}, {ticket_id}, {order_id}, {product_title}, {refund_amount}, {wallet_balance} and {store_name}. Any other placeholder returns 422 on body with Unsupported placeholder: ....

Length1 <= length <= 5000
is_active?boolean

false pauses the template: it is no longer offered for replies, and automation rules that use it stop sending it.

supports_manual?boolean

Whether your team can insert the template into replies they write.

supports_auto_respond?boolean

Whether automation rules may send the template as an automatic reply. Needs the support.automation ability and the Support Automation role.

expected_updated_at?string

The updated_at you read. When the record was saved by someone else since, the change is refused with 422 on expected_updated_at and nothing is saved, so you never overwrite an edit you have not seen.

Formatdate-time

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://sell.app/api/v2/support-reply-templates/31' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "is_active": false,  "expected_updated_at": "2026-07-03T09:12:00.000000Z"}'
{  "data": {    "id": 31,    "label": "Download link help",    "body": "Hi {customer_email}, thanks for writing to {store_name} about {product_title}. A fresh download link is on its way.",    "placeholders": [      "customer_email",      "store_name",      "product_title"    ],    "is_active": false,    "supports_manual": true,    "supports_auto_respond": false,    "sort_order": 0,    "created_at": "2026-07-03T09:12:00.000000Z",    "updated_at": "2026-07-04T10:02:00.000000Z"  }}
PUT
/v2/support-reply-templates/{supportReplyTemplate}

Update a reply template. Only the fields you send change; PUT and PATCH behave the same. A body with nothing to change returns 200 with the template as it is and saves nothing. Pausing a template (is_active: false) or turning off supports_auto_respond takes it away from the automation rules that use it: a rule that only replies stops answering and lets the next rule try, while a rule that also refunds or closes still takes the tickets it matches but does nothing for them. Requires the ticket API-key ability, and the key's user must be allowed to manage tickets in the store (the Resolution Center role, or owner or administrator). A template offered to automation rules (supports_auto_respond) or used by a rule also needs the support.automation ability and the Support Automation role; without them the change returns 403. Repeating the same change is safe, except with an old expected_updated_at, which no longer matches after the first change: read the template again. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

supportReplyTemplate*integer

The reply template ID.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
label?string

Name your team sees when choosing the template. Surrounding spaces are trimmed.

Length1 <= length <= 120
body?string

Reply text, trimmed. Only these placeholders are accepted: {customer_email}, {ticket_id}, {order_id}, {product_title}, {refund_amount}, {wallet_balance} and {store_name}. Any other placeholder returns 422 on body with Unsupported placeholder: ....

Length1 <= length <= 5000
is_active?boolean

false pauses the template: it is no longer offered for replies, and automation rules that use it stop sending it.

supports_manual?boolean

Whether your team can insert the template into replies they write.

supports_auto_respond?boolean

Whether automation rules may send the template as an automatic reply. Needs the support.automation ability and the Support Automation role.

expected_updated_at?string

The updated_at you read. When the record was saved by someone else since, the change is refused with 422 on expected_updated_at and nothing is saved, so you never overwrite an edit you have not seen.

Formatdate-time

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/support-reply-templates/31' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "is_active": false,  "expected_updated_at": "2026-07-03T09:12:00.000000Z"}'
{  "data": {    "id": 31,    "label": "Download link help",    "body": "Hi {customer_email}, thanks for writing to {store_name} about {product_title}. A fresh download link is on its way.",    "placeholders": [      "customer_email",      "store_name",      "product_title"    ],    "is_active": false,    "supports_manual": true,    "supports_auto_respond": false,    "sort_order": 0,    "created_at": "2026-07-03T09:12:00.000000Z",    "updated_at": "2026-07-04T10:02:00.000000Z"  }}