PaidGoods

Close or reopen a ticket

POST
/v1/stores/{storeId}/tickets/{ticketId}/state

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
ticketId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/tickets/string/state" \  -H "Content-Type: application/json" \  -d '{    "state": "open"  }'
{  "ok": true}