PaidGoods

Stage a file to attach to a ticket reply (multipart, field "file")

POST
/v1/stores/{storeId}/tickets/attachments

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

multipart/form-data

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/attachments"
{  "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc",  "filename": "string",  "size": -9007199254740991}