Skip to main content
cURL
Cost: 1 API credit per page.
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 promotions:read scope. Nothing is stored. Promotions come newest start first, 20 a page. For order revenue, use Get shop stats.

Filter promotions

Read a promotion

  • start_day and end_day are the dates Etsy’s own pages show. Etsy’s days are US Eastern for every shop.
  • A promotion ended early keeps its start, so its end can come before its start (ended_early).
  • A sale’s scope is shop or listings. Etsy doesn’t say which listings.
  • stats is null when Etsy sends results in a shape Alura hasn’t verified. summary.stats_status says so.

A complete list or none

Etsy pages the list in no date order, so Alura reads all of it. A read Etsy serves short, or with one promotion Alura can’t read, answers 502 etsy_changed, never a shorter list.

Limits

429 live_rate_limited means the shop had too many live reads: more than 2 at a time or 30 a minute. Wait for Retry-After. The list is one live read. Its later pages are kept 10 minutes for the cursor, and an expired cursor answers 400 invalid_cursor. An empty page and every failure are free. See Credits and limits.

Authorizations

Authorization
string
header
required

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

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"

status
enum<string>

Only promotions in this state: active (running now), scheduled (starts later) or ended.

Available options:
active,
scheduled,
ended
Example:

"active"

type
enum<string>

Only this kind: sale (a public sale buyers see on listings), coupon (a code buyers enter) or automated_offer (a code Etsy sends buyers for the seller).

Available options:
sale,
coupon,
automated_offer
limit
integer

Page size: at most 20, the default. A larger whole number gets 20 rows and limit_applied.

Required range: x >= 1
cursor
string

The next_cursor of the previous page. Bound to the query, the workspace and the key.

fields
string

Comma-separated dotted paths to return; id, object and as_of always come back.

Response

OK

object
string
required
Allowed value: "list"
data
object[]
required
has_more
boolean
required
next_cursor
string | null
required
total
object
required
summary
object
required
limit_applied
integer

Present only when limit asked for more than 20: the page size used instead, 20.