Skip to Content
API ReferenceSupport reasons

Support reason options

Read the built-in and custom reasons a ticket can carry.

GET
/v2/support-reasons/options

Get every reason a ticket can carry and what you need to build a reason editor: the seven built-in reasons (platform_reasons), your own reasons with their products (custom_reasons), the reasons offered to a customer before they pick a product (customer_visible_reasons: the built-in ones and your active reasons offered for every product), counts, defaults, the accepted list filters and the dashboard page. A reason's source and code are what an automation rule matches on. 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). 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.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/support-reasons/options' \  -H 'X-STORE: launch-lab'
{  "data": {    "defaults": {      "is_active": true,      "product_scope": "all_products"    },    "counts": {      "platform": 7,      "custom_total": 2,      "custom_active": 2,      "custom_inactive": 0,      "custom_product_scoped": 1    },    "platform_reasons": [      {        "source": "platform",        "code": "not_received",        "key": "platform:not_received",        "label": "Didn't receive product / access",        "description": "Your order completed but you didn't get the product or access you paid for.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "not_as_described",        "key": "platform:not_as_described",        "label": "Product not as described",        "description": "What you received doesn't match the product page.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "technical_issue",        "key": "platform:technical_issue",        "label": "Technical issue with product",        "description": "Something about the product isn't working correctly.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "payment_issue",        "key": "platform:payment_issue",        "label": "Payment / billing issue",        "description": "Charge, invoice, or billing problem with your order.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "refund_request",        "key": "platform:refund_request",        "label": "Refund request",        "description": "You would like to request a refund for an order.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "account_issue",        "key": "platform:account_issue",        "label": "Account / login issue",        "description": "You can't sign in or access your account.",        "group": "Common reasons",        "requires_order": false      },      {        "source": "platform",        "code": "other",        "key": "platform:other",        "label": "Other",        "description": "Something else not covered by the options above.",        "group": "Common reasons",        "requires_order": false      }    ],    "custom_reasons": [      {        "source": "store",        "code": "download-link-expired",        "key": "store:download-link-expired",        "id": 14,        "label": "Download link expired",        "description": "The download link in the order email no longer works.",        "is_active": true,        "product_ids": [],        "products": [],        "product_scope": "all_products"      },      {        "source": "store",        "code": "licence-key-missing",        "key": "store:licence-key-missing",        "id": 15,        "label": "Licence key missing",        "description": "The licence key never arrived.",        "is_active": true,        "product_ids": [          120        ],        "products": [          {            "id": 120,            "title": "Design kit",            "type": "product"          }        ],        "product_scope": "selected_products"      }    ],    "customer_visible_reasons": [      {        "source": "platform",        "code": "not_received",        "key": "platform:not_received",        "label": "Didn't receive product / access",        "description": "Your order completed but you didn't get the product or access you paid for.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "not_as_described",        "key": "platform:not_as_described",        "label": "Product not as described",        "description": "What you received doesn't match the product page.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "technical_issue",        "key": "platform:technical_issue",        "label": "Technical issue with product",        "description": "Something about the product isn't working correctly.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "payment_issue",        "key": "platform:payment_issue",        "label": "Payment / billing issue",        "description": "Charge, invoice, or billing problem with your order.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "refund_request",        "key": "platform:refund_request",        "label": "Refund request",        "description": "You would like to request a refund for an order.",        "group": "Common reasons",        "requires_order": true      },      {        "source": "platform",        "code": "account_issue",        "key": "platform:account_issue",        "label": "Account / login issue",        "description": "You can't sign in or access your account.",        "group": "Common reasons",        "requires_order": false      },      {        "source": "platform",        "code": "other",        "key": "platform:other",        "label": "Other",        "description": "Something else not covered by the options above.",        "group": "Common reasons",        "requires_order": false      },      {        "source": "store",        "code": "download-link-expired",        "key": "store:download-link-expired",        "label": "Download link expired",        "description": "The download link in the order email no longer works.",        "group": "Store-specific",        "requires_order": false      }    ],    "product_scope_filters": [      {        "value": "all",        "label": "All custom reasons"      },      {        "value": "all_products",        "label": "All products"      },      {        "value": "selected_products",        "label": "Selected products"      }    ],    "active_state_filters": [      {        "value": "all",        "label": "All statuses"      },      {        "value": "active",        "label": "Active"      },      {        "value": "inactive",        "label": "Paused"      }    ],    "dashboard_url": "https://sell.app/dashboard/resolution-center/reasons"  }}