EtsyClient
Attributes
ItemDimensionsUnit2
module-attribute
ItemDimensionsUnit
module-attribute
Occasion
module-attribute
Occasion = Literal['anniversary', 'baptism', 'bar_or_bat_mitzvah', 'birthday', 'canada_day', 'chinese_new_year', 'cinco_de_mayo', 'confirmation', 'christmas', 'day_of_the_dead', 'easter', 'eid', 'engagement', 'fathers_day', 'get_well', 'graduation', 'halloween', 'hanukkah', 'housewarming', 'kwanzaa', 'prom', 'july_4th', 'mothers_day', 'new_baby', 'new_years', 'quinceanera', 'retirement', 'st_patricks_day', 'sweet_16', 'sympathy', 'thanksgiving', 'valentines', 'wedding']
Recipient
module-attribute
Recipient = Literal['men', 'women', 'unisex_adults', 'teen_boys', 'teen_girls', 'teens', 'boys', 'girls', 'children', 'baby_boys', 'baby_girls', 'babies', 'birds', 'cats', 'dogs', 'pets', 'not_specified']
SortOrder
module-attribute
WhenMade2
module-attribute
WhenMade2 = Literal['made_to_order', '2020_2021', '2010_2019', '2002_2009', 'before_2002', '2000_2001', '1990s', '1980s', '1970s', '1960s', '1950s', '1940s', '1930s', '1920s', '1910s', '1900s', '1800s', '1700s', 'before_1700']
WhenMade
module-attribute
WhenMade = Literal['made_to_order', '2020_2021', '2010_2019', '2002_2009', 'before_2002', '2000_2001', '1990s', '1980s', '1970s', '1960s', '1950s', '1940s', '1930s', '1920s', '1910s', '1900s', '1800s', '1700s', 'before_1700']
Classes
Pong
dataclass
PaymentAccountLedgerEntries
dataclass
PaymentAccountLedgerEntries(count: Optional[int] = None, results: Optional[List[PaymentAccountLedgerEntry]] = None)
Response for Get a shop payment account ledger's entries
Payments
dataclass
ShopReceipt
dataclass
ShopReceipt(receipt_id: Optional[int] = None, receipt_type: Optional[int] = None, seller_user_id: Optional[int] = None, seller_email: Optional[str] = None, buyer_user_id: Optional[int] = None, buyer_email: Optional[str] = None, name: Optional[str] = None, first_line: Optional[str] = None, second_line: Optional[str] = None, city: Optional[str] = None, state: Optional[str] = None, zip: Optional[str] = None, formatted_address: Optional[str] = None, country_iso: Optional[str] = None, payment_method: Optional[str] = None, payment_email: Optional[str] = None, message_from_seller: Optional[str] = None, message_from_buyer: Optional[str] = None, message_from_payment: Optional[str] = None, is_paid: Optional[bool] = None, is_shipped: Optional[bool] = None, create_timestamp: Optional[int] = None, update_timestamp: Optional[int] = None, gift_message: Optional[str] = None, grandtotal: Optional[Money] = None, subtotal: Optional[Money] = None, total_price: Optional[Money] = None, total_shipping_cost: Optional[Money] = None, total_tax_cost: Optional[Money] = None, total_vat_cost: Optional[Money] = None, discount_amt: Optional[Money] = None, gift_wrap_price: Optional[Money] = None, shipments: Optional[List[ShopReceiptShipment]] = None)
Response for Get a receipt
Attributes
receipt_id
class-attribute
instance-attribute
The numeric ID for the receipt associated to this transaction.
receipt_type
class-attribute
instance-attribute
The numeric value for the Etsy channel that serviced the purchase: 0 for Etsy.com, 1 for a Pattern shop.
seller_user_id
class-attribute
instance-attribute
The numeric ID for the user (seller) fulfilling the purchase.
seller_email
class-attribute
instance-attribute
The email address string for the seller of the listing.
buyer_user_id
class-attribute
instance-attribute
The numeric ID for the user making the purchase.
buyer_email
class-attribute
instance-attribute
The email address string for the buyer of the listing.
name
class-attribute
instance-attribute
The name string for the recipient in the shipping address.
first_line
class-attribute
instance-attribute
The first address line string for the recipient in the shipping address.
second_line
class-attribute
instance-attribute
The optional second address line string for the recipient in the shipping address.
city
class-attribute
instance-attribute
The city string for the recipient in the shipping address.
state
class-attribute
instance-attribute
The state string for the recipient in the shipping address.
zip
class-attribute
instance-attribute
The zip code string (not necessarily a number) for the recipient in the shipping address.
formatted_address
class-attribute
instance-attribute
The formatted shipping address string for the recipient in the shipping address.
country_iso
class-attribute
instance-attribute
The ISO-3166 alpha-2 country code string for the recipient in the shipping address.
payment_method
class-attribute
instance-attribute
The payment method string identifying purchaser's payment method, which must be one of: 'cc' (credit card), 'paypal', 'check', 'mo' (money order), 'bt' (bank transfer), 'other', 'ideal', 'sofort', 'apple_pay', 'google', 'android_pay', 'google_pay', 'klarna', 'k_pay_in_4' (klarna), or 'k_financing' (klarna).
payment_email
class-attribute
instance-attribute
The email address string for the email address to which to send payment confirmation
message_from_seller
class-attribute
instance-attribute
An optional message string from the seller.
message_from_buyer
class-attribute
instance-attribute
An optional message string from the buyer.
message_from_payment
class-attribute
instance-attribute
The machine-generated acknowledgement string from the payment system.
is_paid
class-attribute
instance-attribute
When true, buyer paid for this purchase.
is_shipped
class-attribute
instance-attribute
When true, seller shipped the products.
create_timestamp
class-attribute
instance-attribute
The receipt's creation time, in epoch seconds.
update_timestamp
class-attribute
instance-attribute
The time of the last update to the receipt, in epoch seconds.
gift_message
class-attribute
instance-attribute
A gift message string the buyer requests delivered with the product.
ShopReceipts
dataclass
Response for Get receipts
ReceiptCreateShipmentInput
dataclass
ReceiptCreateShipmentInput(tracking_code: Optional[str] = None, carrier_name: Optional[str] = None, send_bcc: Optional[bool] = None)
Create a Shipment Receipt
Attributes
tracking_code
class-attribute
instance-attribute
The tracking code for this receipt.
carrier_name
class-attribute
instance-attribute
The carrier name for this receipt.
ShopReceiptTransactions
dataclass
ShopReceiptTransactions(count: Optional[int] = None, results: Optional[List[ShopReceiptTransaction]] = None)
Response for Retrieve a listing's transactions
ShopReceiptTransaction
dataclass
ShopReceiptTransaction(transaction_id: Optional[int] = None, title: Optional[str] = None, description: Optional[str] = None, seller_user_id: Optional[int] = None, buyer_user_id: Optional[int] = None, create_timestamp: Optional[int] = None, paid_timestamp: Optional[int] = None, shipped_timestamp: Optional[int] = None, quantity: Optional[int] = None, listing_image_id: Optional[int] = None, receipt_id: Optional[int] = None, is_digital: Optional[bool] = None, file_data: Optional[str] = None, listing_id: Optional[int] = None, transaction_type: Optional[str] = None, product_id: Optional[int] = None, price: Optional[Money] = None, shipping_cost: Optional[Money] = None)
Response for Get a transaction
Attributes
transaction_id
class-attribute
instance-attribute
The unique numeric ID for a transaction.
title
class-attribute
instance-attribute
The title string of the listing purchased in this transaction.
description
class-attribute
instance-attribute
The description string of the listing purchased in this transaction.
seller_user_id
class-attribute
instance-attribute
The numeric user ID for the seller in this transaction.
buyer_user_id
class-attribute
instance-attribute
The numeric user ID for the buyer in this transaction.
create_timestamp
class-attribute
instance-attribute
The transaction's creation date and time, in epoch seconds.
paid_timestamp
class-attribute
instance-attribute
The transaction's paid date and time, in epoch seconds.
shipped_timestamp
class-attribute
instance-attribute
The transaction's shipping date and time, in epoch seconds.
quantity
class-attribute
instance-attribute
The numeric quantity of products purchased in this transaction.
listing_image_id
class-attribute
instance-attribute
The numeric ID of the primary listing image for this transaction.
receipt_id
class-attribute
instance-attribute
The numeric ID for the receipt associated to this transaction.
is_digital
class-attribute
instance-attribute
When true, the transaction recorded the purchase of a digital listing.
file_data
class-attribute
instance-attribute
A string describing the files purchased in this transaction.
listing_id
class-attribute
instance-attribute
The numeric ID for the listing associated to this transaction.
transaction_type
class-attribute
instance-attribute
The type string for the transaction, usually listing
TransactionReviews
dataclass
ShippingCarriers
dataclass
Response for Get shipping carriers
ShopShippingProfile
dataclass
ShopShippingProfile(shipping_profile_id: Optional[int] = None, title: Optional[str] = None, user_id: Optional[int] = None, min_processing_days: Optional[int] = None, max_processing_days: Optional[int] = None, processing_days_display_label: Optional[str] = None, origin_country_iso: Optional[str] = None, is_deleted: Optional[bool] = None, shipping_profile_destinations: Optional[List[ShopShippingProfileDestination]] = None, shipping_profile_upgrades: Optional[List[ShopShippingProfileUpgrade]] = None, origin_postal_code: Optional[str] = None, profile_type: Optional[ProfileType] = None)
Response for Get shipping profiles
Attributes
shipping_profile_id
class-attribute
instance-attribute
The numeric ID of the shipping profile.
title
class-attribute
instance-attribute
The name string of this shipping profile.
user_id
class-attribute
instance-attribute
The numeric ID for the user who owns the shipping profile.
min_processing_days
class-attribute
instance-attribute
The minimum number of days for processing the listing.
max_processing_days
class-attribute
instance-attribute
The maximum number of days for processing the listing.
processing_days_display_label
class-attribute
instance-attribute
Translated display label string for processing days.
origin_country_iso
class-attribute
instance-attribute
The ISO code of the country from which the listing ships.
is_deleted
class-attribute
instance-attribute
When true, someone deleted this shipping profile.
shipping_profile_destinations
class-attribute
instance-attribute
A list of shipping profile destinations available for this shipping profile.
shipping_profile_upgrades
class-attribute
instance-attribute
A list of shipping profile upgrades available for this shipping profile.
ShippingCreateProfileInput
dataclass
ShippingCreateProfileInput(title: Optional[str] = None, origin_country_iso: Optional[str] = None, primary_cost: Optional[float] = None, secondary_cost: Optional[float] = None, min_processing_time: Optional[int] = None, max_processing_time: Optional[int] = None, processing_time_unit: Optional[str] = None, destination_country_iso: Optional[str] = None, destination_region: Optional[str] = None, origin_postal_code: Optional[str] = None, shipping_carrier_id: Optional[int] = None, mail_class: Optional[str] = None, min_delivery_days: Optional[int] = None, max_delivery_days: Optional[int] = None)
Create a shipping profile
Attributes
title
class-attribute
instance-attribute
The name string of this shipping profile.
origin_country_iso
class-attribute
instance-attribute
The ISO code of the country from which the listing ships.
primary_cost
class-attribute
instance-attribute
The cost of shipping to this country/region alone, measured in the store's default currency.
secondary_cost
class-attribute
instance-attribute
The cost of shipping to this country/region with another item, measured in the store's default currency.
min_processing_time
class-attribute
instance-attribute
The minimum time required to process to ship listings with this shipping profile.
max_processing_time
class-attribute
instance-attribute
The maximum processing time the listing needs to ship.
processing_time_unit
class-attribute
instance-attribute
The unit used to represent how long a processing time is. A week is equivalent to 5 business days.
destination_country_iso
class-attribute
instance-attribute
The ISO code of the country to which the listing ships. If null, request sets destination to destination region.
destination_region
class-attribute
instance-attribute
The code of the region to which the listing ships. A region represents a set of countries. Supported regions are Europe Union and Non-Europe Union (countries in Europe not in EU). If none, request sets destination to destination country ISO, or everywhere if destination country ISO is also null.
origin_postal_code
class-attribute
instance-attribute
The postal code string (not necessarily a number) for the location from which the listing ships.
shipping_carrier_id
class-attribute
instance-attribute
The unique ID of a supported shipping carrier, which is used to calculate an estimated delivery date.
mail_class
class-attribute
instance-attribute
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date.
min_delivery_days
class-attribute
instance-attribute
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped.
ShippingUpdateProfileInput
dataclass
ShippingUpdateProfileInput(title: Optional[str] = None, origin_country_iso: Optional[str] = None, min_processing_time: Optional[int] = None, max_processing_time: Optional[int] = None, processing_time_unit: Optional[str] = None, origin_postal_code: Optional[str] = None)
Update a shipping profile
Attributes
title
class-attribute
instance-attribute
The name string of this shipping profile.
origin_country_iso
class-attribute
instance-attribute
The ISO code of the country from which the listing ships.
min_processing_time
class-attribute
instance-attribute
The minimum time required to process to ship listings with this shipping profile.
max_processing_time
class-attribute
instance-attribute
The maximum processing time the listing needs to ship.
processing_time_unit
class-attribute
instance-attribute
The unit used to represent how long a processing time is. A week is equivalent to 5 business days. If none is provided, the unit is set to business_days.
ShopShippingProfileDestinations
dataclass
ShippingCreateDestinationInput
dataclass
ShippingCreateDestinationInput(primary_cost: Optional[float] = None, secondary_cost: Optional[str] = None, destination_country_iso: Optional[str] = None, destination_region: Optional[str] = None, shipping_carrier_id: Optional[int] = None, mail_class: Optional[str] = None, min_delivery_days: Optional[int] = None, max_delivery_days: Optional[int] = None)
Create a shipping profile destination
Attributes
primary_cost
class-attribute
instance-attribute
The cost of shipping to this country/region alone, measured in the store's default currency.
secondary_cost
class-attribute
instance-attribute
The cost of shipping to this country/region with another item, measured in the store's default currency.
destination_country_iso
class-attribute
instance-attribute
destination_country_iso
destination_region
class-attribute
instance-attribute
destination_region
shipping_carrier_id
class-attribute
instance-attribute
shipping_carrier_id
min_delivery_days
class-attribute
instance-attribute
min_delivery_days
ShopShippingProfileDestination
dataclass
ShopShippingProfileDestination(shipping_profile_destination_id: Optional[int] = None, shipping_profile_id: Optional[int] = None, origin_country_iso: Optional[str] = None, destination_country_iso: Optional[str] = None, destination_region: Optional[DestinationRegion] = None, primary_cost: Optional[Money] = None, secondary_cost: Optional[Money] = None, shipping_carrier_id: Optional[int] = None, mail_class: Optional[str] = None, min_delivery_days: Optional[int] = None, max_delivery_days: Optional[int] = None)
Response for Create a shipping profile destination
Attributes
shipping_profile_destination_id
class-attribute
instance-attribute
The numeric ID of the shipping profile destination in the shipping profile associated with the listing.
shipping_profile_id
class-attribute
instance-attribute
The numeric ID of the shipping profile.
origin_country_iso
class-attribute
instance-attribute
The ISO code of the country from which the listing ships.
destination_country_iso
class-attribute
instance-attribute
The ISO code of the country to which the listing ships. If null, request sets destination to destination_region
shipping_carrier_id
class-attribute
instance-attribute
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date.
mail_class
class-attribute
instance-attribute
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date.
min_delivery_days
class-attribute
instance-attribute
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped.
ShippingUpdateProfileDestinationInput
dataclass
ShippingUpdateProfileDestinationInput(primary_cost: Optional[str] = None, secondary_cost: Optional[str] = None, destination_country_iso: Optional[str] = None, destination_region: Optional[str] = None, shipping_carrier_id: Optional[int] = None, mail_class: Optional[str] = None, min_delivery_days: Optional[int] = None, max_delivery_days: Optional[int] = None)
Update a shipping profile destination
Attributes
secondary_cost
class-attribute
instance-attribute
secondary_cost
destination_country_iso
class-attribute
instance-attribute
destination_country_iso
destination_region
class-attribute
instance-attribute
destination_region
shipping_carrier_id
class-attribute
instance-attribute
shipping_carrier_id
min_delivery_days
class-attribute
instance-attribute
min_delivery_days
ShopShippingProfileUpgrades
dataclass
ShippingCreateUpgradeInput
dataclass
ShippingCreateUpgradeInput(type_: Optional[str] = None, upgrade_name: Optional[str] = None, price: Optional[float] = None, secondary_price: Optional[float] = None, shipping_carrier_id: Optional[int] = None, mail_class: Optional[str] = None, min_delivery_days: Optional[int] = None, max_delivery_days: Optional[int] = None)
Create a shipping profile upgrade
Attributes
type_
class-attribute
instance-attribute
The type of the shipping upgrade. Domestic (0) or international (1).
upgrade_name
class-attribute
instance-attribute
Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority.
price
class-attribute
instance-attribute
Additional cost of adding the shipping upgrade.
secondary_price
class-attribute
instance-attribute
Additional cost of adding the shipping upgrade for each additional item.
shipping_carrier_id
class-attribute
instance-attribute
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date.
mail_class
class-attribute
instance-attribute
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date.
min_delivery_days
class-attribute
instance-attribute
min_delivery_days
ShopShippingProfileUpgrade
dataclass
ShopShippingProfileUpgrade(shipping_profile_id: Optional[int] = None, upgrade_id: Optional[int] = None, upgrade_name: Optional[str] = None, type_: Optional[Type] = None, rank: Optional[int] = None, language: Optional[str] = None, price: Optional[Money] = None, secondary_price: Optional[Money] = None, shipping_carrier_id: Optional[int] = None, mail_class: Optional[str] = None, min_delivery_days: Optional[int] = None, max_delivery_days: Optional[int] = None)
Response for Create a shipping profile upgrade
Attributes
shipping_profile_id
class-attribute
instance-attribute
The numeric ID of the base shipping profile.
upgrade_id
class-attribute
instance-attribute
The numeric ID that is associated with a shipping upgrade
upgrade_name
class-attribute
instance-attribute
Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority.
rank
class-attribute
instance-attribute
The positive non-zero numeric position in the images displayed in a listing, with rank 1 images appearing in the left-most position in a listing.
language
class-attribute
instance-attribute
The IETF language tag for the language of the shipping profile. Ex: de, en, es, fr, it, ja, nl, pl, pt, ru.
shipping_carrier_id
class-attribute
instance-attribute
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date.
mail_class
class-attribute
instance-attribute
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date.
min_delivery_days
class-attribute
instance-attribute
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped.
ShippingUpdateProfileUpgradeInput
dataclass
ShippingUpdateProfileUpgradeInput(type_: Optional[str] = None, upgrade_name: Optional[str] = None, price: Optional[float] = None, secondary_price: Optional[float] = None, shipping_carrier_id: Optional[int] = None, mail_class: Optional[str] = None, min_delivery_days: Optional[int] = None, max_delivery_days: Optional[int] = None)
Update a shipping profile upgrade
Attributes
type_
class-attribute
instance-attribute
The type of the shipping upgrade. Domestic (0) or international (1).
upgrade_name
class-attribute
instance-attribute
Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority.
price
class-attribute
instance-attribute
Additional cost of adding the shipping upgrade.
secondary_price
class-attribute
instance-attribute
Additional cost of adding the shipping upgrade for each additional item.
shipping_carrier_id
class-attribute
instance-attribute
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date.
mail_class
class-attribute
instance-attribute
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date.
min_delivery_days
class-attribute
instance-attribute
min_delivery_days
ShopUpdateInput
dataclass
ShopUpdateInput(title: Optional[str] = None, announcement: Optional[str] = None, sale_message: Optional[str] = None, digital_sale_message: Optional[str] = None)
Update a shop
Attributes
title
class-attribute
instance-attribute
A brief heading string for the shop's main page.
announcement
class-attribute
instance-attribute
An announcement string to buyers that displays on the shop's homepage.
sale_message
class-attribute
instance-attribute
A message string sent to users who complete a purchase from this shop.
Shop
dataclass
Shop(shop_id: Optional[int] = None, user_id: Optional[int] = None, shop_name: Optional[str] = None, create_date: Optional[int] = None, title: Optional[str] = None, announcement: Optional[str] = None, currency_code: Optional[str] = None, is_vacation: Optional[bool] = None, vacation_message: Optional[str] = None, sale_message: Optional[str] = None, digital_sale_message: Optional[str] = None, update_date: Optional[int] = None, listing_active_count: Optional[int] = None, digital_listing_count: Optional[int] = None, login_name: Optional[str] = None, accepts_custom_requests: Optional[bool] = None, policy_welcome: Optional[str] = None, policy_payment: Optional[str] = None, policy_shipping: Optional[str] = None, policy_refunds: Optional[str] = None, policy_additional: Optional[str] = None, policy_seller_info: Optional[str] = None, policy_update_date: Optional[int] = None, policy_has_private_receipt_info: Optional[bool] = None, has_unstructured_policies: Optional[bool] = None, policy_privacy: Optional[str] = None, vacation_autoreply: Optional[str] = None, url: Optional[str] = None, image_url760x100: Optional[str] = None, num_favorers: Optional[int] = None, languages: Optional[List[str]] = None, icon_url_fullxfull: Optional[str] = None, is_using_structured_policies: Optional[bool] = None, has_onboarded_structured_policies: Optional[bool] = None, include_dispute_form_link: Optional[bool] = None, is_direct_checkout_onboarded: Optional[bool] = None, is_calculated_eligible: Optional[bool] = None, is_opted_in_to_buyer_promise: Optional[bool] = None, is_shop_us_based: Optional[bool] = None, transaction_sold_count: Optional[int] = None, shipping_from_country_iso: Optional[str] = None, shop_location_country_iso: Optional[str] = None, review_count: Optional[int] = None, review_average: Optional[float] = None)
Response for Update a shop
Attributes
shop_id
class-attribute
instance-attribute
The unique positive non-zero numeric ID for an Etsy Shop.
user_id
class-attribute
instance-attribute
The numeric user ID of the user who owns this shop.
shop_name
class-attribute
instance-attribute
The shop's name string.
create_date
class-attribute
instance-attribute
The date and time this shop was created, in epoch seconds.
title
class-attribute
instance-attribute
A brief heading string for the shop's main page.
announcement
class-attribute
instance-attribute
An announcement string to buyers that displays on the shop's homepage.
currency_code
class-attribute
instance-attribute
The ISO (alphabetic) code for the shop's currency. The shop displays all prices in this currency by default.
is_vacation
class-attribute
instance-attribute
When true, this shop is not accepting purchases.
vacation_message
class-attribute
instance-attribute
The shop's message string displayed when is_vacation is true.
sale_message
class-attribute
instance-attribute
A message string sent to users who complete a purchase from this shop.
digital_sale_message
class-attribute
instance-attribute
A message string sent to users who purchase a digital item from this shop.
update_date
class-attribute
instance-attribute
The date and time of the last update to the shop, in epoch seconds.
listing_active_count
class-attribute
instance-attribute
The number of active listings in the shop.
digital_listing_count
class-attribute
instance-attribute
The number of digital listings in the shop.
login_name
class-attribute
instance-attribute
The shop owner's login name string.
accepts_custom_requests
class-attribute
instance-attribute
When true, the shop accepts customization requests.
policy_welcome
class-attribute
instance-attribute
The shop's policy welcome string (may be blank).
policy_payment
class-attribute
instance-attribute
The shop's payment policy string (may be blank).
policy_shipping
class-attribute
instance-attribute
The shop's shipping policy string (may be blank).
policy_refunds
class-attribute
instance-attribute
The shop's refund policy string (may be blank).
policy_additional
class-attribute
instance-attribute
The shop's additional policies string (may be blank).
policy_seller_info
class-attribute
instance-attribute
The shop's seller infomation string (may be blank).
policy_update_date
class-attribute
instance-attribute
The date and time of the last update to the shop's policies, in epoch seconds.
policy_has_private_receipt_info
class-attribute
instance-attribute
When true, EU receipts display private info.
has_unstructured_policies
class-attribute
instance-attribute
When true, the shop displays additional unstructured policy fields.
policy_privacy
class-attribute
instance-attribute
The shop's privacy policy string (may be blank).
vacation_autoreply
class-attribute
instance-attribute
The shop's automatic reply string displayed in new conversations when is_vacation is true.
image_url760x100
class-attribute
instance-attribute
The URL string for this shop's banner image.
num_favorers
class-attribute
instance-attribute
The number of users who marked this shop a favorite.
languages
class-attribute
instance-attribute
A list of language strings for the shop's enrolled languages.
icon_url_fullxfull
class-attribute
instance-attribute
The URL string for this shop's icon image.
is_using_structured_policies
class-attribute
instance-attribute
When true, the shop accepted using structured policies.
has_onboarded_structured_policies
class-attribute
instance-attribute
When true, the shop accepted OR declined after viewing structured policies onboarding.
include_dispute_form_link
class-attribute
instance-attribute
When true, this shop's policies include a link to an EU online dispute form.
is_direct_checkout_onboarded
class-attribute
instance-attribute
When true, the shop has onboarded onto Etsy Payments.
is_calculated_eligible
class-attribute
instance-attribute
When true, the shop is elegible for calculated shipping profiles. (Only available in the US and Canada)
is_opted_in_to_buyer_promise
class-attribute
instance-attribute
When true, the shop opted in to buyer promise.
is_shop_us_based
class-attribute
instance-attribute
When true, the shop is based in the US.
transaction_sold_count
class-attribute
instance-attribute
The total number of sales transactions for this shop
shipping_from_country_iso
class-attribute
instance-attribute
The country iso the shop is shipping from.
shop_location_country_iso
class-attribute
instance-attribute
The country iso where the shop is located.
review_count
class-attribute
instance-attribute
Number of reviews of shop listings in the past year.
Shops
dataclass
ShopSections
dataclass
ShopCreateSectionInput
dataclass
ShopSection
dataclass
ShopSection(shop_section_id: Optional[int] = None, title: Optional[str] = None, rank: Optional[int] = None, user_id: Optional[int] = None, active_listing_count: Optional[int] = None)
Response for Create a shop section
Attributes
shop_section_id
class-attribute
instance-attribute
The numeric ID of a section in a specific Etsy shop.
title
class-attribute
instance-attribute
The title string for a shop section.
rank
class-attribute
instance-attribute
The positive non-zero numeric position of this section in the section display order for a shop, with rank 1 sections appearing first.
user_id
class-attribute
instance-attribute
The numeric ID of the user who owns this shop section.
User
dataclass
User(user_id: Optional[int] = None, login_name: Optional[str] = None, primary_email: Optional[str] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, create_timestamp: Optional[int] = None, referred_by_user_id: Optional[int] = None, use_new_inventory_endpoints: Optional[bool] = None, is_seller: Optional[bool] = None, bio: Optional[str] = None, gender: Optional[str] = None, birth_month: Optional[str] = None, birth_day: Optional[str] = None, transaction_buy_count: Optional[int] = None, transaction_sold_count: Optional[int] = None)
Response for Get user
Attributes
user_id
class-attribute
instance-attribute
The numeric ID of a user. This number is also a valid shop ID for the user's shop.
login_name
class-attribute
instance-attribute
The user's login name string.
primary_email
class-attribute
instance-attribute
An email address string for the user's primary email address.
first_name
class-attribute
instance-attribute
The user's first name.
create_timestamp
class-attribute
instance-attribute
The date and time the user created their account, in epoch seconds.
referred_by_user_id
class-attribute
instance-attribute
The numeric ID of the user who referred this user.
use_new_inventory_endpoints
class-attribute
instance-attribute
Deprecated. Always true.
is_seller
class-attribute
instance-attribute
True if the user is seller.
birth_month
class-attribute
instance-attribute
The user's month of birth.
birth_day
class-attribute
instance-attribute
The user's day of birth.
transaction_buy_count
class-attribute
instance-attribute
The number of transactions where the user has bought.
UserAddress
dataclass
UserAddress(user_address_id: Optional[int] = None, user_id: Optional[int] = None, name: Optional[str] = None, first_line: Optional[str] = None, second_line: Optional[str] = None, city: Optional[str] = None, state: Optional[str] = None, zip: Optional[str] = None, iso_country_code: Optional[str] = None, country_name: Optional[str] = None, is_default_shipping_address: Optional[bool] = None)
Response for Get user's address
Attributes
user_address_id
class-attribute
instance-attribute
The numeric ID of the user's address.
name
class-attribute
instance-attribute
The user's name for this address.
first_line
class-attribute
instance-attribute
The first line of the user's address.
second_line
class-attribute
instance-attribute
The second line of the user's address.
city
class-attribute
instance-attribute
The city field of the user's address.
state
class-attribute
instance-attribute
The state field of the user's address.
zip
class-attribute
instance-attribute
The zip code field of the user's address.
iso_country_code
class-attribute
instance-attribute
The ISO code of the country in this address.
country_name
class-attribute
instance-attribute
The name of the user's country.
UserAddresses
dataclass
SellerTaxonomyNodes
dataclass
TaxonomyNodeProperties
dataclass
ShopListings
dataclass
ListingCreateInput
dataclass
ListingCreateInput(quantity: Optional[int] = None, title: Optional[str] = None, description: Optional[str] = None, price: Optional[float] = None, who_made: Optional[str] = None, when_made: Optional[str] = None, taxonomy_id: Optional[int] = None, shipping_profile_id: Optional[int] = None, materials: Optional[str] = None, shop_section_id: Optional[int] = None, processing_min: Optional[int] = None, processing_max: Optional[int] = None, tags: Optional[str] = None, recipient: Optional[str] = None, occasion: Optional[str] = None, styles: Optional[str] = None, item_weight: Optional[float] = None, item_length: Optional[int] = None, item_width: Optional[float] = None, item_height: Optional[float] = None, item_weight_unit: Optional[str] = None, item_dimensions_unit: Optional[str] = None, is_personalizable: Optional[bool] = None, image_ids: Optional[str] = None, is_supply: Optional[bool] = None, is_customizable: Optional[bool] = None, is_taxable: Optional[bool] = None)
Create a draft listing
Attributes
quantity
class-attribute
instance-attribute
The positive non-zero number of products available for purchase in the listing.
title
class-attribute
instance-attribute
The listing's title string. Valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{P}\p{Sm}\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each.
description
class-attribute
instance-attribute
A description string of the product for sale in the listing.
price
class-attribute
instance-attribute
The positive non-zero price of the product. (Sold product listings are private) Note: The price is the minimum possible price.
who_made
class-attribute
instance-attribute
An string inidcated who made the product. Helps buyers locate the listing under the Handmade heading. Requires 'is_supply' and 'when_made'.
when_made
class-attribute
instance-attribute
A string for the era in which the maker made the product in this listing. Helps buyers locate the listing under the Vintage heading. Requires 'is_supply' and 'who_made'.
taxonomy_id
class-attribute
instance-attribute
The numeric taxonomy ID of the listing. The seller manages listing taxonomy IDs for their shop.
shipping_profile_id
class-attribute
instance-attribute
The numeric ID of the shipping profile associated with the listing.
materials
class-attribute
instance-attribute
A array of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u)
shop_section_id
class-attribute
instance-attribute
The numeric ID of the shop section for this listing.
processing_min
class-attribute
instance-attribute
The minimum number of days required to process this listing.
processing_max
class-attribute
instance-attribute
The maximum number of days required to process this listing.
tags
class-attribute
instance-attribute
An array of tag strings for the listing. Valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{Zs}-'™©®]/u)
recipient
class-attribute
instance-attribute
A string indicating a person for whom this product would make an appropriate gift.
occasion
class-attribute
instance-attribute
A string indicating an occassion for which this product would make an appropriate gift.
styles
class-attribute
instance-attribute
An array of style strings for this listing, each of which is free-form text string such as Formal, or Steampunk. A Listing may have up to two styles. Valid style strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u)
item_weight
class-attribute
instance-attribute
The numeric weight of the product measured in units set in item weight unit.
item_length
class-attribute
instance-attribute
The numeric length of the product measured in units set in item dimensions unit.
item_width
class-attribute
instance-attribute
The numeric width of the product measured in units set in 'item dimensions unit'.
item_height
class-attribute
instance-attribute
The numeric height of the product measured in units set in 'item dimensions unit'.
item_weight_unit
class-attribute
instance-attribute
A string defining the units used to measure the weight of the product.
item_dimensions_unit
class-attribute
instance-attribute
A string defining the units used to measure the dimensions of the product.
is_personalizable
class-attribute
instance-attribute
When true, this listing is personalizable.
image_ids
class-attribute
instance-attribute
An array of numeric image IDs of the images in a listing, which can include up to 10 images.
is_supply
class-attribute
instance-attribute
When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who made' and 'when made'.
is_customizable
class-attribute
instance-attribute
When true, a buyer may contact the seller for a customized order. The default value is true when a shop accepts custom orders. Does not apply to shops that do not accept custom orders.
ShopListing
dataclass
ShopListing(listing_id: Optional[int] = None, user_id: Optional[int] = None, shop_id: Optional[int] = None, title: Optional[str] = None, description: Optional[str] = None, state: Optional[State] = None, creation_timestamp: Optional[int] = None, ending_timestamp: Optional[int] = None, original_creation_timestamp: Optional[int] = None, last_modified_timestamp: Optional[int] = None, state_timestamp: Optional[int] = None, quantity: Optional[int] = None, shop_section_id: Optional[int] = None, featured_rank: Optional[int] = None, url: Optional[str] = None, num_favorers: Optional[int] = None, non_taxable: Optional[bool] = None, is_customizable: Optional[bool] = None, is_personalizable: Optional[bool] = None, personalization_is_required: Optional[bool] = None, personalization_char_count_max: Optional[int] = None, personalization_instructions: Optional[str] = None, listing_type: Optional[bool] = None, tags: Optional[List[str]] = None, materials: Optional[List[str]] = None, shipping_profile_id: Optional[int] = None, processing_min: Optional[int] = None, processing_max: Optional[int] = None, who_made: Optional[WhoMade] = None, when_made: Optional[WhenMade] = None, is_supply: Optional[bool] = None, item_weight: Optional[float] = None, item_weight_unit: Optional[ItemWeightUnit] = None, item_length: Optional[float] = None, item_width: Optional[float] = None, item_height: Optional[float] = None, item_dimensions_unit: Optional[ItemDimensionsUnit] = None, is_private: Optional[bool] = None, recipient: Optional[Recipient] = None, occasion: Optional[Occasion] = None, style: Optional[List[str]] = None, file_data: Optional[str] = None, has_variations: Optional[bool] = None, should_auto_renew: Optional[bool] = None, language: Optional[str] = None, price: Optional[Money] = None, taxonomy_id: Optional[int] = None)
Response for Create a draft listing
Attributes
listing_id
class-attribute
instance-attribute
The numeric ID for the listing associated to this transaction.
user_id
class-attribute
instance-attribute
The numeric ID for the user posting the listing.
shop_id
class-attribute
instance-attribute
The unique positive non-zero numeric ID for an Etsy Shop.
title
class-attribute
instance-attribute
The listing's title string. Valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{P}\p{Sm}\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each.
description
class-attribute
instance-attribute
A description string of the product for sale in the listing.
creation_timestamp
class-attribute
instance-attribute
The listing's creation time, in epoch seconds.
ending_timestamp
class-attribute
instance-attribute
The listing's expiration time, in epoch seconds.
original_creation_timestamp
class-attribute
instance-attribute
The listing's creation time, in epoch seconds.
last_modified_timestamp
class-attribute
instance-attribute
The time of the last update to the listing, in epoch seconds.
state_timestamp
class-attribute
instance-attribute
The date and time of the last state change of this listing.
quantity
class-attribute
instance-attribute
The positive non-zero number of products available for purchase in the listing. Note: The listing quantity is the sum of available offering quantities. You can request the quantities for individual offerings from the ListingInventory resource using the get listing inventory endpoint.
shop_section_id
class-attribute
instance-attribute
The numeric ID of a section in a specific Etsy shop.
featured_rank
class-attribute
instance-attribute
The positive non-zero numeric position in the featured listings of the shop, with rank 1 listings appearing in the left-most position in featured listing on a shop's home page.
url
class-attribute
instance-attribute
The full URL to the listing's page on Etsy.
num_favorers
class-attribute
instance-attribute
The number of users who marked this listing a favorite.
non_taxable
class-attribute
instance-attribute
When true, applicable shop tax rates do not apply to this listing at checkout.
is_customizable
class-attribute
instance-attribute
When true, a buyer may contact the seller for a customized order. The default value is true when a shop accepts custom orders. Does not apply to shops that do not accept custom orders.
is_personalizable
class-attribute
instance-attribute
When true, this listing is personalizable. The default value is null.
personalization_is_required
class-attribute
instance-attribute
When true, this listing requires personalization. The default value is null.
personalization_char_count_max
class-attribute
instance-attribute
This an integer value representing the maximum length for the personalization message entered by the buyer.
personalization_instructions
class-attribute
instance-attribute
When true, this listing requires personalization. The default value is null.
listing_type
class-attribute
instance-attribute
An enumerated type string that indicates whether the listing is physical or a digital download.
tags
class-attribute
instance-attribute
A list of tag strings for the listing. Valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{Zs}\-'™©®]/u) Default value is null.
materials
class-attribute
instance-attribute
A list of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u) Default value is null.
shipping_profile_id
class-attribute
instance-attribute
The numeric ID of the shipping profile associated with the listing.
processing_min
class-attribute
instance-attribute
The minimum number of days required to process this listing. Default value is null.
processing_max
class-attribute
instance-attribute
The maximum number of days required to process this listing. Default value is null.
is_supply
class-attribute
instance-attribute
When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who_made' and 'when_made'.
item_weight
class-attribute
instance-attribute
The numeric weight of the product measured in units set in item weight unit. Default value is null. If set, the value must be greater than 0.
item_length
class-attribute
instance-attribute
The numeric length of the product measured in units set in item dimensions unit. Default value is null. If set, the value must be greater than 0.
item_width
class-attribute
instance-attribute
The numeric width of the product measured in units set in item dimensions unit. Default value is null. If set, the value must be greater than 0.
item_height
class-attribute
instance-attribute
The numeric length of the product measured in units set in item dimensions unit. Default value is null. If set, the value must be greater than 0.
is_private
class-attribute
instance-attribute
When true, this is a private listing intendend for a specific buyer and hidden from shop view.
style
class-attribute
instance-attribute
An array of style strings for this listing, each of which is free-form text string such as Formal, or Steampunk. A Listing may have up to two styles. Valid style strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u) Default value is null.
file_data
class-attribute
instance-attribute
A string describing the files attached to a digital listing.
has_variations
class-attribute
instance-attribute
When true, the listing has variations.
should_auto_renew
class-attribute
instance-attribute
When true, renews a listing for four months upon expriation. If set to true when previously false, etsy.com renews the listing before it expires, but the renewal period starts immidiately rather than extending the listing's expiration date. Any unused time remaining on the listing is lost. Renewals result in charges to a user's bill.
language
class-attribute
instance-attribute
The IETF language tag for the default language of the listing. Ex: de,
en, es, fr, it, ja, nl, pl, pt, ru.
ShopListingsWithAssociations
dataclass
ListingUpdatePropertyInput
dataclass
ListingUpdatePropertyInput(value_ids: Optional[int] = None, values: Optional[str] = None, scale_id: Optional[int] = None)
Update a listing property
Attributes
value_ids
class-attribute
instance-attribute
The numeric ID of a single Etsy.com measurement scale.
values
class-attribute
instance-attribute
An array of value strings for multiple Etsy listing property values.
ListingPropertyValue
dataclass
ListingPropertyValue(property_id: Optional[int] = None, property_name: Optional[str] = None, scale_id: Optional[int] = None, scale_name: Optional[str] = None, value_ids: Optional[List[int]] = None, values: Optional[List[str]] = None)
Response for Update a listing property
Attributes
property_id
class-attribute
instance-attribute
The numeric ID of the Property.
property_name
class-attribute
instance-attribute
The name of the Property.
scale_id
class-attribute
instance-attribute
The numeric ID of the scale (if any).
scale_name
class-attribute
instance-attribute
The label used to describe the chosen scale (if any).
value_ids
class-attribute
instance-attribute
The numeric IDs of the property values
ListingPropertyValues
dataclass
ListingUpdateInput
dataclass
ListingUpdateInput(quantity: Optional[int] = None, title: Optional[str] = None, description: Optional[str] = None, price: Optional[float] = None, who_made: Optional[str] = None, when_made: Optional[str] = None, taxonomy_id: Optional[int] = None, shipping_profile_id: Optional[int] = None, materials: Optional[str] = None, shop_section_id: Optional[int] = None, processing_min: Optional[int] = None, processing_max: Optional[int] = None, tags: Optional[str] = None, recipient: Optional[str] = None, occasion: Optional[str] = None, styles: Optional[str] = None, item_weight: Optional[float] = None, item_length: Optional[int] = None, item_width: Optional[float] = None, item_height: Optional[float] = None, item_weight_unit: Optional[str] = None, item_dimensions_unit: Optional[str] = None, is_personalizable: Optional[bool] = None, image_ids: Optional[str] = None, is_supply: Optional[bool] = None, is_customizable: Optional[bool] = None, is_taxable: Optional[bool] = None, featured_rank: Optional[int] = None, should_auto_renew: Optional[bool] = None, type_: Optional[str] = None, channels: Optional[str] = None)
Update a listing
Attributes
quantity
class-attribute
instance-attribute
The positive non-zero number of products available for purchase in the listing.
title
class-attribute
instance-attribute
The listing's title string. Valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{P}\p{Sm}\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each.
description
class-attribute
instance-attribute
A description string of the product for sale in the listing.
price
class-attribute
instance-attribute
The positive non-zero price of the product. (Sold product listings are private) Note: The price is the minimum possible price.
who_made
class-attribute
instance-attribute
An string inidcated who made the product. Helps buyers locate the listing under the Handmade heading. Requires 'is_supply' and 'when_made'.
when_made
class-attribute
instance-attribute
A string for the era in which the maker made the product in this listing. Helps buyers locate the listing under the Vintage heading. Requires 'is_supply' and 'who_made'.
taxonomy_id
class-attribute
instance-attribute
The numeric taxonomy ID of the listing. The seller manages listing taxonomy IDs for their shop.
shipping_profile_id
class-attribute
instance-attribute
The numeric ID of the shipping profile associated with the listing.
materials
class-attribute
instance-attribute
A array of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u)
shop_section_id
class-attribute
instance-attribute
The numeric ID of the shop section for this listing.
processing_min
class-attribute
instance-attribute
The minimum number of days required to process this listing.
processing_max
class-attribute
instance-attribute
The maximum number of days required to process this listing.
tags
class-attribute
instance-attribute
An array of tag strings for the listing. Valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{Zs}-'™©®]/u)
recipient
class-attribute
instance-attribute
A string indicating a person for whom this product would make an appropriate gift.
occasion
class-attribute
instance-attribute
A string indicating an occassion for which this product would make an appropriate gift.
styles
class-attribute
instance-attribute
An array of style strings for this listing, each of which is free-form text string such as Formal, or Steampunk. A Listing may have up to two styles. Valid style strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u)
item_weight
class-attribute
instance-attribute
The numeric weight of the product measured in units set in item weight unit.
item_length
class-attribute
instance-attribute
The numeric length of the product measured in units set in item dimensions unit.
item_width
class-attribute
instance-attribute
The numeric width of the product measured in units set in 'item dimensions unit'.
item_height
class-attribute
instance-attribute
The numeric height of the product measured in units set in 'item dimensions unit'.
item_weight_unit
class-attribute
instance-attribute
A string defining the units used to measure the weight of the product.
item_dimensions_unit
class-attribute
instance-attribute
A string defining the units used to measure the dimensions of the product.
is_personalizable
class-attribute
instance-attribute
When true, this listing is personalizable.
image_ids
class-attribute
instance-attribute
An array of numeric image IDs of the images in a listing, which can include up to 10 images.
is_supply
class-attribute
instance-attribute
When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who made' and 'when made'.
is_customizable
class-attribute
instance-attribute
When true, a buyer may contact the seller for a customized order. The default value is true when a shop accepts custom orders. Does not apply to shops that do not accept custom orders.
is_taxable
class-attribute
instance-attribute
When true, applicable shop tax rates apply to this listing at checkout.
featured_rank
class-attribute
instance-attribute
The positive non-zero numeric position in the featured listings of the shop with rank 1 listings appearing in the left-most position in featured listing on a shop's home page.
should_auto_renew
class-attribute
instance-attribute
When true, renews a listing for four months upon expriation. If set to true when previously false, etsy.com renews the listing before it expires, but the renewal period starts immidiately rather than extending the listing's expiration date. Any unused time remaining on the listing is lost. Renewals result in charges to a user's bill.
type_
class-attribute
instance-attribute
Indicates whether the listing is physical or a digital download.
ShopListingFile
dataclass
ShopListingFile(listing_file_id: Optional[int] = None, listing_id: Optional[int] = None, rank: Optional[int] = None, filename: Optional[str] = None, filesize: Optional[str] = None, size_bytes: Optional[int] = None, filetype: Optional[str] = None, create_timestamp: Optional[int] = None)
Response for Get a file from a listing
Attributes
listing_file_id
class-attribute
instance-attribute
The unique numeric ID of a file associated with a digital listing.
listing_id
class-attribute
instance-attribute
The numeric ID for the listing associated to this transaction.
rank
class-attribute
instance-attribute
The numeric index of the display order position of this file in the listing, starting at 1.
filename
class-attribute
instance-attribute
The file name string for a file associated with a digital listing.
filesize
class-attribute
instance-attribute
A human-readable format size string for the size of a file.
size_bytes
class-attribute
instance-attribute
A number indicating the size of a file, measured in bytes.
filetype
class-attribute
instance-attribute
A type string indicating a file's MIME type.
ShopListingFiles
dataclass
ListingUploadInput
dataclass
ListingUploadInput(listing_file_id: Optional[int] = None, file: Optional[str] = None, name: Optional[str] = None, rank: Optional[int] = None)
Upload a listing file
Attributes
listing_file_id
class-attribute
instance-attribute
The unique numeric ID of a file associated with a digital listing.
name
class-attribute
instance-attribute
The file name string of a file to upload
ListingImage
dataclass
ListingImage(listing_id: Optional[int] = None, listing_image_id: Optional[int] = None, hex_code: Optional[str] = None, red: Optional[int] = None, green: Optional[int] = None, blue: Optional[int] = None, hue: Optional[int] = None, saturation: Optional[int] = None, brightness: Optional[int] = None, is_black_and_white: Optional[bool] = None, creation_tsz: Optional[int] = None, rank: Optional[int] = None, url75x75: Optional[str] = None, url170x135: Optional[str] = None, url570x_n: Optional[str] = None, url_fullxfull: Optional[str] = None, full_height: Optional[int] = None, full_width: Optional[int] = None)
Response for Get a listing image
Attributes
listing_id
class-attribute
instance-attribute
The numeric ID for the listing associated to this transaction.
listing_image_id
class-attribute
instance-attribute
The numeric ID of the primary listing image for this transaction.
hex_code
class-attribute
instance-attribute
The webhex string for the image's average color, in webhex notation.
red
class-attribute
instance-attribute
The numeric red value equal to the image's average red value, from 0-255 (RGB color).
green
class-attribute
instance-attribute
The numeric red value equal to the image's average red value, from 0-255 (RGB color).
blue
class-attribute
instance-attribute
The numeric red value equal to the image's average red value, from 0-255 (RGB color).
hue
class-attribute
instance-attribute
The numeric hue equal to the image's average hue, from 0-360 (HSV color).
saturation
class-attribute
instance-attribute
The numeric saturation equal to the image's average saturation, from 0-100 (HSV color).
brightness
class-attribute
instance-attribute
The numeric brightness equal to the image's average brightness, from 0-100 (HSV color).
is_black_and_white
class-attribute
instance-attribute
When true, the image is in black & white.
creation_tsz
class-attribute
instance-attribute
The listing image's creation time, in epoch seconds.
rank
class-attribute
instance-attribute
The positive non-zero numeric position in the images displayed in a listing, with rank 1 images appearing in the left-most position in a listing.
url75x75
class-attribute
instance-attribute
The url string for a 75x75 pixel thumbnail of the image.
url170x135
class-attribute
instance-attribute
The url string for a 170x135 pixel thumbnail of the image.
url570x_n
class-attribute
instance-attribute
The url string for a thumbnail of the image, no more than 570 pixels wide with variable height.
url_fullxfull
class-attribute
instance-attribute
The url string for the full-size image, up to 3000 pixels in each dimension.
full_height
class-attribute
instance-attribute
The numeric height, measured in pixels, of the full-sized image referenced in url_fullxfull.
ListingImages
dataclass
ListingUploadImageInput
dataclass
ListingUploadImageInput(image: Optional[str] = None, listing_image_id: Optional[int] = None, rank: Optional[int] = None, overwrite: Optional[bool] = None, is_watermarked: Optional[bool] = None)
Upload a listing image
Attributes
image
class-attribute
instance-attribute
The file name string of a file to upload.
listing_image_id
class-attribute
instance-attribute
The numeric ID of the primary listing image for this transaction.
rank
class-attribute
instance-attribute
The positive non-zero numeric position in the images displayed in a listing, with rank 1 images appearing in the left-most position in a listing.
overwrite
class-attribute
instance-attribute
When true, this request replaces the existing image at a given rank.
ListingInventoryWithAssociations
dataclass
ListingInventoryWithAssociations(products: Optional[List[ListingInventoryProduct]] = None, price_on_property: Optional[List[int]] = None, quantity_on_property: Optional[List[int]] = None, sku_on_property: Optional[List[int]] = None, listing: Optional[ShopListing] = None)
Response for Get a listing's inventory
Attributes
products
class-attribute
instance-attribute
A JSON array of products available in a listing, even if only one product. All field names in the JSON blobs are lowercase.
price_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change product prices, if any. For example, if you charge specific prices for different sized products in the same listing, then this array contains the property ID for size.
quantity_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the quantity of the products, if any. For example, if you stock specific quantities of different colored products in the same listing, then this array contains the property ID for color.
sku_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the product SKU, if any. For example, if you use specific skus for different colored products in the same listing, then this array contains the property ID for color.
ListingUpdateInventoryInput
dataclass
ListingUpdateInventoryInput(products: Optional[str] = None, price_on_property: Optional[str] = None, quantity_on_property: Optional[str] = None, sku_on_property: Optional[str] = None)
Update a listing's inventory
Attributes
products
class-attribute
instance-attribute
A JSON array of products available in a listing, even if only one product. All field names in the JSON blobs are lowercase.
price_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change product prices, if any. For example, if you charge specific prices for different sized products in the same listing, then this array contains the property ID for size.
quantity_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the quantity of the products, if any. For example, if you stock specific quantities of different colored products in the same listing, then this array contains the property ID for color.
sku_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the product SKU, if any. For example, if you use specific skus for different colored products in the same listing, then this array contains the property ID for color.
ListingInventory
dataclass
ListingInventory(products: Optional[List[ListingInventoryProduct]] = None, price_on_property: Optional[List[int]] = None, quantity_on_property: Optional[List[int]] = None, sku_on_property: Optional[List[int]] = None)
Response for Update a listing's inventory
Attributes
products
class-attribute
instance-attribute
A JSON array of products available in a listing, even if only one product. All field names in the JSON blobs are lowercase.
price_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change product prices, if any. For example, if you charge specific prices for different sized products in the same listing, then this array contains the property ID for size.
quantity_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the quantity of the products, if any. For example, if you stock specific quantities of different colored products in the same listing, then this array contains the property ID for color.
sku_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the product SKU, if any. For example, if you use specific skus for different colored products in the same listing, then this array contains the property ID for color.
ListingInventoryProductOffering
dataclass
ListingInventoryProductOffering(offering_id: Optional[int] = None, quantity: Optional[int] = None, is_enabled: Optional[bool] = None, is_deleted: Optional[bool] = None, price: Optional[Money] = None)
Response for Get a listing's offering
Attributes
offering_id
class-attribute
instance-attribute
The ID for the product offering
quantity
class-attribute
instance-attribute
The quantity the product offering
is_enabled
class-attribute
instance-attribute
Whether or not the offering can be shown to buyers.
ListingInventoryProduct
dataclass
ListingInventoryProduct(product_id: Optional[int] = None, sku: Optional[str] = None, is_deleted: Optional[bool] = None, offerings: Optional[List[ListingInventoryProductOffering]] = None, property_values: Optional[List[ListingPropertyValue]] = None)
Response for Get a listing's product
Attributes
product_id
class-attribute
instance-attribute
The numeric ID for a specific product purchased from a listing.
is_deleted
class-attribute
instance-attribute
When true, someone deleted this product.
offerings
class-attribute
instance-attribute
A list of product offering entries for this product.
ListingTranslation
dataclass
ListingTranslation(listing_id: Optional[int] = None, language: Optional[str] = None, title: Optional[str] = None, description: Optional[str] = None, tags: Optional[List[str]] = None)
Response for Get a listing's translation
Attributes
listing_id
class-attribute
instance-attribute
The numeric ID for the Listing.
language
class-attribute
instance-attribute
The IETF language tag (e.g. 'fr') for the language of this translation.
title
class-attribute
instance-attribute
The title of the Listing of this Translation.
description
class-attribute
instance-attribute
The description of the Listing of this Translation.
ListingCreateTranslationInput
dataclass
ListingCreateTranslationInput(title: Optional[str] = None, description: Optional[str] = None, tags: Optional[str] = None)
Create a listing translation
Attributes
title
class-attribute
instance-attribute
The title of the Listing of this Translation.
description
class-attribute
instance-attribute
The description of the Listing of this Translation.
ListingUpdateTranslationInput
dataclass
ListingUpdateTranslationInput(title: Optional[str] = None, description: Optional[str] = None, tags: Optional[str] = None)
Update a listing translation
Attributes
title
class-attribute
instance-attribute
The title of the Listing of this Translation.
description
class-attribute
instance-attribute
The description of the Listing of this Translation.
ListingVariationImages
dataclass
ListingUpdateVariationInput
dataclass
Money
dataclass
Money(amount: Optional[int] = None, divisor: Optional[int] = None, currency_code: Optional[str] = None)
Definition: Money
Attributes
amount
class-attribute
instance-attribute
The amount of represented by this data.
divisor
class-attribute
instance-attribute
The divisor to render the amount.
ErrorSchema
dataclass
ShopListingWithAssociations
dataclass
ShopListingWithAssociations(listing_id: Optional[int] = None, user_id: Optional[int] = None, shop_id: Optional[int] = None, title: Optional[str] = None, description: Optional[str] = None, state: Optional[State] = None, creation_timestamp: Optional[int] = None, ending_timestamp: Optional[int] = None, original_creation_timestamp: Optional[int] = None, last_modified_timestamp: Optional[int] = None, state_timestamp: Optional[int] = None, quantity: Optional[int] = None, shop_section_id: Optional[int] = None, featured_rank: Optional[int] = None, url: Optional[str] = None, num_favorers: Optional[int] = None, non_taxable: Optional[bool] = None, is_customizable: Optional[bool] = None, is_personalizable: Optional[bool] = None, personalization_is_required: Optional[bool] = None, personalization_char_count_max: Optional[int] = None, personalization_instructions: Optional[str] = None, listing_type: Optional[bool] = None, tags: Optional[List[str]] = None, materials: Optional[List[str]] = None, shipping_profile_id: Optional[int] = None, processing_min: Optional[int] = None, processing_max: Optional[int] = None, who_made: Optional[WhoMade] = None, when_made: Optional[WhenMade] = None, is_supply: Optional[bool] = None, item_weight: Optional[float] = None, item_weight_unit: Optional[ItemWeightUnit] = None, item_length: Optional[float] = None, item_width: Optional[float] = None, item_height: Optional[float] = None, item_dimensions_unit: Optional[ItemDimensionsUnit] = None, is_private: Optional[bool] = None, recipient: Optional[Recipient] = None, occasion: Optional[Occasion] = None, style: Optional[List[str]] = None, file_data: Optional[str] = None, has_variations: Optional[bool] = None, should_auto_renew: Optional[bool] = None, language: Optional[str] = None, price: Optional[Money] = None, taxonomy_id: Optional[int] = None, user: Optional[User] = None, shop: Optional[Shop] = None, images: Optional[List[ListingImage]] = None, production_partners: Optional[List[ShopProductionPartner]] = None)
Definition: ShopListingWithAssociations
Attributes
listing_id
class-attribute
instance-attribute
The numeric ID for the listing associated to this transaction.
user_id
class-attribute
instance-attribute
The numeric ID for the user posting the listing.
shop_id
class-attribute
instance-attribute
The unique positive non-zero numeric ID for an Etsy Shop.
title
class-attribute
instance-attribute
The listing's title string. Valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{P}\p{Sm}\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each.
description
class-attribute
instance-attribute
A description string of the product for sale in the listing.
creation_timestamp
class-attribute
instance-attribute
The listing's creation time, in epoch seconds.
ending_timestamp
class-attribute
instance-attribute
The listing's expiration time, in epoch seconds.
original_creation_timestamp
class-attribute
instance-attribute
The listing's creation time, in epoch seconds.
last_modified_timestamp
class-attribute
instance-attribute
The time of the last update to the listing, in epoch seconds.
state_timestamp
class-attribute
instance-attribute
The date and time of the last state change of this listing.
quantity
class-attribute
instance-attribute
The positive non-zero number of products available for purchase in the listing. Note: The listing quantity is the sum of available offering quantities. You can request the quantities for individual offerings from the ListingInventory resource using the get listing inventory endpoint.
shop_section_id
class-attribute
instance-attribute
The numeric ID of a section in a specific Etsy shop.
featured_rank
class-attribute
instance-attribute
The positive non-zero numeric position in the featured listings of the shop, with rank 1 listings appearing in the left-most position in featured listing on a shop's home page.
url
class-attribute
instance-attribute
The full URL to the listing's page on Etsy.
num_favorers
class-attribute
instance-attribute
The number of users who marked this listing a favorite.
non_taxable
class-attribute
instance-attribute
When true, applicable shop tax rates do not apply to this listing at checkout.
is_customizable
class-attribute
instance-attribute
When true, a buyer may contact the seller for a customized order. The default value is true when a shop accepts custom orders. Does not apply to shops that do not accept custom orders.
is_personalizable
class-attribute
instance-attribute
When true, this listing is personalizable. The default value is null.
personalization_is_required
class-attribute
instance-attribute
When true, this listing requires personalization. The default value is null.
personalization_char_count_max
class-attribute
instance-attribute
This an integer value representing the maximum length for the personalization message entered by the buyer.
personalization_instructions
class-attribute
instance-attribute
When true, this listing requires personalization. The default value is null.
listing_type
class-attribute
instance-attribute
An enumerated type string that indicates whether the listing is physical or a digital download.
tags
class-attribute
instance-attribute
A list of tag strings for the listing. Valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\p{L}\p{Nd}\p{Zs}\-'™©®]/u) Default value is null.
materials
class-attribute
instance-attribute
A list of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u) Default value is null.
shipping_profile_id
class-attribute
instance-attribute
The numeric ID of the shipping profile associated with the listing.
processing_min
class-attribute
instance-attribute
The minimum number of days required to process this listing. Default value is null.
processing_max
class-attribute
instance-attribute
The maximum number of days required to process this listing. Default value is null.
is_supply
class-attribute
instance-attribute
When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who_made' and 'when_made'.
item_weight
class-attribute
instance-attribute
The numeric weight of the product measured in units set in item weight unit. Default value is null. If set, the value must be greater than 0.
item_length
class-attribute
instance-attribute
The numeric length of the product measured in units set in item dimensions unit. Default value is null. If set, the value must be greater than 0.
item_width
class-attribute
instance-attribute
The numeric width of the product measured in units set in item dimensions unit. Default value is null. If set, the value must be greater than 0.
item_height
class-attribute
instance-attribute
The numeric length of the product measured in units set in item dimensions unit. Default value is null. If set, the value must be greater than 0.
is_private
class-attribute
instance-attribute
When true, this is a private listing intendend for a specific buyer and hidden from shop view.
style
class-attribute
instance-attribute
An array of style strings for this listing, each of which is free-form text string such as Formal, or Steampunk. A Listing may have up to two styles. Valid style strings contain only letters, numbers, and whitespace characters. (regex: /[^\p{L}\p{Nd}\p{Zs}]/u) Default value is null.
file_data
class-attribute
instance-attribute
A string describing the files attached to a digital listing.
has_variations
class-attribute
instance-attribute
When true, the listing has variations.
should_auto_renew
class-attribute
instance-attribute
When true, renews a listing for four months upon expriation. If set to true when previously false, etsy.com renews the listing before it expires, but the renewal period starts immidiately rather than extending the listing's expiration date. Any unused time remaining on the listing is lost. Renewals result in charges to a user's bill.
language
class-attribute
instance-attribute
The IETF language tag for the default language of the listing. Ex: de,
en, es, fr, it, ja, nl, pl, pt, ru.
taxonomy_id
class-attribute
instance-attribute
The numeric taxonomy ID of the listing. The seller manages listing taxonomy IDs for their shop. See seller taxonomy for more information.
images
class-attribute
instance-attribute
Represents a list of listing image resources, each of which contains the reference URLs and metadata for an image
ShopProductionPartner
dataclass
ShopProductionPartner(production_partner_id: Optional[int] = None, partner_name: Optional[str] = None, location: Optional[str] = None)
Definition: ShopProductionPartner
Attributes
production_partner_id
class-attribute
instance-attribute
The numeric ID of a production partner.
partner_name
class-attribute
instance-attribute
The name or title of the production partner.
ListingVariationImage
dataclass
ListingVariationImage(property_id: Optional[int] = None, value_id: Optional[int] = None, image_id: Optional[int] = None)
Definition: ListingVariationImage
Attributes
property_id
class-attribute
instance-attribute
The numeric ID of the Property.
value_id
class-attribute
instance-attribute
The numeric ID of the Value.
PaymentAccountLedgerEntry
dataclass
PaymentAccountLedgerEntry(entry_id: Optional[int] = None, ledger_id: Optional[int] = None, sequence_number: Optional[int] = None, amount: Optional[int] = None, currency: Optional[str] = None, description: Optional[str] = None, balance: Optional[int] = None, create_date: Optional[int] = None)
Definition: PaymentAccountLedgerEntry
Attributes
entry_id
class-attribute
instance-attribute
The ledger entry's numeric ID.
ledger_id
class-attribute
instance-attribute
The ledger's numeric ID.
sequence_number
class-attribute
instance-attribute
The sequence allows ledger entries to be sorted chronologically. The higher the sequence, the more recent the entry.
amount
class-attribute
instance-attribute
The amount of money credited to the ledger.
currency
class-attribute
instance-attribute
The currency of the entry on the ledger.
description
class-attribute
instance-attribute
Details what kind of ledger entry this is: a payment, refund, reversal of a failed refund, disbursement, returned disbursement, recoupment, miscellaneous credit, miscellaneous debit, or bill payment.
balance
class-attribute
instance-attribute
The amount of money in the shop's ledger the moment after this entry was applied.
Payment
dataclass
Payment(payment_id: Optional[int] = None, buyer_user_id: Optional[int] = None, shop_id: Optional[int] = None, receipt_id: Optional[int] = None, amount_gross: Optional[Money] = None, amount_fees: Optional[Money] = None, amount_net: Optional[Money] = None, posted_gross: Optional[Money] = None, posted_fees: Optional[Money] = None, posted_net: Optional[Money] = None, adjusted_gross: Optional[Money] = None, adjusted_fees: Optional[Money] = None, adjusted_net: Optional[Money] = None, currency: Optional[str] = None, shop_currency: Optional[str] = None, buyer_currency: Optional[str] = None, shipping_user_id: Optional[int] = None, shipping_address_id: Optional[int] = None, billing_address_id: Optional[int] = None, status: Optional[str] = None, shipped_timestamp: Optional[int] = None, create_timestamp: Optional[int] = None, update_timestamp: Optional[int] = None, payment_adjustments: Optional[List[PaymentAdjustment]] = None)
Definition: Payment
Attributes
payment_id
class-attribute
instance-attribute
A unique numeric ID for a payment to a specific Etsy shop.
buyer_user_id
class-attribute
instance-attribute
The numeric ID for the user who paid the purchase.
shop_id
class-attribute
instance-attribute
The unique positive non-zero numeric ID for an Etsy Shop.
receipt_id
class-attribute
instance-attribute
The numeric ID for the receipt associated to this transaction.
currency
class-attribute
instance-attribute
The ISO (alphabetic) code string for the payment's currency.
shop_currency
class-attribute
instance-attribute
The ISO (alphabetic) code for the shop's currency. The shop displays all prices in this currency by default.
buyer_currency
class-attribute
instance-attribute
The currency string of the buyer.
shipping_user_id
class-attribute
instance-attribute
The numeric ID of the user to which the seller ships the order.
shipping_address_id
class-attribute
instance-attribute
The numeric id identifying the shipping address.
billing_address_id
class-attribute
instance-attribute
The numeric ID identifying the billing address of the buyer.
status
class-attribute
instance-attribute
A string indicating the current status of the payment, most commonly settled or authed.
shipped_timestamp
class-attribute
instance-attribute
The transaction's shipping date and time, in epoch seconds.
create_timestamp
class-attribute
instance-attribute
The transaction's creation date and time, in epoch seconds.
update_timestamp
class-attribute
instance-attribute
The date and time of the last change to the payment adjustment in epoch seconds.
PaymentAdjustment
dataclass
PaymentAdjustment(payment_adjustment_id: Optional[int] = None, payment_id: Optional[int] = None, status: Optional[str] = None, is_success: Optional[bool] = None, user_id: Optional[int] = None, reason_code: Optional[str] = None, total_adjustment_amount: Optional[int] = None, shop_total_adjustment_amount: Optional[int] = None, buyer_total_adjustment_amount: Optional[int] = None, total_fee_adjustment_amount: Optional[int] = None, create_timestamp: Optional[int] = None, update_timestamp: Optional[int] = None)
Definition: PaymentAdjustment
Attributes
payment_adjustment_id
class-attribute
instance-attribute
The numeric ID for a payment adjustment.
payment_id
class-attribute
instance-attribute
A unique numeric ID for a payment to a specific Etsy shop.
status
class-attribute
instance-attribute
The status string of the payment adjustment.
is_success
class-attribute
instance-attribute
When true, the payment adjustment was or is likely to complete successfully.
user_id
class-attribute
instance-attribute
The numeric ID for the user (seller) fulfilling the purchase.
reason_code
class-attribute
instance-attribute
A human-readable string describing the reason for the refund.
total_adjustment_amount
class-attribute
instance-attribute
The total numeric amount of the refund in the payment currency.
shop_total_adjustment_amount
class-attribute
instance-attribute
The numeric amount of the refund in the shop currency.
buyer_total_adjustment_amount
class-attribute
instance-attribute
The numeric amount of the refund in the buyer currency.
total_fee_adjustment_amount
class-attribute
instance-attribute
The numeric amount of card processing fees associated with a payment adjustment.
create_timestamp
class-attribute
instance-attribute
The transaction's creation date and time, in epoch seconds.
ShopReceiptShipment
dataclass
ShopReceiptShipment(receipt_shipping_id: Optional[int] = None, shipment_notification_timestamp: Optional[int] = None, carrier_name: Optional[str] = None, tracking_code: Optional[str] = None)
Definition: ShopReceiptShipment
Attributes
receipt_shipping_id
class-attribute
instance-attribute
The unique numeric ID of a Shop Receipt Shipment record.
shipment_notification_timestamp
class-attribute
instance-attribute
The time at which Etsy notified the buyer of the shipment event, in epoch seconds.
carrier_name
class-attribute
instance-attribute
The name string for the carrier/company responsible for delivering the shipment.
TransactionReview
dataclass
TransactionReview(shop_id: Optional[int] = None, listing_id: Optional[int] = None, buyer_user_id: Optional[int] = None, rating: Optional[int] = None, review: Optional[str] = None, language: Optional[str] = None, image_url_fullxfull: Optional[str] = None, create_timestamp: Optional[int] = None, update_timestamp: Optional[int] = None)
Definition: TransactionReview
Attributes
listing_id
class-attribute
instance-attribute
The ID of the shop listing that the TransactionReview belongs to.
buyer_user_id
class-attribute
instance-attribute
The numeric ID of the user who was the buyer in this transaction. Note: This field may be absent, depending on the buyer's privacy settings.
rating
class-attribute
instance-attribute
Rating value on scale from 1 to 5
review
class-attribute
instance-attribute
A message left by the author, explaining the feedback.
language
class-attribute
instance-attribute
The language of the TransactionReview
image_url_fullxfull
class-attribute
instance-attribute
The url to a photo provided with the feedback, dimensions fullxfull. Note: This field may be absent, depending on the buyer's privacy settings.
create_timestamp
class-attribute
instance-attribute
The date and time the TransactionReview was created in epoch seconds.
SellerTaxonomyNode
dataclass
SellerTaxonomyNode(id: Optional[int] = None, level: Optional[int] = None, name: Optional[str] = None, parent_id: Optional[int] = None, children: Optional[List[SellerTaxonomyNode]] = None, full_path_taxonomy_ids: Optional[List[int]] = None)
Definition: SellerTaxonomyNode
Attributes
id
class-attribute
instance-attribute
The unique numeric ID of an Etsy taxonomy node, which is a metadata
category for listings organized into the seller taxonomy hierarchy tree.
For example, the shoes taxonomy node (ID: 1429, level: 1) is higher in the
hierarchy than girls' shoes (ID: 1440, level: 2). The taxonomy nodes
assigned to a listing support access to specific standardized product
scales and properties. For example, listings assigned the taxonomy nodes
shoes or girls' shoes support access to the EU shoe size scale with its
associated property names and IDs for EU shoe sizes, such as property
value_id:1394, and name:38.
level
class-attribute
instance-attribute
The integer depth of this taxonomy node in the seller taxonomy tree, with roots at level 0.
name
class-attribute
instance-attribute
The name string for this taxonomy node.
parent_id
class-attribute
instance-attribute
The numeric taxonomy ID of the parent of this node.
children
class-attribute
instance-attribute
An array of taxonomy nodes for all the direct children of this taxonomy node in the seller taxanomy tree.
TaxonomyNodeProperty
dataclass
TaxonomyNodeProperty(property_id: Optional[int] = None, name: Optional[str] = None, display_name: Optional[str] = None, scales: Optional[List[TaxonomyPropertyScale]] = None, is_required: Optional[bool] = None, supports_attributes: Optional[bool] = None, supports_variations: Optional[bool] = None, is_multivalued: Optional[bool] = None, possible_values: Optional[List[TaxonomyPropertyValue]] = None, selected_values: Optional[List[TaxonomyPropertyValue]] = None)
Definition: TaxonomyNodeProperty
Attributes
property_id
class-attribute
instance-attribute
The unique numeric ID of this product property.
name
class-attribute
instance-attribute
The name string for this taxonomy node.
display_name
class-attribute
instance-attribute
The human-readable product property name string.
scales
class-attribute
instance-attribute
A list of available scales.
is_required
class-attribute
instance-attribute
When true, listings assigned eligible taxonomy IDs require this property.
supports_attributes
class-attribute
instance-attribute
When true, you can use this property in listing attributes.
supports_variations
class-attribute
instance-attribute
When true, you can use this property in listing variations.
is_multivalued
class-attribute
instance-attribute
When true, you can assign multiple property values to this property
possible_values
class-attribute
instance-attribute
A list of supported property value strings for this property.
TaxonomyPropertyScale
dataclass
TaxonomyPropertyScale(scale_id: Optional[int] = None, display_name: Optional[str] = None, description: Optional[str] = None)
Definition: TaxonomyPropertyScale
Attributes
scale_id
class-attribute
instance-attribute
The unique numeric ID of a scale.
display_name
class-attribute
instance-attribute
The name string for a scale.
TaxonomyPropertyValue
dataclass
TaxonomyPropertyValue(value_id: Optional[int] = None, name: Optional[str] = None, scale_id: Optional[int] = None, equal_to: Optional[List[int]] = None)
Definition: TaxonomyPropertyValue
Attributes
value_id
class-attribute
instance-attribute
The numeric ID of this property value.
name
class-attribute
instance-attribute
The name string of this property value.
scale_id
class-attribute
instance-attribute
The numeric scale ID of the scale to which this property value belongs.
ShippingCarrier
dataclass
ShippingCarrier(shipping_carrier_id: Optional[int] = None, name: Optional[str] = None, domestic_classes: Optional[List[ShippingCarrierMailClass]] = None, international_classes: Optional[List[ShippingCarrierMailClass]] = None)
Definition: ShippingCarrier
Attributes
shipping_carrier_id
class-attribute
instance-attribute
The numeric ID of this shipping carrier.
name
class-attribute
instance-attribute
The name of this shipping carrier.
domestic_classes
class-attribute
instance-attribute
Set of domestic mail classes of this shipping carrier.
ShippingCarrierMailClass
dataclass
ShopProductionPartners
dataclass
ShopShippingProfiles
dataclass
ShopShippingProfiles(count: Optional[int] = None, results: Optional[List[ShopShippingProfile]] = None)
Definition: ShopShippingProfiles
Offering
dataclass
Offering(price: Optional[float] = None, quantity: Optional[int] = None, is_enabled: Optional[bool] = None)
Definition: Offering
Attributes
quantity
class-attribute
instance-attribute
How many of this product are available?
Product
dataclass
Product(sku: Optional[str] = None, property_values: Optional[List[PropertyValue]] = None, offerings: Optional[List[Offering]] = None)
Definition: Product
Attributes
property_values
class-attribute
instance-attribute
A list of property value entries for this product.
PropertyValue
dataclass
PropertyValue(property_id: Optional[int] = None, value_ids: Optional[List[int]] = None, scale_id: Optional[int] = None, property_name: Optional[str] = None, values: Optional[List[str]] = None)
Definition: PropertyValue
Attributes
property_id
class-attribute
instance-attribute
The unique ID of an Etsy listing property.
value_ids
class-attribute
instance-attribute
An array of unique IDs of multiple Etsy listing property values. For example, if your listing offers different sizes of a product, then the value ID list contains value IDs for each size.
scale_id
class-attribute
instance-attribute
The numeric ID of a single Etsy.com measurement scale. For example, for
shoe size, there are three scale_ids available - UK, US/Canada, and
EU, where US/Canada has scale_id 19.
property_name
class-attribute
instance-attribute
The name of the property, in the requested locale language.
ApplicationListingsInventoryRequest
dataclass
ApplicationListingsInventoryRequest(products: Optional[List[Product]] = None, price_on_property: Optional[List[int]] = None, quantity_on_property: Optional[List[int]] = None, sku_on_property: Optional[List[int]] = None)
Definition: V3ApplicationListingsInventoryRequest
Attributes
products
class-attribute
instance-attribute
A JSON array of products available in a listing, even if only one product. All field names in the JSON blobs are lowercase.
price_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change product prices, if any. For example, if you charge specific prices for different sized products in the same listing, then this array contains the property ID for size.
quantity_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the quantity of the products, if any. For example, if you stock specific quantities of different colored products in the same listing, then this array contains the property ID for color.
sku_on_property
class-attribute
instance-attribute
An array of unique listing property ID integers for the properties that change the product SKU, if any. For example, if you use specific skus for different colored products in the same listing, then this array contains the property ID for color.
ApplicationShopsListingsVariationImagesRequest
dataclass
VariationImage
dataclass
VariationImage(property_id: Optional[int] = None, value_id: Optional[int] = None, image_id: Optional[int] = None)
Definition: VariationImage
EtsyClient
EtsyClient(connection_runtime_url: str, token_provider: Optional[TokenProvider] = None, options: Optional[ConnectorClientOptions] = None)
Bases: ConnectorClientBase
Typed client for etsy connector.
Initialize a EtsyClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
token_provider
|
Optional[TokenProvider]
|
Optional token provider. Defaults to ManagedIdentityTokenProvider. |
None
|
options
|
Optional[ConnectorClientOptions]
|
Optional connector client options. |
None
|
Methods:
ping_async
async
Ping
Check to confirm connectivity to the Etsy API with an application.
payment_ledger_entries_async
async
payment_ledger_entries_async(shop_id: int, min_created: int, max_created: int, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Get a shop payment account ledger's entries
Retrieve the entries of a shop's payment account ledger.
payment_get_entry_id_async
async
Get a payment from a payment account ledger entry ID
Get a Payment from a Payment Account Ledger Entry ID, if applicable.
payment_get_receipt_async
async
Get a payment from a specific receipt
Retrieves a payment from a specific receipt, identified by receipt ID, from a specific shop, identified by shop ID.
payments_get_async
async
Get a list of payments
Retrieves a list of payments from a shop identified by shop ID. You can also filter results using a list of payment IDs.
receipt_get_async
async
Get a receipt
Retrieves a receipt, identified by a receipt ID, from an Etsy shop.
receipts_get_async
async
receipts_get_async(shop_id: int, min_created: Optional[int] = None, max_created: Optional[int] = None, min_last_modified: Optional[int] = None, max_last_modified: Optional[int] = None, limit: Optional[int] = None, offset: Optional[int] = None, was_paid: Optional[bool] = None, was_shipped: Optional[bool] = None) -> dict[str, Any] | None
Get receipts
Requests the shop receipts from a specific shop, unfiltered or filtered by receipt ID range or offset, date, paid, and/or shipped purchases.
receipt_create_shipment_async
async
receipt_create_shipment_async(input: ReceiptCreateShipmentInput, shop_id: int, receipt_id: int) -> dict[str, Any] | None
Create a Shipment Receipt
Submits tracking information for a shop receipt, which creates a shop receipt Shipment entry for the given receipt ID. Each time you successfully submit tracking info, Etsy sends a notification email to the buyer User. When send BCC is true, Etsy sends shipping notifications to the seller as well. When tracking code and carrier name aren't sent, the receipt is marked as shipped only.
transactions_listing_async
async
transactions_listing_async(shop_id: int, listing_id: int, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Retrieve a listing's transactions
Retrieves the list of transactions associated with a listing.
transaction_receipt_async
async
Get a receipt's transaction
Retrieves the list of transactions associated with a specific receipt.
transaction_get_async
async
Get a transaction
Retrieves a transaction by transaction ID.
transaction_get_shop_async
async
transaction_get_shop_async(shop_id: int, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Get a shop's transaction
Retrieves the list of transactions associated with a shop.
reviews_get_async
async
reviews_get_async(shop_id: int, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Get reviews
Retrieves the reviews from a shop given its ID.
shipping_carriers_async
async
Get shipping carriers
Retrieves a list of available shipping carriers and the mail classes associated with them for a given country.
shipping_profiles_async
async
Get shipping profiles
Retrieves a list of shipping profiles available in the specific Etsy shop identified by its shop ID.
shipping_create_profile_async
async
shipping_create_profile_async(input: ShippingCreateProfileInput, shop_id: int) -> dict[str, Any] | None
Create a shipping profile
Creates a new shipping profile. You can pass a country ISO code or a region when creating a shipping profile, but not both. Only one is required. You must pass either a shipping carrier ID and mail class, or both min and max delivery days.
shipping_get_profile_async
async
Get a shipping profile
Retrieves a shipping profile referenced by shipping profile ID.
shipping_delete_profile_async
async
Delete a shipping profile
Deletes a shipping profile by given ID.
shipping_update_profile_async
async
shipping_update_profile_async(input: ShippingUpdateProfileInput, shop_id: int, shipping_profile_id: int) -> dict[str, Any] | None
Update a shipping profile
Changes the settings in a shipping profile.
shipping_get_destinations_async
async
shipping_get_destinations_async(shop_id: int, shipping_profile_id: int, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Get profile destinations by shipping profile
Retrieves a list of shipping destination objects associated with a shipping profile.
shipping_create_destination_async
async
shipping_create_destination_async(input: ShippingCreateDestinationInput, shop_id: int, shipping_profile_id: int) -> dict[str, Any] | None
Create a shipping profile destination
Creates a new shipping destination, which sets the shipping cost, carrier, and class for a destination in a shipping profile. This assigns costs using the currency of the associated shop. Set the destination using either destination country ISO or destination region; destination country ISO and destination region are mutually exclusive - set one or the other. Setting both triggers error 400. If the request sets neither destination country ISO nor destination region, the default destination is everywhere. You must also either assign both a shipping carrier ID and mail class or both min delivery days and max delivery days.
shipping_delete_profile_destination_async
async
shipping_delete_profile_destination_async(shop_id: int, shipping_profile_id: int, shipping_profile_destination_id: int) -> None
Delete a shipping profile destination
Deletes a shipping destination and removes the destination option from every listing that uses the associated shipping profile. A shipping profile requires at least one shipping destination, so this endpoint cannot delete the final shipping destination for any shipping profile. To delete the final shipping destination from a shipping profile, you must delete the entire shipping profile.
shipping_update_profile_destination_async
async
shipping_update_profile_destination_async(input: ShippingUpdateProfileDestinationInput, shop_id: int, shipping_profile_id: str, shipping_profile_destination_id: str) -> dict[str, Any] | None
Update a shipping profile destination
Updates an existing shipping destination, which can set or reassign the shipping cost, carrier, and class for a destination.
shipping_get_profile_upgrades_async
async
shipping_get_profile_upgrades_async(shop_id: int, shipping_profile_id: int) -> dict[str, Any] | None
Get shipping profile upgrades
Retrieves the list of shipping profile upgrades assigned to a specific shipping profile.
shipping_create_upgrade_async
async
shipping_create_upgrade_async(input: ShippingCreateUpgradeInput, shop_id: int, shipping_profile_id: int) -> dict[str, Any] | None
Create a shipping profile upgrade
Creates a new shipping profile upgrade, which can establish a price for a shipping option, such as an alternate carrier or faster delivery.
shipping_delete_profile_upgrade_async
async
shipping_delete_profile_upgrade_async(shop_id: int, shipping_profile_id: int, upgrade_id: int) -> None
Delete a shipping profile upgrade
Deletes a shipping profile upgrade and removes the upgrade option from every listing that uses the associated shipping profile.
shipping_update_profile_upgrade_async
async
shipping_update_profile_upgrade_async(input: ShippingUpdateProfileUpgradeInput, shop_id: int, shipping_profile_id: int, upgrade_id: int) -> dict[str, Any] | None
Update a shipping profile upgrade
Updates a shipping profile upgrade and updates any listings that use the shipping profile.
shop_update_async
async
Update a shop
Update a shop. Assumes that all string parameters are provided in the shop's primary language.
shop_get_by_owner_id_async
async
Get shop by owner ID
Retrieves the shop identified by the shop owner's user ID.
shop_search_async
async
shop_search_async(shop_name: str, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Search shops
Returns a list of shops with the matching name.
shop_get_sections_async
async
Get shop sections
Retrieves the list of shop sections in a specific shop identified by shop ID.
shop_create_section_async
async
Create a shop section
Creates a new section in a specific shop.
user_get_async
async
Get user
Returns user profile for the user identified by a user ID.
shop_get_section_async
async
Get shop section
Retrieves a shop section, referenced by section ID and shop ID.
user_get_address_async
async
Get user's address
Retrieves the user's address. Development for this endpoint is in progress. It will only return a 501 response.
user_get_addresses_async
async
user_get_addresses_async(limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Get user addresses
Retrieve a list of user addresses.
listing_get_taxonomy_nodes_async
async
Get seller taxonomy nodes
Retrieves the full hierarchy tree of seller taxonomy nodes.
listing_get_properties_by_taxonomy_async
async
Get product properties by taxonomy ID
Retrieves a list of product properties, with applicable scales and values, supported for a specific seller taxonomy ID.
listing_get_shop_async
async
listing_get_shop_async(shop_id: int, state: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, sort_on: Optional[str] = None, sort_order: Optional[str] = None) -> dict[str, Any] | None
Get listings by shop
Returns listings that belong to a Shop. Listings can be filtered using the state parameter.
listing_create_async
async
Create a draft listing
Creates a physical draft listing product in a shop on the Etsy channel.
listing_get_async
async
Get a listing
Retrieves a listing record by listing ID.
listing_delete_async
async
Delete a listing
This action deletes a shop listing. A listing can be deleted only if the state is one of the following: SOLD_OUT, DRAFT, EXPIRED, INACTIVE, ACTIVE and is_available or ACTIVE and has seller flags: SUPRESSED (frozen), VACATION, CUSTOM_SHOPS (pattern), SELL_ON_FACEBOOK
listing_get_active_async
async
listing_get_active_async(limit: Optional[int] = None, offset: Optional[int] = None, keywords: Optional[str] = None, sort_on: Optional[str] = None, sort_order: Optional[str] = None, min_price: Optional[float] = None, max_price: Optional[float] = None, taxonomy_id: Optional[int] = None, shop_location: Optional[str] = None) -> dict[str, Any] | None
Get active listings
A list of all active listings on Etsy paginated by their creation date. Without sort order listings will be returned newest-first by default.
listing_get_active_by_shop_async
async
listing_get_active_by_shop_async(shop_id: int, limit: Optional[int] = None, offset: Optional[int] = None, keywords: Optional[str] = None) -> dict[str, Any] | None
Get active listings by shop
Retrieves a list of all active listings on Etsy in a specific shop, paginated by listing creation date.
listing_get_by_id_async
async
Get listings by ID
Allows to query multiple listing IDs at once. Limit 100 IDs maximum per query.
listing_get_featured_async
async
listing_get_featured_async(shop_id: int, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Get featured listings by shop
Retrieves listings associated to a shop that are featured.
listing_delete_property_async
async
Delete a listing property
Deletes a property from a listing.
listing_update_property_async
async
listing_update_property_async(input: ListingUpdatePropertyInput, shop_id: int, listing_id: int, property_id: int) -> dict[str, Any] | None
Update a listing property
Updates or populates the properties list defining product offerings for a listing. Each offering requires both a value and a value ID that are valid for a scale ID assigned to the listing or that you assign to the listing with this request.
listing_get_property_async
async
Get a listing's property (Beta)
Retrieves a listing's property. Development for this endpoint is in progress. It will only return a 501 response.
listing_get_properties_async
async
Get a listing's properties
Returns a list of a listing's properties.
listing_update_async
async
listing_update_async(input: ListingUpdateInput, shop_id: int, listing_id: int) -> dict[str, Any] | None
Update a listing
Updates a listing, identified by a listing ID, for a specific shop identified by a shop ID.
listing_get_by_receipt_async
async
listing_get_by_receipt_async(shop_id: int, receipt_id: int, limit: Optional[int] = None, offset: Optional[int] = None) -> dict[str, Any] | None
Get listings by shop receipt
Gets all listings associated with a receipt.
listing_get_by_section_id_async
async
listing_get_by_section_id_async(shop_id: int, shop_section_ids: str, limit: Optional[int] = None, offset: Optional[int] = None, sort_on: Optional[str] = None, sort_order: Optional[str] = None) -> dict[str, Any] | None
Get listings by shop section ID
Retrieves all the listings from the section of a specific shop.
listing_get_file_async
async
listing_get_file_async(shop_id: int, listing_id: int, listing_file_id: int) -> dict[str, Any] | None
Get a file from a listing
Retrieves a single file associated with the given digital listing. Requesting a file from a physical listing returns an empty result.
listing_delete_file_async
async
Delete a file from listing
When you delete the final file for a digital listing, the listing converts into a physical listing. The response to a delete request returns a list of the remaining file records associated with the given listing.
listing_get_files_async
async
Get all listing files
Retrieves all the files associated with the given digital listing. Requesting files from a physical listing returns an empty result.
listing_upload_async
async
listing_upload_async(input: ListingUploadInput, shop_id: int, listing_id: int) -> dict[str, Any] | None
Upload a listing file
Uploads a new file for a digital listing, or associates an existing file with a specific listing. You must either provide the listing file ID of an existing file, or the name and binary file data for a file to upload. Associating an existing file to a physical listing converts the physical listing into a digital listing, which removes all shipping costs and any product and inventory variations.
listing_get_image_async
async
listing_get_image_async(shop_id: int, listing_id: int, listing_image_id: int) -> dict[str, Any] | None
Get a listing image
Retrieves the references and metadata for a listing image with a specific image ID.
listing_delete_image_async
async
Delete a listing image
Deletes a listing image. A copy of the file remains on our servers, and so a deleted image may be re-associated with the listing without re-uploading the original image.
listing_get_images_async
async
Get a listing's images
Retrieves all listing image resources for a listing with a specific listing ID.
listing_upload_image_async
async
listing_upload_image_async(input: ListingUploadImageInput, shop_id: int, listing_id: int) -> dict[str, Any] | None
Upload a listing image
Uploads or assigns an image to a listing identified by a shop ID with a listing ID. To upload a new image, set the image file as the value for the image parameter. You can assign a previously deleted image to a listing using the deleted image's image ID in the listing image ID parameter. When a request contains both image and listing image ID parameter values, the endpoint uploads the image in the image parameter only.
listing_get_inventory_async
async
listing_get_inventory_async(listing_id: int, includes: Optional[str] = None) -> dict[str, Any] | None
Get a listing's inventory
Retrieves the inventory record for a listing. Listings you did not edit using the Etsy.com inventory tools have no inventory records. This endpoint returns SKU data if you are the owner of the inventory records being fetched.
listing_update_inventory_async
async
listing_update_inventory_async(input: ListingUpdateInventoryInput, listing_id: str) -> dict[str, Any] | None
Update a listing's inventory
Updates the inventory for a listing identified by a listing ID. The update fails if the supplied values for product SKU, offering quantity, and/or price are incompatible with values in on property fields. When setting a price, assign a float equal to amount divided by divisor as specified in the money resource.
listing_get_offering_async
async
listing_get_offering_async(listing_id: int, product_id: int, product_offering_id: int) -> dict[str, Any] | None
Get a listing's offering
Get an offering for a listing.
listing_get_product_async
async
Get a listing's product
Retrieve a listing product by ID.
listing_get_translation_async
async
listing_get_translation_async(shop_id: int, listing_id: int, language: str) -> dict[str, Any] | None
Get a listing's translation
Returns the translation for a listing in the given language.
listing_create_translation_async
async
listing_create_translation_async(input: ListingCreateTranslationInput, shop_id: int, listing_id: int, language: str) -> dict[str, Any] | None
Create a listing translation
Creates a listing translation by listing ID and language.
listing_update_translation_async
async
listing_update_translation_async(input: ListingUpdateTranslationInput, shop_id: int, listing_id: int, language: str) -> dict[str, Any] | None
Update a listing translation
Updates a listing translation by listing ID and language.
listing_get_variation_async
async
Get listing's variation images
Gets all variation images on a listing.