Skip to main content
cURL
Cost: 1 API credit per write.
Needs the seller’s Chrome open somewhere, with the Alura extension and signed in to Etsy for this shop. The script or agent can run on another computer. An offline extension answers extension_offline; the live status can name a more specific connection problem. Errors cost no API credits. See Chrome extension.
Needs the messages:write scope and the Customer analytics workspace permission. Send dry_run=true to see what it would send, without sending it.

What you can change

Create a label

A {"name": "Wholesale"} in labels_add creates a new label and puts it on. The name is 1 to 40 characters, one line. Send it alone in its call, with an Idempotency-Key.
Etsy keeps every label it creates. Labels can’t be deleted through the API.

The answer

200 once Etsy took the change and a read-back checked it, or 202 with the change while Etsy is still answering: get the change until its outcome is final. A write whose outcome on Etsy is unknown is never sent again, and a retry with the same Idempotency-Key answers its change. In a 200:

Limits

The shop takes 20 Etsy writes a minute and 500 a day. A request that needs more than are left is refused first: 429 live_rate_limited, nothing sent. Only a change that lands on Etsy is charged. See Credits and limits.

Authorizations

Authorization
string
header
required

An API key: Authorization: Bearer alura_sk_....

Headers

Idempotency-Key
string

Makes a retry safe: the same key with the same request within 24 hours answers from the first write (with Idempotent-Replayed: true) and never writes to Etsy twice; a write that failed with nothing written (Retry-After set) is tried again under it. The same key with a different request is a 409 conflict; while the first request still runs, 409 idempotency_processing (or the same 202). Required for relative changes such as adjust_price, and to add a listing file, image or video, or to change the alt text of an image (each uploads to Etsy, so a blind retry would upload again); a dry_run=true needs none.

Required string length: 1 - 255

Path Parameters

id
string
required

The Etsy conversation ID.

Pattern: ^[1-9][0-9]{0,14}$
Example:

"1900000002"

Query Parameters

dry_run
boolean

true: plan the write and send nothing: what it would change, the Etsy calls it would make, and nothing reserved, charged or recorded. Free; counts toward the per-minute write limit.

Body

application/json
shop_id
string

The Etsy shop ID of one of the workspace's connected shops; optional when the workspace has one.

Pattern: ^[0-9]{1,20}$
labels_add
(string | object)[]

Labels to put on the conversation: label IDs, or one {name} to create a new label and put it on (alone in its call: nothing else may change with it, and it needs a request key). At most 20.

Maximum array length: 20

A label ID (user_tag.<digits>), from GET /v1/workspace/conversations/labels.

Pattern: ^user_tag\.[0-9]{1,12}$
labels_remove
string[]

Label IDs to take off the conversation. At most 20.

Maximum array length: 20

A label ID (user_tag.<digits>), from GET /v1/workspace/conversations/labels.

Pattern: ^user_tag\.[0-9]{1,12}$
archived
boolean

true archives the conversation (takes it out of the inbox), false moves it back to the inbox.

unread
boolean

true marks the conversation unread, false read.

starred
boolean

true stars the conversation, false unstars it.

Response

OK: the write landed on Etsy (or, with dry_run=true, what it would do).

object
string
required
Allowed value: "workspace.conversation_update"
conversation_id
string
required

The Etsy conversation ID.

shop_id
string
required

The Etsy shop ID, as a string.

applied
string[]
required

What reading the conversation back showed changed: labels_add:<id>, labels_add:{name} (a new label), labels_remove:<id>, archived, unread, starred.

failed
string[]
required

What Etsy still did not show after the second read-back, in the same names: the write landed only in part.

not_verified
string[]
required

What Etsy took but reading the conversation back could not show, so Alura could not confirm it: archived (one conversation shows no folder), everything in a change that touches unread (Alura never reads a conversation back then: reading it could mark it read), and anything Etsy did not show back on the conversation.

change
object
required

The write's change.