All URIs are relative to https://openapi.etsy.com
| Method | HTTP request | Description |
|---|---|---|
| getListingOffering | GET /v3/application/listings/{listing_id}/products/{product_id}/offerings/{product_offering_id} |
ListingInventoryProductOffering getListingOffering(listingId, productId, productOfferingId, legacy)
<div class=\"wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3\"><span class=\"wt-badge wt-badge–notificationPrimary wt-bg-slime-tint wt-mr-xs-2\">General Release</span><a class=\"wt-text-link\" href=\"https://github.com/etsy/open-api/discussions\" target=\"_blank\" rel=\"noopener noreferrer\">Report bug</a></div><div class=\"wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3\"><p class=\"wt-text-body-01 banner-text\">This endpoint is ready for production use.</p></div> Get an Offering for a Listing
// Import classes:
//import com.etsy.infrastructure.*
//import com.etsy.models.*
val apiInstance = ShopListingOfferingApi()
val listingId : kotlin.Long = 789 // kotlin.Long |
val productId : kotlin.Long = 789 // kotlin.Long |
val productOfferingId : kotlin.Long = 789 // kotlin.Long |
val legacy : kotlin.Boolean = true // kotlin.Boolean | This parameter needed to enable new parameters and response values related to processing profiles.
try {
val result : ListingInventoryProductOffering = apiInstance.getListingOffering(listingId, productId, productOfferingId, legacy)
println(result)
} catch (e: ClientException) {
println("4xx response calling ShopListingOfferingApi#getListingOffering")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ShopListingOfferingApi#getListingOffering")
e.printStackTrace()
}
| listingId | kotlin.Long| | | | productId | kotlin.Long| | | | productOfferingId | kotlin.Long| | | | Name | Type | Description | Notes | | ————- | ————- | ————- | ————- | | legacy | kotlin.Boolean| This parameter needed to enable new parameters and response values related to processing profiles. | [optional] |
ListingInventoryProductOffering
Configure api_key: ApiClient.apiKey[“x-api-key”] = “” ApiClient.apiKeyPrefix[“x-api-key”] = “”