Skip to main content
cURL
Cost: 1 API credit per write.
A policy outside the workspace answers 404. Needs the shop:write scope and the owner or admin role in the workspace. REST only: there is no MCP tool for it. Send an Idempotency-Key so a retry never writes twice (Idempotency).
This deletes the policy on your live Etsy shop, and it cannot be reverted. A policy that only drafts use is deleted.

A policy that listings use

While an active listing uses the policy, Etsy refuses the delete: 409 conflict naming Etsy’s reason, in_use. To keep those listings, use Move policy listings instead. Etsy then deletes this policy itself, so no delete call is needed after it.

The answer

  • 200: deleted: true, with its change.
  • 202: the change, while Etsy is still answering or Alura is checking whether it landed. Follow it with Get change.
dry_run=true shows what the write would send and the Etsy calls it would make. It sends, charges and records nothing, but counts toward the per-minute write limit. A write Etsy refuses is not charged.

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

id
string
required

The Etsy return policy ID. A return policy outside the workspace is 404.

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

"35002"

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.

Response

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

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

The deleted return policy, as a string.

shop_id
string
required

The Etsy shop ID, as a string.

deleted
boolean
required

Deleted on Etsy.

as_of
string
required

When Etsy answered the write.

change
object
required

The write: its change ID and what landed.