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 ads:write scope and the Etsy Ads workspace permission. Send dry_run=true to see what it would send, without sending it. verified is true when Etsy’s groups no longer show the group.

When it is refused

Each of these sends nothing:

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.

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 write that lands 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

group_id
string
required

The ad group to delete.

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

"900000101"

Query Parameters

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

"22841907"

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.

Response

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

What the Etsy write did, checked by reading Etsy's groups or the listings' groups back.

object
string
required
Allowed value: "workspace.ad_group_write"
action
enum<string>
required

assign moves listings into a group, unassign takes them out of every group.

Available options:
create,
rename,
delete,
assign,
unassign
shop_id
string
required
group_id
string | null
required

The group's Etsy ID (a create's once Etsy shows the new group); null when a create's read-back did not show it, and for unassign.

name
string | null
required

The name sent (trimmed), for create and rename; null otherwise.

listing_ids
string[]
required

The listings moved (assign, unassign); empty otherwise.

applied
string[]
required

Of those listings, the ones Etsy shows in the group (or in none, for unassign) when read back.

failed
string[]
required

Of those listings, the ones Etsy still shows elsewhere after a second read-back.

verified
boolean
required

true when Etsy, read back, shows the whole change; false when it still shows some of it not made.

change
object
required