Skip to Content
API ReferenceSupport reply templates

Reorder support reply templates

Set the order your team sees the reply templates in.

PATCH
/v2/support-reply-templates/reorder

Set the order your team sees the templates in. Send every template of the store exactly once in ordered_template_ids, first one first; the response lists them all with sort_order counted from 0. A list that repeats, adds or leaves out a template returns 422 on ordered_template_ids and changes nothing: list the templates again and send the full list. This order does not change which automation rule answers a ticket. 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). When any template is offered to automation rules or used by one, reordering also needs the support.automation ability and the Support Automation role, otherwise 403. Repeating the same order is safe. 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.

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
ordered_template_ids*array<>

Every reply template ID of the store, each once, in the new order.

Items1 <= items <= 1000

Response Body

Successful response.

application/json
  1. response
data*array<>
Example Request
curl -X PATCH 'https://sell.app/api/v2/support-reply-templates/reorder' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "ordered_template_ids": [    32,    31  ]}'
{  "data": [    {      "id": 32,      "label": "Refund credited",      "body": "Hi {customer_email}, we credited {refund_amount} to your {store_name} wallet for {product_title}. Your wallet balance is now {wallet_balance}.",      "placeholders": [        "customer_email",        "refund_amount",        "store_name",        "product_title",        "wallet_balance"      ],      "is_active": true,      "supports_manual": true,      "supports_auto_respond": true,      "sort_order": 0,      "created_at": "2026-07-03T09:14:00.000000Z",      "updated_at": "2026-07-03T09:14:00.000000Z"    },    {      "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": true,      "supports_manual": true,      "supports_auto_respond": false,      "sort_order": 1,      "created_at": "2026-07-03T09:12:00.000000Z",      "updated_at": "2026-07-03T09:12:00.000000Z"    }  ]}