API Architecture
Etsy Open API v3 Documentation
Last updated: November 2026 · Operated by CraftLedger Technologies Inc.
CraftLedger HQ integrates exclusively with the official Etsy Open API v3 using OAuth 2.0 Authorization Code flow with PKCE (S256). We do not request email_r or buyer email addresses.
| Scope | Primary Endpoint | Purpose | Cache / Retention |
|---|---|---|---|
| shops_r | GET /v3/application/users/{user_id}/shops | Identify the authorized seller shop name, shop ID, and currency. | < 24 hours |
| listings_r | GET /v3/application/shops/{shop_id}/listings/active | Read active listing titles, SKUs, and live variant stock counts. | < 6 hours |
| listings_w | PUT /v3/application/listings/{listing_id}/inventory | Update verified studio stock quantities on existing listings (never creates duplicate listings). | Write on seller confirmation |
| transactions_r | GET /v3/application/shops/{shop_id}/receipts | Pull paid orders, shipping destinations, and buyer personalization notes into the studio queue. | Auto-purge within 30 days |
| transactions_w | POST /v3/application/shops/{shop_id}/receipts/{receipt_id}/tracking | Submit carrier tracking via createReceiptShipment after explicit seller confirmation. Etsy delivers the official shipping notification. | Write on seller confirmation |
| transactions_w (receipt) | PUT /v3/application/shops/{shop_id}/receipts/{receipt_id} | Update receipt fulfillment status via updateShopReceipt (e.g., marking shipped/paid state) only when initiated by the shop owner. | Write on seller confirmation |
OAuth 2.0 + PKCE Endpoints
- Initiate OAuth: GET /api/auth/etsy/connect
- Callback Handler: GET /api/auth/etsy/callback
- Connection Status: GET /api/auth/etsy/status
Request Authentication & Header Architecture
All outbound calls to https://api.etsy.com/v3 originate exclusively from CraftLedger HQ backend servers. Client browsers never receive raw API keys or OAuth tokens.
// Server-side Etsy Open API v3 request headers
x-api-key: <ETSY_KEYSTRING>:<ETSY_SHARED_SECRET>
Authorization: Bearer <decrypted_shop_access_token>
Accept: application/json
Rate-Limit Pacing & Exponential Backoff + Full Jitter
CraftLedger HQ enforces per-key and per-shop request pacing to stay strictly within Etsy Open API v3 quotas:
- Proactive Header Inspection: Every response is inspected for
X-Limit-Per-Second,X-Remaining-This-Second, and daily quota headers to throttle background sync queues before limits are reached. - 429 & 5xx Retry Policy: On HTTP
429 Too Many Requests, CraftLedger HQ honors theRetry-Afterheader verbatim. On transient5xxerrors, workers apply capped Exponential Backoff with Full Jitter (sleep = random(0, min(cap, base * 2^attempt))) with a maximum of 4 retries.
Zero Screen-Scraping Commitment
CraftLedger HQ communicates solely with documented Etsy Open API v3 endpoints. We do not run headless browsers, HTML scrapers, automated login bots, or undocumented private endpoints, and we never ask sellers for their Etsy account password.
Fulfillment & Buyer Shipping Address Access Disclosure
1. Honest Disclosure: Even after Commercial Access approval and seller authorization of transactions_r and transactions_w, live buyer shipping address access and createReceiptShipment require separate Etsy review and enablement.
All orders and addresses displayed in our public Reviewer Sandbox (/dashboard-preview, NorthwindCeramicsCo) are synthetic fixtures — no live Etsy buyer addresses are imported or stored prior to explicit Etsy approval.
Regional & Preferred Partnership Eligibility: CraftLedger HQ acknowledges that access to restricted receipt shipping address fields may be subject to Etsy regional restrictions or Preferred Partnership eligibility requirements. Live buyer address ingestion remains disabled until Etsy confirms eligibility in writing.
2. Physical Fulfillment Workflow (4 Steps)
OAuth 2.0 + PKCE Shop Connection
The Etsy shop owner connects their own shop via official OAuth 2.0 with SHA-256 PKCE (S256). Tokens are encrypted server-side with AES-256-GCM.
Packing Slip & Carrier Label Prep
The authorized shop owner reviews paid receipts and buyer shipping destination fields solely to pack physical items and prepare carrier labels.
Physical Preparation & Carrier Handoff
The studio crafts, packs, and hands off the parcel to the chosen shipping carrier (e.g., USPS, UPS, FedEx).
Explicit Seller Confirmation → createReceiptShipment
The seller reviews and explicitly confirms the carrier and tracking number before CraftLedger HQ calls createReceiptShipment. Etsy delivers the official shipping notification to the buyer.
3. Exact Field Minimization (8 Shipping Fields Only)
CraftLedger HQ requests only the exact 8 receipt shipping fields required to generate packing slips and carrier labels:
name— Recipient full name for the parcel labelfirst_line— Primary street address linesecond_line— Apartment, suite, or unit (if provided)city— Destination city or localitystate— State, province, or regionzip— Postal or ZIP codecountry_iso— ISO 3166-1 alpha-2 country codeformatted_address— Carrier-ready formatted shipping blockScope Clarification: Requesting address_r does not unlock restricted buyer shipping address fields on receipts.
Zero Buyer Email Access: CraftLedger HQ does not request email_r or buyer_email.
Buyer shipping addresses are accessible only to the connected Etsy shop owner and authorized fulfillment staff of that specific shop, enforced via strict per-shop tenant isolation.
Used exclusively to fulfill physical Etsy orders. Never used for marketing, advertising, data resale, sharing with non-shipping third parties, or off-platform buyer solicitation.
- Auto-purged within 30 days of order completion.
- Purged within 24 hours on Disconnect/Revoke or GDPR/CCPA request.
- OAuth tokens encrypted server-side with
AES-256-GCM.