All URIs are relative to https://openapi.etsy.com
| Method | HTTP request | Description |
|---|---|---|
| get_properties_by_taxonomy_id | GET /v3/application/seller-taxonomy/nodes/{taxonomy_id}/properties | |
| get_seller_taxonomy_nodes | GET /v3/application/seller-taxonomy/nodes |
get_properties_by_taxonomy_id(taxonomy_id)
General ReleaseReport bug
This endpoint is ready for production use.
require 'time'
require 'etsy_api'
# setup authorization
EtsyApi.configure do |config|
# Configure API key authorization: api_key
config.api_key['api_key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key'] = 'Bearer'
end
api_instance = EtsyApi::SellerTaxonomyApi.new
taxonomy_id = 56 # Integer | 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\".
begin
result = api_instance.get_properties_by_taxonomy_id(taxonomy_id)
p result
rescue EtsyApi::ApiError => e
puts "Error when calling SellerTaxonomyApi->get_properties_by_taxonomy_id: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_properties_by_taxonomy_id_with_http_info(taxonomy_id)
begin
data, status_code, headers = api_instance.get_properties_by_taxonomy_id_with_http_info(taxonomy_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <TaxonomyNodeProperties>
rescue EtsyApi::ApiError => e
puts "Error when calling SellerTaxonomyApi->get_properties_by_taxonomy_id_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| taxonomy_id | Integer | 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". |
- Content-Type: Not defined
- Accept: application/json
get_seller_taxonomy_nodes
General ReleaseReport bug
This endpoint is ready for production use.
require 'time'
require 'etsy_api'
# setup authorization
EtsyApi.configure do |config|
# Configure API key authorization: api_key
config.api_key['api_key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['api_key'] = 'Bearer'
end
api_instance = EtsyApi::SellerTaxonomyApi.new
begin
result = api_instance.get_seller_taxonomy_nodes
p result
rescue EtsyApi::ApiError => e
puts "Error when calling SellerTaxonomyApi->get_seller_taxonomy_nodes: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_seller_taxonomy_nodes_with_http_info
begin
data, status_code, headers = api_instance.get_seller_taxonomy_nodes_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <SellerTaxonomyNodes>
rescue EtsyApi::ApiError => e
puts "Error when calling SellerTaxonomyApi->get_seller_taxonomy_nodes_with_http_info: #{e}"
endThis endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json