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 orders:write scope and the Customer analytics workspace permission. Idempotency-Key is required. The order’s notes are read live first: an order that holds no note with this ID is 404, with nothing sent. The edit then replaces the note unconditionally, so a change someone made on Etsy after that read is overwritten. previous_text is the text that read showed: set it again to revert. Note IDs come from the conversation’s order.private_notes, or from Add order note.

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required

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 order (receipt) ID.

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

"3456789015"

note_id
string
required

The note's Etsy ID, from the conversation's order.private_notes or an earlier add.

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

"1499016700002"

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
note
string
required

The note's new text, 1-2000 characters; line breaks are kept.

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}$

Response

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

object
string
required
Allowed value: "workspace.order_note"
order_id
string
required

The Etsy order (receipt) ID.

shop_id
string
required

The Etsy shop ID, as a string.

id
string | null
required

The note's Etsy ID: the edited note's, or the added note's as Etsy's answer named it (null when it named none).

text
string
required

The note as written, after line endings and the ends were trimmed.

previous_text
string | null
required

The text the edited note held when Alura read the order just before the write, exactly as Etsy showed it (null for an add): set it again to revert. The edit replaces the note unconditionally, so a change made on Etsy after that read is overwritten and not shown here. Alura keeps it only in this answer, and in a same-key retry's answer for 24 hours.

verified
boolean
required

Whether reading the order back showed the new text; false when a second read still showed something else, so the change did not land on Etsy.

change
object
required

The write's change.