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: int, results: List[PaymentAccountLedgerEntry | Mapping[str, Any]])
Response for Get a shop payment account ledger's entries
Payments
dataclass
ShopReceipt
dataclass
ShopReceipt(receipt_id: int, receipt_type: int, seller_user_id: int, seller_email: str, buyer_user_id: int, buyer_email: str, name: str, first_line: str, second_line: str, city: str, state: str, zip: str, formatted_address: str, country_iso: str, payment_method: str, payment_email: str, message_from_seller: str, message_from_buyer: str, message_from_payment: str, is_paid: bool, is_shipped: bool, create_timestamp: int, update_timestamp: int, gift_message: str, grandtotal: Money | Mapping[str, Any], subtotal: Money | Mapping[str, Any], total_price: Money | Mapping[str, Any], total_shipping_cost: Money | Mapping[str, Any], total_tax_cost: Money | Mapping[str, Any], total_vat_cost: Money | Mapping[str, Any], discount_amt: Money | Mapping[str, Any], gift_wrap_price: Money | Mapping[str, Any], shipments: List[ShopReceiptShipment | Mapping[str, Any]])
Response for Get a receipt
Attributes
receipt_id
instance-attribute
The numeric ID for the receipt associated to this transaction.
receipt_type
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
instance-attribute
The numeric ID for the user (seller) fulfilling the purchase.
seller_email
instance-attribute
The email address string for the seller of the listing.
buyer_user_id
instance-attribute
The numeric ID for the user making the purchase.
buyer_email
instance-attribute
The email address string for the buyer of the listing.
first_line
instance-attribute
The first address line string for the recipient in the shipping address.
second_line
instance-attribute
The optional second address line string for the recipient in the shipping address.
zip
instance-attribute
The zip code string (not necessarily a number) for the recipient in the shipping address.
formatted_address
instance-attribute
The formatted shipping address string for the recipient in the shipping address.
country_iso
instance-attribute
The ISO-3166 alpha-2 country code string for the recipient in the shipping address.
payment_method
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
instance-attribute
The email address string for the email address to which to send payment confirmation
message_from_seller
instance-attribute
An optional message string from the seller.
message_from_buyer
instance-attribute
An optional message string from the buyer.
message_from_payment
instance-attribute
The machine-generated acknowledgement string from the payment system.
create_timestamp
instance-attribute
The receipt's creation time, in epoch seconds.
update_timestamp
instance-attribute
The time of the last update to the receipt, in epoch seconds.
gift_message
instance-attribute
A gift message string the buyer requests delivered with the product.
ShopReceipts
dataclass
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
ShopReceiptTransaction
dataclass
ShopReceiptTransaction(transaction_id: int, title: str, description: str, seller_user_id: int, buyer_user_id: int, create_timestamp: int, paid_timestamp: int, shipped_timestamp: int, quantity: int, listing_image_id: int, receipt_id: int, is_digital: bool, file_data: str, listing_id: int, transaction_type: str, product_id: int, price: Money | Mapping[str, Any], shipping_cost: Money | Mapping[str, Any])
Response for Get a transaction
Attributes
description
instance-attribute
The description string of the listing purchased in this transaction.
seller_user_id
instance-attribute
The numeric user ID for the seller in this transaction.
buyer_user_id
instance-attribute
The numeric user ID for the buyer in this transaction.
create_timestamp
instance-attribute
The transaction's creation date and time, in epoch seconds.
paid_timestamp
instance-attribute
The transaction's paid date and time, in epoch seconds.
shipped_timestamp
instance-attribute
The transaction's shipping date and time, in epoch seconds.
quantity
instance-attribute
The numeric quantity of products purchased in this transaction.
listing_image_id
instance-attribute
The numeric ID of the primary listing image for this transaction.
receipt_id
instance-attribute
The numeric ID for the receipt associated to this transaction.
is_digital
instance-attribute
When true, the transaction recorded the purchase of a digital listing.
file_data
instance-attribute
A string describing the files purchased in this transaction.
listing_id
instance-attribute
The numeric ID for the listing associated to this transaction.
transaction_type
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: int, title: str, user_id: int, min_processing_days: int, max_processing_days: int, processing_days_display_label: str, origin_country_iso: str, is_deleted: bool, shipping_profile_destinations: List[ShopShippingProfileDestination | Mapping[str, Any]], shipping_profile_upgrades: List[ShopShippingProfileUpgrade | Mapping[str, Any]], origin_postal_code: str, *, profile_type: Optional[ProfileType] = None)
Response for Get shipping profiles
Attributes
shipping_profile_id
instance-attribute
The numeric ID of the shipping profile.
min_processing_days
instance-attribute
The minimum number of days for processing the listing.
max_processing_days
instance-attribute
The maximum number of days for processing the listing.
processing_days_display_label
instance-attribute
Translated display label string for processing days.
origin_country_iso
instance-attribute
The ISO code of the country from which the listing ships.
shipping_profile_destinations
instance-attribute
A list of shipping profile destinations available for this shipping profile.
shipping_profile_upgrades
instance-attribute
A list of shipping profile upgrades available for this shipping profile.
ShippingCreateProfileInput
dataclass
ShippingCreateProfileInput(title: str, origin_country_iso: str, primary_cost: float, secondary_cost: float, min_processing_time: int, max_processing_time: int, *, 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
origin_country_iso
instance-attribute
The ISO code of the country from which the listing ships.
primary_cost
instance-attribute
The cost of shipping to this country/region alone, measured in the store's default currency.
secondary_cost
instance-attribute
The cost of shipping to this country/region with another item, measured in the store's default currency.
min_processing_time
instance-attribute
The minimum time required to process to ship listings with this shipping profile.
max_processing_time
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: float, secondary_cost: str, *, 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
instance-attribute
The cost of shipping to this country/region alone, measured in the store's default currency.
secondary_cost
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
mail_class
class-attribute
instance-attribute
mail_class
min_delivery_days
class-attribute
instance-attribute
min_delivery_days
ShopShippingProfileDestination
dataclass
ShopShippingProfileDestination(shipping_profile_destination_id: int, shipping_profile_id: int, origin_country_iso: str, destination_country_iso: str, destination_region: DestinationRegion, primary_cost: Money | Mapping[str, Any], secondary_cost: Money | Mapping[str, Any], shipping_carrier_id: int, mail_class: str, min_delivery_days: int, max_delivery_days: int)
Response for Create a shipping profile destination
Attributes
shipping_profile_destination_id
instance-attribute
The numeric ID of the shipping profile destination in the shipping profile associated with the listing.
shipping_profile_id
instance-attribute
The numeric ID of the shipping profile.
origin_country_iso
instance-attribute
The ISO code of the country from which the listing ships.
destination_country_iso
instance-attribute
The ISO code of the country to which the listing ships. If null, request sets destination to destination_region
shipping_carrier_id
instance-attribute
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date.
mail_class
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
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
primary_cost
class-attribute
instance-attribute
primary_cost
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
mail_class
class-attribute
instance-attribute
mail_class
min_delivery_days
class-attribute
instance-attribute
min_delivery_days
ShopShippingProfileUpgrades
dataclass
ShippingCreateUpgradeInput
dataclass
ShippingCreateUpgradeInput(type_: str, upgrade_name: str, price: float, secondary_price: float, *, 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
instance-attribute
Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority.
secondary_price
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: int, upgrade_id: int, upgrade_name: str, type_: Type, rank: int, language: str, price: Money | Mapping[str, Any], secondary_price: Money | Mapping[str, Any], shipping_carrier_id: int, mail_class: str, min_delivery_days: int, max_delivery_days: int)
Response for Create a shipping profile upgrade
Attributes
shipping_profile_id
instance-attribute
The numeric ID of the base shipping profile.
upgrade_id
instance-attribute
The numeric ID that is associated with a shipping upgrade
upgrade_name
instance-attribute
Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority.
rank
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
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
instance-attribute
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date.
mail_class
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
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: int, user_id: int, shop_name: str, create_date: int, title: str, announcement: str, currency_code: str, is_vacation: bool, vacation_message: str, sale_message: str, digital_sale_message: str, update_date: int, listing_active_count: int, digital_listing_count: int, login_name: str, accepts_custom_requests: bool, policy_welcome: str, policy_payment: str, policy_shipping: str, policy_refunds: str, policy_additional: str, policy_seller_info: str, policy_update_date: int, policy_has_private_receipt_info: bool, has_unstructured_policies: bool, policy_privacy: str, vacation_autoreply: str, url: str, image_url760x100: str, num_favorers: int, languages: List[str], icon_url_fullxfull: str, is_using_structured_policies: bool, has_onboarded_structured_policies: bool, include_dispute_form_link: bool, is_direct_checkout_onboarded: bool, is_calculated_eligible: bool, is_opted_in_to_buyer_promise: bool, is_shop_us_based: bool, transaction_sold_count: int, shipping_from_country_iso: str, shop_location_country_iso: str, review_count: int, review_average: float)
Response for Update a shop
Attributes
create_date
instance-attribute
The date and time this shop was created, in epoch seconds.
announcement
instance-attribute
An announcement string to buyers that displays on the shop's homepage.
currency_code
instance-attribute
The ISO (alphabetic) code for the shop's currency. The shop displays all prices in this currency by default.
vacation_message
instance-attribute
The shop's message string displayed when is_vacation is true.
sale_message
instance-attribute
A message string sent to users who complete a purchase from this shop.
digital_sale_message
instance-attribute
A message string sent to users who purchase a digital item from this shop.
update_date
instance-attribute
The date and time of the last update to the shop, in epoch seconds.
listing_active_count
instance-attribute
The number of active listings in the shop.
digital_listing_count
instance-attribute
The number of digital listings in the shop.
accepts_custom_requests
instance-attribute
When true, the shop accepts customization requests.
policy_welcome
instance-attribute
The shop's policy welcome string (may be blank).
policy_payment
instance-attribute
The shop's payment policy string (may be blank).
policy_shipping
instance-attribute
The shop's shipping policy string (may be blank).
policy_refunds
instance-attribute
The shop's refund policy string (may be blank).
policy_additional
instance-attribute
The shop's additional policies string (may be blank).
policy_seller_info
instance-attribute
The shop's seller infomation string (may be blank).
policy_update_date
instance-attribute
The date and time of the last update to the shop's policies, in epoch seconds.
policy_has_private_receipt_info
instance-attribute
When true, EU receipts display private info.
has_unstructured_policies
instance-attribute
When true, the shop displays additional unstructured policy fields.
policy_privacy
instance-attribute
The shop's privacy policy string (may be blank).
vacation_autoreply
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
instance-attribute
The number of users who marked this shop a favorite.
languages
instance-attribute
A list of language strings for the shop's enrolled languages.
icon_url_fullxfull
instance-attribute
The URL string for this shop's icon image.
is_using_structured_policies
instance-attribute
When true, the shop accepted using structured policies.
has_onboarded_structured_policies
instance-attribute
When true, the shop accepted OR declined after viewing structured policies onboarding.
include_dispute_form_link
instance-attribute
When true, this shop's policies include a link to an EU online dispute form.
is_direct_checkout_onboarded
instance-attribute
When true, the shop has onboarded onto Etsy Payments.
is_calculated_eligible
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
instance-attribute
When true, the shop opted in to buyer promise.
transaction_sold_count
instance-attribute
The total number of sales transactions for this shop
shipping_from_country_iso
instance-attribute
The country iso the shop is shipping from.
shop_location_country_iso
instance-attribute
The country iso where the shop is located.
review_count
instance-attribute
Number of reviews of shop listings in the past year.
Shops
dataclass
ShopSections
dataclass
ShopCreateSectionInput
dataclass
ShopSection
dataclass
Response for Create a shop section
Attributes
shop_section_id
instance-attribute
The numeric ID of a section in a specific Etsy shop.
rank
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
dataclass
User(user_id: int, login_name: str, primary_email: str, first_name: str, last_name: str, create_timestamp: int, referred_by_user_id: int, use_new_inventory_endpoints: bool, is_seller: bool, bio: str, gender: str, birth_month: str, birth_day: str, transaction_buy_count: int, transaction_sold_count: int)
Response for Get user
Attributes
user_id
instance-attribute
The numeric ID of a user. This number is also a valid shop ID for the user's shop.
primary_email
instance-attribute
An email address string for the user's primary email address.
create_timestamp
instance-attribute
The date and time the user created their account, in epoch seconds.
referred_by_user_id
instance-attribute
The numeric ID of the user who referred this user.
use_new_inventory_endpoints
instance-attribute
Deprecated. Always true.
transaction_buy_count
instance-attribute
The number of transactions where the user has bought.
UserAddress
dataclass
UserAddress(user_address_id: int, user_id: int, name: str, first_line: str, second_line: str, city: str, state: str, zip: str, iso_country_code: str, country_name: str, is_default_shipping_address: bool)
Response for Get user's address
Attributes
iso_country_code
instance-attribute
The ISO code of the country in this address.
UserAddresses
dataclass
SellerTaxonomyNodes
dataclass
TaxonomyNodeProperties
dataclass
ShopListings
dataclass
ListingCreateInput
dataclass
ListingCreateInput(quantity: int, title: str, description: str, price: float, who_made: str, taxonomy_id: int, shipping_profile_id: int, *, when_made: Optional[str] = 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
instance-attribute
The positive non-zero number of products available for purchase in the listing.
title
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
instance-attribute
A description string of the product for sale in the listing.
price
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
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
instance-attribute
The numeric taxonomy ID of the listing. The seller manages listing taxonomy IDs for their shop.
shipping_profile_id
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: int, user_id: int, shop_id: int, title: str, description: str, state: State, creation_timestamp: int, ending_timestamp: int, original_creation_timestamp: int, last_modified_timestamp: int, state_timestamp: int, quantity: int, shop_section_id: int, featured_rank: int, url: str, num_favorers: int, non_taxable: bool, is_customizable: bool, is_personalizable: bool, personalization_is_required: bool, personalization_char_count_max: int, personalization_instructions: str, listing_type: bool, tags: List[str], materials: List[str], shipping_profile_id: int, processing_min: int, processing_max: int, who_made: WhoMade, when_made: WhenMade, is_supply: bool, item_weight: float, item_weight_unit: ItemWeightUnit, item_length: float, item_width: float, item_height: float, item_dimensions_unit: ItemDimensionsUnit, is_private: bool, recipient: Recipient, occasion: Occasion, style: List[str], file_data: str, has_variations: bool, should_auto_renew: bool, language: str, price: Money | Mapping[str, Any], taxonomy_id: int)
Response for Create a draft listing
Attributes
listing_id
instance-attribute
The numeric ID for the listing associated to this transaction.
title
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
instance-attribute
A description string of the product for sale in the listing.
creation_timestamp
instance-attribute
The listing's creation time, in epoch seconds.
ending_timestamp
instance-attribute
The listing's expiration time, in epoch seconds.
original_creation_timestamp
instance-attribute
The listing's creation time, in epoch seconds.
last_modified_timestamp
instance-attribute
The time of the last update to the listing, in epoch seconds.
state_timestamp
instance-attribute
The date and time of the last state change of this listing.
quantity
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
instance-attribute
The numeric ID of a section in a specific Etsy shop.
featured_rank
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.
num_favorers
instance-attribute
The number of users who marked this listing a favorite.
non_taxable
instance-attribute
When true, applicable shop tax rates do not apply to this listing at checkout.
is_customizable
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
instance-attribute
When true, this listing is personalizable. The default value is null.
personalization_is_required
instance-attribute
When true, this listing requires personalization. The default value is null.
personalization_char_count_max
instance-attribute
This an integer value representing the maximum length for the personalization message entered by the buyer.
personalization_instructions
instance-attribute
When true, this listing requires personalization. The default value is null.
listing_type
instance-attribute
An enumerated type string that indicates whether the listing is physical or a digital download.
tags
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
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
instance-attribute
The numeric ID of the shipping profile associated with the listing.
processing_min
instance-attribute
The minimum number of days required to process this listing. Default value is null.
processing_max
instance-attribute
The maximum number of days required to process this listing. Default value is null.
is_supply
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
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
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
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
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
instance-attribute
When true, this is a private listing intendend for a specific buyer and hidden from shop view.
style
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
instance-attribute
A string describing the files attached to a digital listing.
should_auto_renew
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
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
Update a listing property
Attributes
values
instance-attribute
An array of value strings for multiple Etsy listing property values.
ListingPropertyValue
dataclass
ListingPropertyValue(property_id: int, property_name: str, scale_id: int, scale_name: str, value_ids: List[int], values: List[str])
Response for Update a listing property
Attributes
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: int, listing_id: int, rank: int, filename: str, filesize: str, size_bytes: int, filetype: str, create_timestamp: int)
Response for Get a file from a listing
Attributes
listing_file_id
instance-attribute
The unique numeric ID of a file associated with a digital listing.
listing_id
instance-attribute
The numeric ID for the listing associated to this transaction.
rank
instance-attribute
The numeric index of the display order position of this file in the listing, starting at 1.
filename
instance-attribute
The file name string for a file associated with a digital listing.
filesize
instance-attribute
A human-readable format size string for the size of a file.
size_bytes
instance-attribute
A number indicating the size of a file, measured in bytes.
ShopListingFiles
dataclass
ListingUploadInput
dataclass
ListingUploadInput(file: str, *, listing_file_id: Optional[int] = 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: int, listing_image_id: int, hex_code: str, red: int, green: int, blue: int, hue: int, saturation: int, brightness: int, is_black_and_white: bool, creation_tsz: int, rank: int, url75x75: str, url170x135: str, url570x_n: str, url_fullxfull: str, full_height: int, full_width: int)
Response for Get a listing image
Attributes
listing_id
instance-attribute
The numeric ID for the listing associated to this transaction.
listing_image_id
instance-attribute
The numeric ID of the primary listing image for this transaction.
hex_code
instance-attribute
The webhex string for the image's average color, in webhex notation.
red
instance-attribute
The numeric red value equal to the image's average red value, from 0-255 (RGB color).
green
instance-attribute
The numeric red value equal to the image's average red value, from 0-255 (RGB color).
blue
instance-attribute
The numeric red value equal to the image's average red value, from 0-255 (RGB color).
hue
instance-attribute
The numeric hue equal to the image's average hue, from 0-360 (HSV color).
saturation
instance-attribute
The numeric saturation equal to the image's average saturation, from 0-100 (HSV color).
brightness
instance-attribute
The numeric brightness equal to the image's average brightness, from 0-100 (HSV color).
is_black_and_white
instance-attribute
When true, the image is in black & white.
creation_tsz
instance-attribute
The listing image's creation time, in epoch seconds.
rank
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
instance-attribute
The url string for the full-size image, up to 3000 pixels in each dimension.
full_height
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: List[ListingInventoryProduct | Mapping[str, Any]], price_on_property: List[int], quantity_on_property: List[int], sku_on_property: List[int], listing: ShopListing | Mapping[str, Any])
Response for Get a listing's inventory
Attributes
products
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
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
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
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: str, *, 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
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: List[ListingInventoryProduct | Mapping[str, Any]], price_on_property: List[int], quantity_on_property: List[int], sku_on_property: List[int])
Response for Update a listing's inventory
Attributes
products
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
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
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
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: int, quantity: int, is_enabled: bool, is_deleted: bool, price: Money | Mapping[str, Any])
Response for Get a listing's offering
Attributes
ListingInventoryProduct
dataclass
ListingInventoryProduct(product_id: int, sku: str, is_deleted: bool, offerings: List[ListingInventoryProductOffering | Mapping[str, Any]], property_values: List[ListingPropertyValue | Mapping[str, Any]])
Response for Get a listing's product
Attributes
product_id
instance-attribute
The numeric ID for a specific product purchased from a listing.
offerings
instance-attribute
A list of product offering entries for this product.
ListingTranslation
dataclass
Response for Get a listing's translation
Attributes
language
instance-attribute
The IETF language tag (e.g. 'fr') for the language of this translation.
ListingCreateTranslationInput
dataclass
Create a listing translation
Attributes
ListingUpdateTranslationInput
dataclass
Update a listing translation
Attributes
ListingVariationImages
dataclass
ListingUpdateVariationInput
dataclass
Money
dataclass
ErrorSchema
dataclass
ShopListingWithAssociations
dataclass
ShopListingWithAssociations(listing_id: int, user_id: int, shop_id: int, title: str, description: str, state: State, creation_timestamp: int, ending_timestamp: int, original_creation_timestamp: int, last_modified_timestamp: int, state_timestamp: int, quantity: int, shop_section_id: int, featured_rank: int, url: str, num_favorers: int, non_taxable: bool, is_customizable: bool, is_personalizable: bool, personalization_is_required: bool, personalization_char_count_max: int, personalization_instructions: str, listing_type: bool, tags: List[str], materials: List[str], shipping_profile_id: int, processing_min: int, processing_max: int, who_made: WhoMade, when_made: WhenMade, is_supply: bool, item_weight: float, item_weight_unit: ItemWeightUnit, item_length: float, item_width: float, item_height: float, item_dimensions_unit: ItemDimensionsUnit, is_private: bool, recipient: Recipient, occasion: Occasion, style: List[str], file_data: str, has_variations: bool, should_auto_renew: bool, language: str, price: Money | Mapping[str, Any], taxonomy_id: int, user: User | Mapping[str, Any], shop: Shop | Mapping[str, Any], images: List[ListingImage | Mapping[str, Any]], production_partners: List[ShopProductionPartner | Mapping[str, Any]])
Definition: ShopListingWithAssociations
Attributes
listing_id
instance-attribute
The numeric ID for the listing associated to this transaction.
title
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
instance-attribute
A description string of the product for sale in the listing.
creation_timestamp
instance-attribute
The listing's creation time, in epoch seconds.
ending_timestamp
instance-attribute
The listing's expiration time, in epoch seconds.
original_creation_timestamp
instance-attribute
The listing's creation time, in epoch seconds.
last_modified_timestamp
instance-attribute
The time of the last update to the listing, in epoch seconds.
state_timestamp
instance-attribute
The date and time of the last state change of this listing.
quantity
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
instance-attribute
The numeric ID of a section in a specific Etsy shop.
featured_rank
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.
num_favorers
instance-attribute
The number of users who marked this listing a favorite.
non_taxable
instance-attribute
When true, applicable shop tax rates do not apply to this listing at checkout.
is_customizable
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
instance-attribute
When true, this listing is personalizable. The default value is null.
personalization_is_required
instance-attribute
When true, this listing requires personalization. The default value is null.
personalization_char_count_max
instance-attribute
This an integer value representing the maximum length for the personalization message entered by the buyer.
personalization_instructions
instance-attribute
When true, this listing requires personalization. The default value is null.
listing_type
instance-attribute
An enumerated type string that indicates whether the listing is physical or a digital download.
tags
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
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
instance-attribute
The numeric ID of the shipping profile associated with the listing.
processing_min
instance-attribute
The minimum number of days required to process this listing. Default value is null.
processing_max
instance-attribute
The maximum number of days required to process this listing. Default value is null.
is_supply
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
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
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
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
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
instance-attribute
When true, this is a private listing intendend for a specific buyer and hidden from shop view.
style
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
instance-attribute
A string describing the files attached to a digital listing.
should_auto_renew
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
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
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
instance-attribute
Represents a list of listing image resources, each of which contains the reference URLs and metadata for an image
ShopProductionPartner
dataclass
Definition: ShopProductionPartner
Attributes
production_partner_id
instance-attribute
The numeric ID of a production partner.
ListingVariationImage
dataclass
PaymentAccountLedgerEntry
dataclass
PaymentAccountLedgerEntry(entry_id: int, ledger_id: int, sequence_number: int, amount: int, currency: str, description: str, balance: int, create_date: int)
Definition: PaymentAccountLedgerEntry
Attributes
sequence_number
instance-attribute
The sequence allows ledger entries to be sorted chronologically. The higher the sequence, the more recent the entry.
description
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
instance-attribute
The amount of money in the shop's ledger the moment after this entry was applied.
Payment
dataclass
Payment(payment_id: int, buyer_user_id: int, shop_id: int, receipt_id: int, amount_gross: Money | Mapping[str, Any], amount_fees: Money | Mapping[str, Any], amount_net: Money | Mapping[str, Any], currency: str, shop_currency: str, buyer_currency: str, shipping_user_id: int, shipping_address_id: int, billing_address_id: int, status: str, shipped_timestamp: int, create_timestamp: int, update_timestamp: int, payment_adjustments: List[PaymentAdjustment | Mapping[str, Any]], *, posted_gross: Optional[Money | Mapping[str, Any]] = None, posted_fees: Optional[Money | Mapping[str, Any]] = None, posted_net: Optional[Money | Mapping[str, Any]] = None, adjusted_gross: Optional[Money | Mapping[str, Any]] = None, adjusted_fees: Optional[Money | Mapping[str, Any]] = None, adjusted_net: Optional[Money | Mapping[str, Any]] = None)
Definition: Payment
Attributes
payment_id
instance-attribute
A unique numeric ID for a payment to a specific Etsy shop.
buyer_user_id
instance-attribute
The numeric ID for the user who paid the purchase.
receipt_id
instance-attribute
The numeric ID for the receipt associated to this transaction.
currency
instance-attribute
The ISO (alphabetic) code string for the payment's currency.
shop_currency
instance-attribute
The ISO (alphabetic) code for the shop's currency. The shop displays all prices in this currency by default.
shipping_user_id
instance-attribute
The numeric ID of the user to which the seller ships the order.
shipping_address_id
instance-attribute
The numeric id identifying the shipping address.
billing_address_id
instance-attribute
The numeric ID identifying the billing address of the buyer.
status
instance-attribute
A string indicating the current status of the payment, most commonly settled or authed.
shipped_timestamp
instance-attribute
The transaction's shipping date and time, in epoch seconds.
create_timestamp
instance-attribute
The transaction's creation date and time, in epoch seconds.
update_timestamp
instance-attribute
The date and time of the last change to the payment adjustment in epoch seconds.
PaymentAdjustment
dataclass
PaymentAdjustment(payment_adjustment_id: int, payment_id: int, status: str, is_success: bool, user_id: int, reason_code: str, total_adjustment_amount: int, shop_total_adjustment_amount: int, buyer_total_adjustment_amount: int, total_fee_adjustment_amount: int, create_timestamp: int, update_timestamp: int)
Definition: PaymentAdjustment
Attributes
payment_adjustment_id
instance-attribute
The numeric ID for a payment adjustment.
payment_id
instance-attribute
A unique numeric ID for a payment to a specific Etsy shop.
is_success
instance-attribute
When true, the payment adjustment was or is likely to complete successfully.
user_id
instance-attribute
The numeric ID for the user (seller) fulfilling the purchase.
reason_code
instance-attribute
A human-readable string describing the reason for the refund.
total_adjustment_amount
instance-attribute
The total numeric amount of the refund in the payment currency.
shop_total_adjustment_amount
instance-attribute
The numeric amount of the refund in the shop currency.
buyer_total_adjustment_amount
instance-attribute
The numeric amount of the refund in the buyer currency.
total_fee_adjustment_amount
instance-attribute
The numeric amount of card processing fees associated with a payment adjustment.
create_timestamp
instance-attribute
The transaction's creation date and time, in epoch seconds.
ShopReceiptShipment
dataclass
ShopReceiptShipment(receipt_shipping_id: int, shipment_notification_timestamp: int, carrier_name: str, tracking_code: str)
Definition: ShopReceiptShipment
Attributes
receipt_shipping_id
instance-attribute
The unique numeric ID of a Shop Receipt Shipment record.
shipment_notification_timestamp
instance-attribute
The time at which Etsy notified the buyer of the shipment event, in epoch seconds.
carrier_name
instance-attribute
The name string for the carrier/company responsible for delivering the shipment.
TransactionReview
dataclass
TransactionReview(shop_id: int, listing_id: int, buyer_user_id: int, rating: int, review: str, language: str, image_url_fullxfull: str, create_timestamp: int, update_timestamp: int)
Definition: TransactionReview
Attributes
listing_id
instance-attribute
The ID of the shop listing that the TransactionReview belongs to.
buyer_user_id
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.
image_url_fullxfull
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
instance-attribute
The date and time the TransactionReview was created in epoch seconds.
SellerTaxonomyNode
dataclass
SellerTaxonomyNode(id: int, level: int, name: str, children: List[SellerTaxonomyNode | Mapping[str, Any]], full_path_taxonomy_ids: List[int], *, parent_id: Optional[int] = None)
Definition: SellerTaxonomyNode
Attributes
id
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
instance-attribute
The integer depth of this taxonomy node in the seller taxonomy tree, with roots at level 0.
parent_id
class-attribute
instance-attribute
The numeric taxonomy ID of the parent of this node.
children
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: int, name: str, display_name: str, scales: List[TaxonomyPropertyScale | Mapping[str, Any]], is_required: bool, supports_attributes: bool, supports_variations: bool, is_multivalued: bool, possible_values: List[TaxonomyPropertyValue | Mapping[str, Any]], selected_values: List[TaxonomyPropertyValue | Mapping[str, Any]])
Definition: TaxonomyNodeProperty
Attributes
scales
instance-attribute
A list of available scales.
is_required
instance-attribute
When true, listings assigned eligible taxonomy IDs require this property.
supports_attributes
instance-attribute
When true, you can use this property in listing attributes.
supports_variations
instance-attribute
When true, you can use this property in listing variations.
is_multivalued
instance-attribute
When true, you can assign multiple property values to this property
possible_values
instance-attribute
A list of supported property value strings for this property.
TaxonomyPropertyScale
dataclass
TaxonomyPropertyValue
dataclass
Definition: TaxonomyPropertyValue
Attributes
scale_id
instance-attribute
The numeric scale ID of the scale to which this property value belongs.
ShippingCarrier
dataclass
ShippingCarrier(shipping_carrier_id: int, name: str, domestic_classes: List[ShippingCarrierMailClass | Mapping[str, Any]], international_classes: List[ShippingCarrierMailClass | Mapping[str, Any]])
Definition: ShippingCarrier
Attributes
shipping_carrier_id
instance-attribute
The numeric ID of this shipping carrier.
domestic_classes
instance-attribute
Set of domestic mail classes of this shipping carrier.
ShippingCarrierMailClass
dataclass
ShopProductionPartners
dataclass
ShopShippingProfiles
dataclass
Definition: ShopShippingProfiles
Offering
dataclass
Offering(*, price: Optional[float] = None, quantity: Optional[int] = None, is_enabled: Optional[bool] = None)
Definition: Offering
Attributes
price
class-attribute
instance-attribute
The price of the product.
quantity
class-attribute
instance-attribute
How many of this product are available?
Product
dataclass
Product(*, sku: Optional[str] = None, property_values: Optional[List[PropertyValue | Mapping[str, Any]]] = None, offerings: Optional[List[Offering | Mapping[str, Any]]] = None)
Definition: 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: List[Product | Mapping[str, Any]], *, 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
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, credential: AsyncTokenCredential | AzureKeyCredential, *, max_retry_attempts: int = 3, timeout: float = 30.0, use_exponential_backoff: bool = True, initial_retry_delay_seconds: float = 0.5, maximum_retry_delay_seconds: float = 120.0, retry_jitter_factor: float = 0.1, retry_unsafe_http_methods: bool = False, transport: Optional[AsyncHttpTransport] = None, **kwargs: Any)
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 |
credential
|
AsyncTokenCredential | AzureKeyCredential
|
Caller-owned Azure Core credential. |
required |
max_retry_attempts
|
int
|
The maximum number of request attempts. |
3
|
timeout
|
float
|
The network timeout in seconds for each request. The value configures Azure Core retry and transport deadlines. Nonpositive values disable SDK and transport deadlines. |
30.0
|
use_exponential_backoff
|
bool
|
Whether retries use exponential backoff. |
True
|
initial_retry_delay_seconds
|
float
|
The initial retry delay in seconds. |
0.5
|
maximum_retry_delay_seconds
|
float
|
The maximum retry delay in seconds. |
120.0
|
retry_jitter_factor
|
float
|
The jitter fraction applied to retry delays. |
0.1
|
retry_unsafe_http_methods
|
bool
|
Whether unsafe HTTP methods may be retried. |
False
|
transport
|
Optional[AsyncHttpTransport]
|
Optional Azure Core async HTTP transport closed by the client through its asynchronous lifecycle. |
None
|
**kwargs
|
Any
|
Optional Azure Core pipeline policy settings. |
{}
|
Methods:
ping
async
ping(*, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Ping
Check to confirm connectivity to the Etsy API with an application.
Swagger operation ID: Ping.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
payment_ledger_entries
async
payment_ledger_entries(shop_id: int, min_created: int, max_created: int, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a shop payment account ledger's entries
Retrieve the entries of a shop's payment account ledger.
Swagger operation ID: PaymentLedgerEntries.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
min_created
|
int
|
The earliest unix timestamp for when a record was created. |
required |
max_created
|
int
|
The latest unix timestamp for when a record was created. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
payment_get_entry_id
async
payment_get_entry_id(shop_id: int, ledger_entry_ids: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a payment from a payment account ledger entry ID
Get a Payment from a Payment Account Ledger Entry ID, if applicable.
Swagger operation ID: PaymentGetEntryID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
ledger_entry_ids
|
str
|
Array of integers. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
payment_get_receipt
async
payment_get_receipt(shop_id: int, receipt_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
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.
Swagger operation ID: PaymentGetReceipt.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
receipt_id
|
str
|
The numeric ID for the receipt associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
payments_get
async
payments_get(shop_id: int, payment_ids: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
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.
Swagger operation ID: PaymentsGet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
payment_ids
|
str
|
A comma-separated array of Payment IDs numbers. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
receipt_get
async
receipt_get(shop_id: int, receipt_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a receipt
Retrieves a receipt, identified by a receipt ID, from an Etsy shop.
Swagger operation ID: ReceiptGet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
receipt_id
|
int
|
The numeric ID for the receipt associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
receipts_get
async
receipts_get(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, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = 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.
Swagger operation ID: ReceiptsGet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
min_created
|
Optional[int]
|
The earliest unix timestamp for when a record was created. |
None
|
max_created
|
Optional[int]
|
The latest unix timestamp for when a record was created. |
None
|
min_last_modified
|
Optional[int]
|
The earliest unix timestamp for when a record last changed. |
None
|
max_last_modified
|
Optional[int]
|
The latest unix timestamp for when a record last changed. |
None
|
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
was_paid
|
Optional[bool]
|
When true, the seller received payment for the product(s) in this receipt. |
None
|
was_shipped
|
Optional[bool]
|
When true, the seller shipped the product(s) in this receipt. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
receipt_create_shipment
async
receipt_create_shipment(input: ReceiptCreateShipmentInput | Mapping[str, Any], shop_id: int, receipt_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ReceiptCreateShipment.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ReceiptCreateShipmentInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
receipt_id
|
int
|
The receipt to submit tracking for. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
transactions_listing
async
transactions_listing(shop_id: int, listing_id: int, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Retrieve a listing's transactions
Retrieves the list of transactions associated with a listing.
Swagger operation ID: TransactionsListing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
transaction_receipt
async
transaction_receipt(shop_id: int, receipt_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a receipt's transaction
Retrieves the list of transactions associated with a specific receipt.
Swagger operation ID: TransactionReceipt.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
receipt_id
|
int
|
The numeric ID for the receipt associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
transaction_get
async
transaction_get(shop_id: int, transaction_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a transaction
Retrieves a transaction by transaction ID.
Swagger operation ID: TransactionGet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
transaction_id
|
int
|
The unique numeric ID for a transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
transaction_get_shop
async
transaction_get_shop(shop_id: int, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a shop's transaction
Retrieves the list of transactions associated with a shop.
Swagger operation ID: TransactionGetShop.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
reviews_get
async
reviews_get(shop_id: int, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get reviews
Retrieves the reviews from a shop given its ID.
Swagger operation ID: ReviewsGet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_carriers
async
shipping_carriers(origin_country_iso: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get shipping carriers
Retrieves a list of available shipping carriers and the mail classes associated with them for a given country.
Swagger operation ID: ShippingCarriers.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
origin_country_iso
|
str
|
The ISO code of the country from which the listing ships. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_profiles
async
shipping_profiles(shop_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get shipping profiles
Retrieves a list of shipping profiles available in the specific Etsy shop identified by its shop ID.
Swagger operation ID: ShippingProfiles.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_create_profile
async
shipping_create_profile(input: ShippingCreateProfileInput | Mapping[str, Any], shop_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ShippingCreateProfile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShippingCreateProfileInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_get_profile
async
shipping_get_profile(shop_id: int, shipping_profile_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> None
Get a shipping profile
Retrieves a shipping profile referenced by shipping profile ID.
Swagger operation ID: ShippingGetProfile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_delete_profile
async
shipping_delete_profile(shop_id: int, shipping_profile_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Delete a shipping profile
Deletes a shipping profile by given ID.
Swagger operation ID: ShippingDeleteProfile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_update_profile
async
shipping_update_profile(input: ShippingUpdateProfileInput | Mapping[str, Any], shop_id: int, shipping_profile_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update a shipping profile
Changes the settings in a shipping profile.
Swagger operation ID: ShippingUpdateProfile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShippingUpdateProfileInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_get_destinations
async
shipping_get_destinations(shop_id: int, shipping_profile_id: int, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get profile destinations by shipping profile
Retrieves a list of shipping destination objects associated with a shipping profile.
Swagger operation ID: ShippingGetDestinations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_create_destination
async
shipping_create_destination(input: ShippingCreateDestinationInput | Mapping[str, Any], shop_id: int, shipping_profile_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ShippingCreateDestination.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShippingCreateDestinationInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_delete_profile_destination
async
shipping_delete_profile_destination(shop_id: int, shipping_profile_id: int, shipping_profile_destination_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ShippingDeleteProfileDestination.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
shipping_profile_destination_id
|
int
|
The numeric ID of the shipping profile destination in the shipping profile associated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_update_profile_destination
async
shipping_update_profile_destination(input: ShippingUpdateProfileDestinationInput | Mapping[str, Any], shop_id: int, shipping_profile_id: str, shipping_profile_destination_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ShippingUpdateProfileDestination.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShippingUpdateProfileDestinationInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
str
|
The numeric ID of the shipping profile associated with the listing. |
required |
shipping_profile_destination_id
|
str
|
The numeric ID of the shipping profile destinationassociated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_get_profile_upgrades
async
shipping_get_profile_upgrades(shop_id: int, shipping_profile_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get shipping profile upgrades
Retrieves the list of shipping profile upgrades assigned to a specific shipping profile.
Swagger operation ID: ShippingGetProfileUpgrades.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_create_upgrade
async
shipping_create_upgrade(input: ShippingCreateUpgradeInput | Mapping[str, Any], shop_id: int, shipping_profile_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ShippingCreateUpgrade.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShippingCreateUpgradeInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_delete_profile_upgrade
async
shipping_delete_profile_upgrade(shop_id: int, shipping_profile_id: int, upgrade_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ShippingDeleteProfileUpgrade.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile. |
required |
upgrade_id
|
int
|
The numeric ID that is associated with a shipping upgrade. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shipping_update_profile_upgrade
async
shipping_update_profile_upgrade(input: ShippingUpdateProfileUpgradeInput | Mapping[str, Any], shop_id: int, shipping_profile_id: int, upgrade_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update a shipping profile upgrade
Updates a shipping profile upgrade and updates any listings that use the shipping profile.
Swagger operation ID: ShippingUpdateProfileUpgrade.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShippingUpdateProfileUpgradeInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shipping_profile_id
|
int
|
The numeric ID of the shipping profile associated with the listing. |
required |
upgrade_id
|
int
|
The numeric ID that is associated with a shipping upgrade. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shop_update
async
shop_update(input: ShopUpdateInput | Mapping[str, Any], shop_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update a shop
Update a shop. Assumes that all string parameters are provided in the shop's primary language.
Swagger operation ID: ShopUpdate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShopUpdateInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shop_get_by_owner_id
async
shop_get_by_owner_id(user_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get shop by owner ID
Retrieves the shop identified by the shop owner's user ID.
Swagger operation ID: ShopGetByOwnerID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
user_id
|
str
|
The numeric user ID of the user who owns this shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shop_search
async
shop_search(shop_name: str, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Search shops
Returns a list of shops with the matching name.
Swagger operation ID: ShopSearch.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_name
|
str
|
The shop's name string. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shop_get_sections
async
shop_get_sections(shop_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get shop sections
Retrieves the list of shop sections in a specific shop identified by shop ID.
Swagger operation ID: ShopGetSections.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shop_create_section
async
shop_create_section(input: ShopCreateSectionInput | Mapping[str, Any], shop_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Create a shop section
Creates a new section in a specific shop.
Swagger operation ID: ShopCreateSection.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ShopCreateSectionInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
user_get
async
user_get(user_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get user
Returns user profile for the user identified by a user ID.
Swagger operation ID: UserGet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
user_id
|
int
|
The unique positive non-zero numeric ID for an user. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
shop_get_section
async
shop_get_section(shop_id: int, shop_section_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get shop section
Retrieves a shop section, referenced by section ID and shop ID.
Swagger operation ID: ShopGetSection.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shop_section_id
|
int
|
The numeric ID of a section in a specific Etsy shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
user_get_address
async
user_get_address(user_address_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get user's address
Retrieves the user's address. Development for this endpoint is in progress. It will only return a 501 response.
Swagger operation ID: UserGetAddress.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
user_address_id
|
int
|
The numeric ID of the user's address. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
user_get_addresses
async
user_get_addresses(*, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get user addresses
Retrieve a list of user addresses.
Swagger operation ID: UserGetAddresses.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_taxonomy_nodes
async
listing_get_taxonomy_nodes(*, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get seller taxonomy nodes
Retrieves the full hierarchy tree of seller taxonomy nodes.
Swagger operation ID: ListingGetTaxonomyNodes.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_properties_by_taxonomy
async
listing_get_properties_by_taxonomy(taxonomy_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get product properties by taxonomy ID
Retrieves a list of product properties, with applicable scales and values, supported for a specific seller taxonomy ID.
Swagger operation ID: ListingGetPropertiesByTaxonomy.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
taxonomy_id
|
str
|
The unique numeric ID of an Etsy taxonomy node, which is a metadata category for listings organized into the seller taxonomy hierarchy tree. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_shop
async
listing_get_shop(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, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get listings by shop
Returns listings that belong to a Shop. Listings can be filtered using the state parameter.
Swagger operation ID: ListingGetShop.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
state
|
Optional[str]
|
An enumerated string from any of: active or inactive. |
None
|
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
sort_on
|
Optional[str]
|
The value to sort a search result of listings on. |
None
|
sort_order
|
Optional[str]
|
The ascending(up) or descending(down) order to sort listings by. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_create
async
listing_create(input: ListingCreateInput | Mapping[str, Any], shop_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Create a draft listing
Creates a physical draft listing product in a shop on the Etsy channel.
Swagger operation ID: ListingCreate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingCreateInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get
async
listing_get(listing_id: int, *, includes: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> None
Get a listing
Retrieves a listing record by listing ID.
Swagger operation ID: ListingGet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
includes
|
Optional[str]
|
An enumerated string that attaches a valid association. Acceptable inputs are 'shop', 'images' and 'user'. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_delete
async
listing_delete(listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> None
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
Swagger operation ID: ListingDelete.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_active
async
listing_get_active(*, 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, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = 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.
Swagger operation ID: ListingGetActive.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
keywords
|
Optional[str]
|
Search term or phrase that must appear in all results. |
None
|
sort_on
|
Optional[str]
|
The value to sort a search result of listings on. NOTE: sort on only works when combined with one of the search options (keywords, region, etc.). |
None
|
sort_order
|
Optional[str]
|
The ascending(up) or descending(down) order to sort listings by. NOTE: sort_order only works when combined with one of the search options (keywords, region, etc.). |
None
|
min_price
|
Optional[float]
|
The minimum price of listings to be returned by a search result. |
None
|
max_price
|
Optional[float]
|
The maximum price of listings to be returned by a search result. |
None
|
taxonomy_id
|
Optional[int]
|
The numeric taxonomy ID of the listing. The seller manages listing taxonomy IDs for their shop. |
None
|
shop_location
|
Optional[str]
|
Filters by shop location. If location cannot be parsed, Etsy responds with an error. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_active_by_shop
async
listing_get_active_by_shop(shop_id: int, *, limit: Optional[int] = None, offset: Optional[int] = None, keywords: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = 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.
Swagger operation ID: ListingGetActiveByShop.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
keywords
|
Optional[str]
|
Search term or phrase that must appear in all results. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_by_id
async
listing_get_by_id(listing_ids: str, *, includes: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get listings by ID
Allows to query multiple listing IDs at once. Limit 100 IDs maximum per query.
Swagger operation ID: ListingGetByID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
listing_ids
|
str
|
The array of numeric IDs for the listings in a specific Etsy shop. |
required |
includes
|
Optional[str]
|
An enumerated string that attaches a valid association. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_featured
async
listing_get_featured(shop_id: int, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get featured listings by shop
Retrieves listings associated to a shop that are featured.
Swagger operation ID: ListingGetFeatured.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_delete_property
async
listing_delete_property(shop_id: int, listing_id: int, property_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> None
Delete a listing property
Deletes a property from a listing.
Swagger operation ID: ListingDeleteProperty.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
property_id
|
int
|
The unique ID of an Etsy listing property. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_update_property
async
listing_update_property(input: ListingUpdatePropertyInput | Mapping[str, Any], shop_id: int, listing_id: int, property_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ListingUpdateProperty.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingUpdatePropertyInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
property_id
|
int
|
The unique ID of an Etsy listing property. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_property
async
listing_get_property(listing_id: int, property_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
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.
Swagger operation ID: ListingGetProperty.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
property_id
|
int
|
The unique ID of an Etsy listing property. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_properties
async
listing_get_properties(shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a listing's properties
Returns a list of a listing's properties.
Swagger operation ID: ListingGetProperties.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_update
async
listing_update(input: ListingUpdateInput | Mapping[str, Any], shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update a listing
Updates a listing, identified by a listing ID, for a specific shop identified by a shop ID.
Swagger operation ID: ListingUpdate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingUpdateInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_by_receipt
async
listing_get_by_receipt(shop_id: int, receipt_id: int, *, limit: Optional[int] = None, offset: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get listings by shop receipt
Gets all listings associated with a receipt.
Swagger operation ID: ListingGetByReceipt.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The numeric ID for the receipt associated to this transaction. |
required |
receipt_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_by_section_id
async
listing_get_by_section_id(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, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get listings by shop section ID
Retrieves all the listings from the section of a specific shop.
Swagger operation ID: ListingGetBySectionID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
shop_section_ids
|
str
|
A array of numeric IDs for all sections in a specific Etsy shop. |
required |
limit
|
Optional[int]
|
The maximum number of results to return. |
None
|
offset
|
Optional[int]
|
The number of records to skip before selecting the first result. |
None
|
sort_on
|
Optional[str]
|
The value to sort a search result of listings on. |
None
|
sort_order
|
Optional[str]
|
The ascending(up) or descending(down) order to sort listings by. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_file
async
listing_get_file(shop_id: int, listing_id: int, listing_file_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ListingGetFile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
listing_file_id
|
int
|
The unique numeric ID of a file associated with a digital listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_delete_file
async
listing_delete_file(shop_id: int, listing_id: int, listing_file_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> None
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.
Swagger operation ID: ListingDeleteFile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
listing_file_id
|
int
|
The unique numeric ID of a file associated with a digital listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_files
async
listing_get_files(shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get all listing files
Retrieves all the files associated with the given digital listing. Requesting files from a physical listing returns an empty result.
Swagger operation ID: ListingGetFiles.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
listing_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_upload
async
listing_upload(input: ListingUploadInput | Mapping[str, Any], shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ListingUpload.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingUploadInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_image
async
listing_get_image(shop_id: int, listing_id: int, listing_image_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a listing image
Retrieves the references and metadata for a listing image with a specific image ID.
Swagger operation ID: ListingGetImage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
listing_image_id
|
int
|
The numeric ID of the primary listing image for this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_delete_image
async
listing_delete_image(shop_id: int, listing_id: int, listing_image_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> None
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.
Swagger operation ID: ListingDeleteImage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
listing_image_id
|
int
|
The numeric ID of the primary listing image for this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
The operation completes without a response body. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_images
async
listing_get_images(shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a listing's images
Retrieves all listing image resources for a listing with a specific listing ID.
Swagger operation ID: ListingGetImages.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_upload_image
async
listing_upload_image(input: ListingUploadImageInput | Mapping[str, Any], shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ListingUploadImage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingUploadImageInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_inventory
async
listing_get_inventory(listing_id: int, *, includes: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = 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.
Swagger operation ID: ListingGetInventory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
includes
|
Optional[str]
|
An enumerated string that attaches an valid association. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_update_inventory
async
listing_update_inventory(input: ListingUpdateInventoryInput | Mapping[str, Any], listing_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> 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.
Swagger operation ID: ListingUpdateInventory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingUpdateInventoryInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
listing_id
|
str
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_offering
async
listing_get_offering(listing_id: int, product_id: int, product_offering_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a listing's offering
Get an offering for a listing.
Swagger operation ID: ListingGetOffering.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
product_id
|
int
|
The numeric ID for the product associated to this transaction. |
required |
product_offering_id
|
int
|
The numeric ID for the product offering associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_product
async
listing_get_product(listing_id: int, product_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a listing's product
Retrieve a listing product by ID.
Swagger operation ID: ListingGetProduct.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
listing_id
|
int
|
The listing to return a listing product for. |
required |
product_id
|
int
|
The numeric ID for a specific product purchased from a listing. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_translation
async
listing_get_translation(shop_id: int, listing_id: int, language: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get a listing's translation
Returns the translation for a listing in the given language.
Swagger operation ID: ListingGetTranslation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
language
|
str
|
The IETF language tag for the language of this translation. Ex: de, en, es, fr, it, ja, nl, pl, pt, ru. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_create_translation
async
listing_create_translation(input: ListingCreateTranslationInput | Mapping[str, Any], shop_id: int, listing_id: int, language: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Create a listing translation
Creates a listing translation by listing ID and language.
Swagger operation ID: ListingCreateTranslation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingCreateTranslationInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
language
|
str
|
The IETF language tag for the language of this translation. Ex: de, en, es, fr, it, ja, nl, pl, pt, ru. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_update_translation
async
listing_update_translation(input: ListingUpdateTranslationInput | Mapping[str, Any], shop_id: int, listing_id: int, language: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update a listing translation
Updates a listing translation by listing ID and language.
Swagger operation ID: ListingUpdateTranslation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingUpdateTranslationInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
language
|
str
|
The IETF language tag for the language of this translation. Ex: de, en, es, fr, it, ja, nl, pl, pt, ru. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_get_variation
async
listing_get_variation(shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get listing's variation images
Gets all variation images on a listing.
Swagger operation ID: ListingGetVariation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
listing_update_variation
async
listing_update_variation(input: ListingUpdateVariationInput | Mapping[str, Any], shop_id: int, listing_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Update a listing's variation images
Creates variation images on a listing.
Swagger operation ID: ListingUpdateVariation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListingUpdateVariationInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
shop_id
|
int
|
The unique positive non-zero numeric ID for an Etsy Shop. |
required |
listing_id
|
int
|
The numeric ID for the listing associated to this transaction. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |