Skip to main content
cURL
Cost: 1 API credit per live read.
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. A promotion Etsy doesn’t hold for this shop answers 404. Take the ID from List 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.

A complete read or none

To find one promotion, Alura reads Etsy’s whole list, which has no date order. A read Etsy serves short, or with one promotion Alura can’t read, answers 502 etsy_changed.

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. Every failure is free. See Credits and limits.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The promotion's Etsy ID, from GET /v1/workspace/promotions.

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

"1507646063801"

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"

fields
string

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

Response

OK

object
string
required
Allowed value: "workspace.promotion"
id
string
required

The promotion's Etsy ID, as a string.

shop_id
string
required
name
string | null
required

The name the seller gave it: a coupon's code, or a sale's name. null when Etsy sent none Alura can read.

type
enum<string>
required

sale, coupon or automated_offer.

Available options:
sale,
coupon,
automated_offer
status
enum<string>
required

active, scheduled or ended, at fetched_at. A sale or coupon by its dates; an automated offer by Etsy's own on/off state for it (stopping one is final).

Available options:
active,
scheduled,
ended
scope
enum<string> | null
required

Sales only: shop (every listing) or listings (listings the seller picked; Etsy does not say which here); unknown when Etsy named another kind, never read as the whole shop. null for coupons and offers.

Available options:
shop,
listings,
unknown
offer_trigger
enum<string> | null
required

Automated offers only: what makes Etsy send it (abandoned_basket, favorited, thank_you, interested_shopper, or other). null for sales and coupons.

Available options:
abandoned_basket,
favorited,
thank_you,
interested_shopper,
other
percent_off
number | null
required

The discount in percent (20 for 20% off); null when it is not a percentage (an amount off, free delivery) or Etsy did not say.

starts_at
string
required

When it starts (ISO 8601, UTC).

ends_at
string | null
required

When it ends; null for one with no end date. A promotion ended early ends when it was ended, which can be before starts_at.

start_day
string
required

The day it starts on Etsy's calendar (US Eastern for every shop), as Etsy's own pages show it.

end_day
string | null
required

The day it ends on Etsy's calendar; null with ends_at.

ended_early
boolean
required

Whether the seller ended it before it started (its end is before its start): it never ran.

stats
object | null
required

Its results since it started; null when Etsy gave none for it, or gave them in a shape Alura has not verified (summary.stats_status).

fetched_at
string
required

When Alura read it from Etsy.

source
string
required

Live Etsy data (needs Chrome open with the Alura extension, logged into Etsy).

Allowed value: "live"