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 the writes it would send, without sending them.
This changes your live campaign on Etsy, and with it what you spend.

What you can change

Fields go to Etsy in that order, one write each. A restart always sends a budget: daily_budget when you give one, else the campaign’s current daily budget. If Etsy doesn’t say what that is, the answer is 409 and nothing is sent. A shop that has never run Etsy Ads answers 409.

How the writes run

Alura sends the writes one at a time, in order, and reads each one back from Etsy before the next. Each entry in writes says how that write ended:

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. Past its time budget, or when Etsy has not shown the outcome yet, it answers 202 with its change (a retry under the same Idempotency-Key then answers the result).

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

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}$
status
enum<string>

paused stops the campaign; active restarts it at daily_budget, or at its current daily budget when none is sent.

Available options:
active,
paused
daily_budget
object

The campaign's daily budget.

strategy
enum<string>

The campaign's bidding strategy: efficient, lower_click_cost or greater_visibility.

Available options:
efficient,
lower_click_cost,
greater_visibility

Response

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

What the Etsy writes did, each verified by reading Etsy back.

object
string
required
Allowed value: "workspace.ads_update"
shop_id
string
required
status
enum<string>
required

succeeded when every write succeeded; otherwise the status of the first one that did not (the writes after it were not sent).

Available options:
succeeded,
partial,
failed,
unknown,
applying,
not_sent
writes
object[]
required