All URIs are relative to https://openapi.etsy.com
Method | HTTP request | Description |
---|---|---|
get_shop_production_partners | GET /v3/application/shops/{shop_id}/production-partners |
get_shop_production_partners(shop_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'
# Configure OAuth2 access token for authorization: oauth2
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = EtsyApi::ShopProductionPartnerApi.new
shop_id = 56 # Integer | The unique positive non-zero numeric ID for an Etsy Shop.
begin
result = api_instance.get_shop_production_partners(shop_id)
p result
rescue EtsyApi::ApiError => e
puts "Error when calling ShopProductionPartnerApi->get_shop_production_partners: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_shop_production_partners_with_http_info(shop_id)
begin
data, status_code, headers = api_instance.get_shop_production_partners_with_http_info(shop_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <ShopProductionPartners>
rescue EtsyApi::ApiError => e
puts "Error when calling ShopProductionPartnerApi->get_shop_production_partners_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
shop_id | Integer | The unique positive non-zero numeric ID for an Etsy Shop. |
- Content-Type: Not defined
- Accept: application/json