Skip to main content
cURL

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The Etsy return policy ID.

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

"35001"

Query Parameters

fields
string

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

Response

OK

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

The Etsy return policy ID (return_policy_id), as a string.

shop_id
string
required
accepts_returns
boolean
required
accepts_exchanges
boolean
required
return_deadline_days
integer | null
required

Days the buyer has to return (Etsy's return_deadline); null when returns and exchanges are not accepted.

listings_count
integer | null
required

The shop's listings (active, inactive, draft, sold out or expired) that use this policy, counted from Alura's stored listings when asked. null, never a guess, with a notice: listings_not_synced when Alura's listings of the shop are not complete or older than the policies, listings_count_unavailable when they could not be counted in time (retry later).

fetched_at
string
required

When Alura last fetched this kind of setting of the shop completely from Etsy.

as_of
string
required

Equal to fetched_at: the data time of this object.

notices
object[]
required

listings_not_synced or listings_count_unavailable when listings_count is null.