Tickets
Request fields, responses, and examples for v1 tickets.
These v1 operations are active. Use an API key for SDK integrations. See authentication for credentials and store selection, or follow the first request guide.
bearerAuthstoreAuthAuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE<token>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.
limit?integerNumber of items to return per page.
1 <= value <= 10015page?integerPage number to return.
1 <= value1Successful response.
application/json- response
data*array<>links*meta*curl -X GET 'https://sell.app/api/v1/tickets'{ "data": [ { "id": 1, "title": "Payment methods", "status": "OPEN", "customer": { "id": 125, "email": "jamie.chen@example.com" }, "reference": [], "created_at": "2022-12-12T12:12:12.000000Z", "updated_at": "2022-12-12T12:12:12.000000Z", "store_id": 1, "read_by": 1, "archived": 0 } ], "links": { "first": "https://sell.app/api/v1/tickets?page=1", "last": "https://sell.app/api/v1/tickets?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://sell.app/api/v1/tickets", "per_page": 15, "to": 1, "total": 1, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://sell.app/api/v1/tickets?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ] }}bearerAuthstoreAuthAuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE<token>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.
ticket*integerThe ticket path parameter.
Successful response.
application/json- response
data*curl -X GET 'https://sell.app/api/v1/tickets/1'{ "data": { "id": 1, "title": "Payment methods", "status": "OPEN", "customer": { "id": 125, "email": "jamie.chen@example.com" }, "reference": [], "created_at": "2022-12-12T12:12:12.000000Z", "updated_at": "2022-12-12T12:12:12.000000Z", "store_id": 1, "read_by": 1, "archived": 0 }}bearerAuthstoreAuthAuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE<token>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.
ticket*integerThe ticket path parameter.
limit?integerNumber of items to return per page.
1 <= value <= 10015page?integerPage number to return.
1 <= value1Successful response.
application/json- response
data*array<>links*meta*curl -X GET 'https://sell.app/api/v1/tickets/1/messages'{ "data": [ { "id": 1, "author": "CUSTOMER", "sender": "jamie.chen@example.com", "content": "Hello, which payment methods can I use for this purchase?", "created_at": "2022-12-12T12:12:12.000000Z", "updated_at": "2022-12-12T12:12:12.000000Z", "ticket_id": 1 } ], "links": { "first": "https://sell.app/api/v1/tickets/1/messages?page=1", "last": "https://sell.app/api/v1/tickets/1/messages?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://sell.app/api/v1/tickets/1/messages", "per_page": 15, "to": 1, "total": 1, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://sell.app/api/v1/tickets/1/messages?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ] }}bearerAuthstoreAuthAuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE<token>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.
ticket*integerThe ticket path parameter.
application/json- body
content*stringSuccessful response.
application/json- response
data*curl -X POST 'https://sell.app/api/v1/tickets/1/messages' \ -H 'Content-Type: application/json' \ -d '{ "content": "You can choose from the payment methods shown at checkout."}'{ "data": { "id": 2, "author": "STORE", "sender": null, "content": "You can choose from the payment methods shown at checkout.", "created_at": "2022-12-12T12:12:12.000000Z", "updated_at": "2022-12-12T12:12:12.000000Z", "ticket_id": 1 }}bearerAuthstoreAuthAuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE<token>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.
ticket*integerThe ticket path parameter.
message*integerThe message path parameter.
Successful response.
application/json- response
data*curl -X GET 'https://sell.app/api/v1/tickets/1/messages/2'{ "data": { "id": 2, "author": "STORE", "sender": null, "content": "You can choose from the payment methods shown at checkout.", "created_at": "2022-12-12T12:12:12.000000Z", "updated_at": "2022-12-12T12:12:12.000000Z", "ticket_id": 1 }}bearerAuthstoreAuthAuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE<token>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.
application/json- body
filters?array<|>sort?array<>search?includes?array<>Successful response.
application/json- response
data*array<>links*meta*curl -X POST 'https://sell.app/api/v1/tickets/search' \ -H 'Content-Type: application/json' \ -d '{ "filters": [ { "field": "id", "operator": "=", "value": 1 } ], "sort": [ { "field": "created_at", "direction": "desc" } ]}'{ "data": [ { "id": 1, "title": "Payment methods", "status": "OPEN", "customer": { "id": 125, "email": "jamie.chen@example.com" }, "reference": [], "created_at": "2022-12-12T12:12:12.000000Z", "updated_at": "2022-12-12T12:12:12.000000Z", "store_id": 1, "read_by": 1, "archived": 0 } ], "links": { "first": "https://sell.app/api/v1/tickets/search?page=1", "last": "https://sell.app/api/v1/tickets/search?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://sell.app/api/v1/tickets/search", "per_page": 20, "to": 1, "total": 1, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://sell.app/api/v1/tickets/search?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ] }}bearerAuthstoreAuthAuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE<token>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.
ticket*integerThe ticket path parameter.
application/json- body
filters?array<|>sort?array<>search?includes?array<>Successful response.
application/json- response
data*array<>links*meta*curl -X POST 'https://sell.app/api/v1/tickets/1/messages/search' \ -H 'Content-Type: application/json' \ -d '{ "filters": [ { "field": "id", "operator": "=", "value": 1 } ], "sort": [ { "field": "created_at", "direction": "desc" } ]}'{ "data": [ { "id": 1, "author": "CUSTOMER", "sender": "jamie.chen@example.com", "content": "Hello, which payment methods can I use for this purchase?", "created_at": "2022-12-12T12:12:12.000000Z", "updated_at": "2022-12-12T12:12:12.000000Z", "ticket_id": 1 } ], "links": { "first": "https://sell.app/api/v1/tickets/1/messages/search?page=1", "last": "https://sell.app/api/v1/tickets/1/messages/search?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://sell.app/api/v1/tickets/1/messages/search", "per_page": 20, "to": 1, "total": 1, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://sell.app/api/v1/tickets/1/messages/search?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ] }}