ebay-api 8.5.0 → 8.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/api/apiFactory.d.ts +0 -3
- package/dist/api/apiFactory.js +0 -4
- package/dist/api/base.d.ts +0 -3
- package/dist/api/base.js +0 -3
- package/dist/api/digitalSignature.d.ts +0 -33
- package/dist/api/digitalSignature.js +1 -41
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -3
- package/dist/api/restful/buy/browse/index.d.ts +0 -66
- package/dist/api/restful/buy/browse/index.js +0 -73
- package/dist/api/restful/buy/deal/index.d.ts +0 -32
- package/dist/api/restful/buy/deal/index.js +0 -32
- package/dist/api/restful/buy/feed/index.d.ts +0 -33
- package/dist/api/restful/buy/feed/index.js +0 -33
- package/dist/api/restful/buy/marketing/index.d.ts +0 -18
- package/dist/api/restful/buy/marketing/index.js +0 -22
- package/dist/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
- package/dist/api/restful/buy/marketplaceInsights/index.js +0 -21
- package/dist/api/restful/buy/offer/index.d.ts +0 -15
- package/dist/api/restful/buy/offer/index.js +0 -15
- package/dist/api/restful/buy/order/index.d.ts +0 -227
- package/dist/api/restful/buy/order/index.js +0 -227
- package/dist/api/restful/commerce/catalog/index.d.ts +0 -54
- package/dist/api/restful/commerce/catalog/index.js +0 -54
- package/dist/api/restful/commerce/charity/index.d.ts +0 -21
- package/dist/api/restful/commerce/charity/index.js +0 -21
- package/dist/api/restful/commerce/identity/index.d.ts +0 -7
- package/dist/api/restful/commerce/identity/index.js +0 -7
- package/dist/api/restful/commerce/notification/index.d.ts +0 -93
- package/dist/api/restful/commerce/notification/index.js +0 -93
- package/dist/api/restful/commerce/taxonomy/index.d.ts +0 -64
- package/dist/api/restful/commerce/taxonomy/index.js +0 -64
- package/dist/api/restful/commerce/translation/index.d.ts +0 -8
- package/dist/api/restful/commerce/translation/index.js +0 -8
- package/dist/api/restful/developer/analytics/index.d.ts +0 -15
- package/dist/api/restful/developer/analytics/index.js +0 -15
- package/dist/api/restful/developer/keyManagement/index.d.ts +0 -15
- package/dist/api/restful/developer/keyManagement/index.js +0 -15
- package/dist/api/restful/index.d.ts +0 -16
- package/dist/api/restful/index.js +1 -23
- package/dist/api/restful/postOrder/cancellation/index.d.ts +0 -43
- package/dist/api/restful/postOrder/cancellation/index.js +0 -43
- package/dist/api/restful/postOrder/case/index.d.ts +0 -46
- package/dist/api/restful/postOrder/case/index.js +0 -46
- package/dist/api/restful/postOrder/inquiry/index.d.ts +0 -64
- package/dist/api/restful/postOrder/inquiry/index.js +0 -64
- package/dist/api/restful/postOrder/return/index.d.ts +0 -190
- package/dist/api/restful/postOrder/return/index.js +0 -190
- package/dist/api/restful/sell/account/index.d.ts +0 -241
- package/dist/api/restful/sell/account/index.js +0 -241
- package/dist/api/restful/sell/analytics/index.d.ts +0 -26
- package/dist/api/restful/sell/analytics/index.js +0 -26
- package/dist/api/restful/sell/compliance/index.d.ts +0 -23
- package/dist/api/restful/sell/compliance/index.js +0 -23
- package/dist/api/restful/sell/feed/index.d.ts +0 -135
- package/dist/api/restful/sell/feed/index.js +0 -135
- package/dist/api/restful/sell/finances/index.d.ts +0 -51
- package/dist/api/restful/sell/finances/index.js +0 -51
- package/dist/api/restful/sell/fulfillment/index.d.ts +0 -108
- package/dist/api/restful/sell/fulfillment/index.js +0 -108
- package/dist/api/restful/sell/inventory/index.d.ts +0 -197
- package/dist/api/restful/sell/inventory/index.js +0 -197
- package/dist/api/restful/sell/listing/index.d.ts +0 -8
- package/dist/api/restful/sell/listing/index.js +0 -8
- package/dist/api/restful/sell/logistics/index.d.ts +0 -33
- package/dist/api/restful/sell/logistics/index.js +0 -33
- package/dist/api/restful/sell/marketing/index.d.ts +16 -495
- package/dist/api/restful/sell/marketing/index.js +48 -494
- package/dist/api/restful/sell/metadata/index.d.ts +0 -65
- package/dist/api/restful/sell/metadata/index.js +0 -65
- package/dist/api/restful/sell/negotiation/index.d.ts +0 -14
- package/dist/api/restful/sell/negotiation/index.js +0 -14
- package/dist/api/restful/sell/recommendation/index.d.ts +0 -15
- package/dist/api/restful/sell/recommendation/index.js +0 -15
- package/dist/api/traditional/XMLRequest.d.ts +0 -44
- package/dist/api/traditional/XMLRequest.js +0 -46
- package/dist/api/traditional/clientAlerts/index.js +0 -1
- package/dist/api/traditional/index.d.ts +0 -3
- package/dist/api/traditional/index.js +0 -5
- package/dist/api/traditional/shopping/index.js +0 -1
- package/dist/auth/authNAuth.d.ts +0 -5
- package/dist/auth/authNAuth.js +0 -5
- package/dist/auth/index.d.ts +0 -3
- package/dist/auth/index.js +0 -3
- package/dist/auth/oAuth2.d.ts +0 -52
- package/dist/auth/oAuth2.js +0 -53
- package/dist/eBayApi.d.ts +1 -12
- package/dist/eBayApi.js +0 -14
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/enums/restfulEnums.d.ts +24 -23
- package/dist/enums/restfulEnums.js +52 -51
- package/dist/errors/index.d.ts +0 -19
- package/dist/errors/index.js +1 -20
- package/dist/types/apiTypes.d.ts +2 -2
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
- package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
- package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
- package/dist/types/restful/specs/cancellation_oas3.js +0 -4
- package/dist/types/restful/specs/case_oas3.d.ts +0 -31
- package/dist/types/restful/specs/case_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
- package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
- package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
- package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
- package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
- package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
- package/dist/types/restful/specs/inquiry_oas3.js +0 -4
- package/dist/types/restful/specs/return_oas3.d.ts +0 -130
- package/dist/types/restful/specs/return_oas3.js +0 -4
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
- package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
- package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
- package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
- package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
- package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
- package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
- package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
- package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
- package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
- package/dist/types/restfulTypes.d.ts +3 -0
- package/lib/api/apiFactory.d.ts +0 -3
- package/lib/api/apiFactory.js +0 -4
- package/lib/api/base.d.ts +0 -3
- package/lib/api/base.js +0 -3
- package/lib/api/digitalSignature.d.ts +0 -33
- package/lib/api/digitalSignature.js +1 -41
- package/lib/api/index.d.ts +0 -3
- package/lib/api/index.js +0 -3
- package/lib/api/restful/buy/browse/index.d.ts +0 -66
- package/lib/api/restful/buy/browse/index.js +0 -73
- package/lib/api/restful/buy/deal/index.d.ts +0 -32
- package/lib/api/restful/buy/deal/index.js +0 -32
- package/lib/api/restful/buy/feed/index.d.ts +0 -33
- package/lib/api/restful/buy/feed/index.js +0 -33
- package/lib/api/restful/buy/marketing/index.d.ts +0 -18
- package/lib/api/restful/buy/marketing/index.js +0 -22
- package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
- package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
- package/lib/api/restful/buy/offer/index.d.ts +0 -15
- package/lib/api/restful/buy/offer/index.js +0 -15
- package/lib/api/restful/buy/order/index.d.ts +0 -227
- package/lib/api/restful/buy/order/index.js +0 -227
- package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
- package/lib/api/restful/commerce/catalog/index.js +0 -54
- package/lib/api/restful/commerce/charity/index.d.ts +0 -21
- package/lib/api/restful/commerce/charity/index.js +0 -21
- package/lib/api/restful/commerce/identity/index.d.ts +0 -7
- package/lib/api/restful/commerce/identity/index.js +0 -7
- package/lib/api/restful/commerce/notification/index.d.ts +0 -93
- package/lib/api/restful/commerce/notification/index.js +0 -93
- package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
- package/lib/api/restful/commerce/taxonomy/index.js +0 -64
- package/lib/api/restful/commerce/translation/index.d.ts +0 -8
- package/lib/api/restful/commerce/translation/index.js +0 -8
- package/lib/api/restful/developer/analytics/index.d.ts +0 -15
- package/lib/api/restful/developer/analytics/index.js +0 -15
- package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
- package/lib/api/restful/developer/keyManagement/index.js +0 -15
- package/lib/api/restful/index.d.ts +0 -16
- package/lib/api/restful/index.js +1 -23
- package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
- package/lib/api/restful/postOrder/cancellation/index.js +0 -43
- package/lib/api/restful/postOrder/case/index.d.ts +0 -46
- package/lib/api/restful/postOrder/case/index.js +0 -46
- package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
- package/lib/api/restful/postOrder/inquiry/index.js +0 -64
- package/lib/api/restful/postOrder/return/index.d.ts +0 -190
- package/lib/api/restful/postOrder/return/index.js +0 -190
- package/lib/api/restful/sell/account/index.d.ts +0 -241
- package/lib/api/restful/sell/account/index.js +0 -241
- package/lib/api/restful/sell/analytics/index.d.ts +0 -26
- package/lib/api/restful/sell/analytics/index.js +0 -26
- package/lib/api/restful/sell/compliance/index.d.ts +0 -23
- package/lib/api/restful/sell/compliance/index.js +0 -23
- package/lib/api/restful/sell/feed/index.d.ts +0 -135
- package/lib/api/restful/sell/feed/index.js +0 -135
- package/lib/api/restful/sell/finances/index.d.ts +0 -51
- package/lib/api/restful/sell/finances/index.js +0 -51
- package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
- package/lib/api/restful/sell/fulfillment/index.js +0 -108
- package/lib/api/restful/sell/inventory/index.d.ts +0 -197
- package/lib/api/restful/sell/inventory/index.js +0 -197
- package/lib/api/restful/sell/listing/index.d.ts +0 -8
- package/lib/api/restful/sell/listing/index.js +0 -8
- package/lib/api/restful/sell/logistics/index.d.ts +0 -33
- package/lib/api/restful/sell/logistics/index.js +0 -33
- package/lib/api/restful/sell/marketing/index.d.ts +16 -495
- package/lib/api/restful/sell/marketing/index.js +48 -494
- package/lib/api/restful/sell/metadata/index.d.ts +0 -65
- package/lib/api/restful/sell/metadata/index.js +0 -65
- package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
- package/lib/api/restful/sell/negotiation/index.js +0 -14
- package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
- package/lib/api/restful/sell/recommendation/index.js +0 -15
- package/lib/api/traditional/XMLRequest.d.ts +0 -44
- package/lib/api/traditional/XMLRequest.js +0 -46
- package/lib/api/traditional/clientAlerts/index.js +0 -1
- package/lib/api/traditional/index.d.ts +0 -3
- package/lib/api/traditional/index.js +0 -5
- package/lib/api/traditional/shopping/index.js +0 -1
- package/lib/auth/authNAuth.d.ts +0 -5
- package/lib/auth/authNAuth.js +0 -5
- package/lib/auth/index.d.ts +0 -3
- package/lib/auth/index.js +0 -3
- package/lib/auth/oAuth2.d.ts +0 -52
- package/lib/auth/oAuth2.js +0 -53
- package/lib/eBayApi.d.ts +1 -12
- package/lib/eBayApi.js +0 -14
- package/lib/ebay-api.min.js +1 -1
- package/lib/enums/restfulEnums.d.ts +24 -23
- package/lib/enums/restfulEnums.js +52 -52
- package/lib/errors/index.d.ts +0 -19
- package/lib/errors/index.js +1 -20
- package/lib/types/apiTypes.d.ts +2 -2
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
- package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
- package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
- package/lib/types/restful/specs/cancellation_oas3.js +0 -4
- package/lib/types/restful/specs/case_oas3.d.ts +0 -31
- package/lib/types/restful/specs/case_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
- package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
- package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
- package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
- package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
- package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
- package/lib/types/restful/specs/inquiry_oas3.js +0 -4
- package/lib/types/restful/specs/return_oas3.d.ts +0 -130
- package/lib/types/restful/specs/return_oas3.js +0 -4
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
- package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
- package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
- package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
- package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
- package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
- package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
- package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
- package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
- package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
- package/lib/types/restfulTypes.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,34 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by openapi-typescript.
|
|
3
|
-
* Do not make direct changes to the file.
|
|
4
|
-
*/
|
|
5
1
|
export interface paths {
|
|
6
2
|
"/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies": {
|
|
7
|
-
/** @description This method returns the eBay policies that define how to list automotive-parts-compatibility items in the categories of a specific marketplace. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
8
3
|
get: operations["getAutomotivePartsCompatibilityPolicies"];
|
|
9
4
|
};
|
|
10
5
|
"/marketplace/{marketplace_id}/get_item_condition_policies": {
|
|
11
|
-
/** @description This method returns item condition metadata on one, multiple, or all eBay categories on an eBay marketplace. This metadata consists of the different item conditions (with IDs) that an eBay category supports, and a boolean to indicate if an eBay category requires an item condition. <br><br>The identifier of the eBay marketplace is passed in as a path parameter, and unless one or more eBay category IDs are passed in through the <b>filter</b> query parameter, this method will return metadata on every single category for the specified marketplace. If you only want to view item condition metadata for one eBay category or a select group of eBay categories, you can pass in up to 50 eBay category ID through the <b>filter</b> query parameter. <p class="tablenote"><strong>Important!:</strong> <b>Certified - Refurbished</b>-eligible sellers, and sellers who are eligible to list with the new values (EXCELLENT_REFURBISHED, VERY_GOOD_REFURBISHED, and GOOD_REFURBISHED) in category 9355, must use an OAuth token created with the <a href="/api-docs/static/oauth-authorization-code-grant.html" target="_blank">authorization code grant flow</a> and <b>https://api.ebay.com/oauth/api_scope/sell.inventory</b> scope in order to retrieve the refurbished conditions for the relevant categories. <br/><br/> These restricted item conditions will not be returned if an OAuth token created with the <a href="/api-docs/static/oauth-client-credentials-grant.html" target="_blank">client credentials grant flow</a> and <b>https://api.ebay.com/oauth/api_scope</b> scope is used, or if any seller is not eligible to list with that item condition. <br/><br/> See the <a href="/api-docs/static/oauth-scopes.html" target="_blank">Specifying OAuth scopes</a> topic for more information about specifying scopes.</p> <p class="tablenote"><strong>Tip:</strong> If you retrieve metadata on all eBay categories for a marketplace, the response payload can be quite large. For this reason, we suggest that you consider using the <b>Accept-Encoding</b> request header and set its value to <code>application/gzip</code>. By doing this, the response payload output will be compressed into a GZIP file. </p> */
|
|
12
6
|
get: operations["getItemConditionPolicies"];
|
|
13
7
|
};
|
|
14
8
|
"/marketplace/{marketplace_id}/get_listing_structure_policies": {
|
|
15
|
-
/** @description This method returns the eBay policies that define the allowed listing structures for the categories of a specific marketplace. The listing-structure policies currently pertain to whether or not you can list items with variations. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
16
9
|
get: operations["getListingStructurePolicies"];
|
|
17
10
|
};
|
|
18
11
|
"/marketplace/{marketplace_id}/get_negotiated_price_policies": {
|
|
19
|
-
/** @description This method returns the eBay policies that define the supported negotiated price features (like "best offer") for the categories of a specific marketplace. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
20
12
|
get: operations["getNegotiatedPricePolicies"];
|
|
21
13
|
};
|
|
22
14
|
"/marketplace/{marketplace_id}/get_product_adoption_policies": {
|
|
23
|
-
/** @description This method retrieves a list of leaf categories for a marketplace and identifies the categories that require items to have an eBay product ID value in order to be listed in those categories. An eBay product ID value (known as an "ePID") is a value that references a specific product in the eBay Catalog. <p class="tablenote"><strong>Important:</strong> eBay catalog product adoption is not currently required for any product categories. If product adoption requirements change, they will be noted here.</p> <p>Use the <b>marketplace_id</b> path parameter to specify the marketplace you want to review and use the <b>filter</b> query parameter to limit the categories returned in the response.</p> <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
24
15
|
get: operations["getProductAdoptionPolicies"];
|
|
25
16
|
};
|
|
26
17
|
"/marketplace/{marketplace_id}/get_return_policies": {
|
|
27
|
-
/** @description This method returns the eBay policies that define whether or not you must include a return policy for the items you list in the categories of a specific marketplace, plus the guidelines for creating domestic and international return policies in the different eBay categories. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
28
18
|
get: operations["getReturnPolicies"];
|
|
29
19
|
};
|
|
30
20
|
"/country/{countryCode}/sales_tax_jurisdiction": {
|
|
31
|
-
/** @description This method retrieves all the sales tax jurisdictions for the country that you specify in the <b>countryCode</b> path parameter. Countries with valid sales tax jurisdictions are Canada and the US. <br><br>The response from this call tells you the jurisdictions for which a seller can configure tax tables. Although setting up tax tables is optional, you can use the <b>createOrReplaceSalesTax</b> in the <b>Account API</b> call to configure the tax tables for the jurisdictions you sell to. */
|
|
32
21
|
get: operations["getSalesTaxJurisdictions"];
|
|
33
22
|
};
|
|
34
23
|
}
|
|
@@ -36,188 +25,106 @@ export type webhooks = Record<string, never>;
|
|
|
36
25
|
export interface components {
|
|
37
26
|
schemas: {
|
|
38
27
|
AutomotivePartsCompatibilityPolicy: {
|
|
39
|
-
/** @description The category ID to which the automotive-parts-compatibility policies apply. */
|
|
40
28
|
categoryId?: string;
|
|
41
|
-
/** @description A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All category policy information returned by this call pertains to the categories included below this root node of the tree. <br><br>A <i>category tree</i> is a hierarchical framework of eBay categories that begins at the root node of the tree and extends to include all the child nodes in the tree. Each child node in the tree is an eBay category that is represented by a unique <b>categoryId</b> value. Within a category tree, the root node has no parent node and <i>leaf nodes</i> are nodes that have no child nodes. */
|
|
42
29
|
categoryTreeId?: string;
|
|
43
|
-
/** @description Indicates whether the category supports parts compatibility by either <code>ASSEMBLY</code> or by <code>SPECIFICATION</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:CompatibilityTypeEnum'>eBay API documentation</a> */
|
|
44
30
|
compatibilityBasedOn?: string;
|
|
45
|
-
/** @description Indicates the compatibility classification of the part based on high-level vehicle types. */
|
|
46
31
|
compatibleVehicleTypes?: (string)[];
|
|
47
|
-
/**
|
|
48
|
-
* Format: int32
|
|
49
|
-
* @description Specifies the maximum number of compatible vehicle-applications allowed per item.
|
|
50
|
-
*/
|
|
51
32
|
maxNumberOfCompatibleVehicles?: number;
|
|
52
33
|
};
|
|
53
34
|
AutomotivePartsCompatibilityPolicyResponse: {
|
|
54
|
-
/** @description A list of category IDs and the automotive-parts-compatibility policies for each of the listed categories. */
|
|
55
35
|
automotivePartsCompatibilityPolicies?: (components["schemas"]["AutomotivePartsCompatibilityPolicy"])[];
|
|
56
|
-
/** @description A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request. */
|
|
57
36
|
warnings?: (components["schemas"]["Error"])[];
|
|
58
37
|
};
|
|
59
|
-
/** @description A container that defines the elements of error and warning messages. */
|
|
60
38
|
Error: {
|
|
61
|
-
/** @description The category type for this error or warning. It takes an ErrorCategory object which can have one of three values:<ul><li><code>Application</code>: Indicates an exception or error occurred in the application code or at runtime. Examples include catching an exception in a service's business logic, system failures, or request errors from a dependency.</li><li><code>Business</code>: Used when your service or a dependent service refused to continue processing on the resource because of a business rule violation such as "Seller does not ship item to Antarctica" or "Buyer ineligible to purchase an alcoholic item". Business errors are not syntactical input errors.</li><li><code>Request</code>: Used when there is anything wrong with the request, such as authentication, syntactical errors, rate limiting or missing headers, bad HTTP header values, and so on.</li></ul> */
|
|
62
39
|
category?: string;
|
|
63
|
-
/** @description Name of the domain containing the service or application. */
|
|
64
40
|
domain?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Format: int32
|
|
67
|
-
* @description A positive integer that uniquely identifies the specific error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms.
|
|
68
|
-
*/
|
|
69
41
|
errorId?: number;
|
|
70
|
-
/** @description Identifies specific request elements associated with the error, if any. inputRefId's response is format specific. For JSON, use <i>JSONPath</i> notation. */
|
|
71
42
|
inputRefIds?: (string)[];
|
|
72
|
-
/** @description An expanded version of message that should be around 100-200 characters long, but is not required to be such. */
|
|
73
43
|
longMessage?: string;
|
|
74
|
-
/** @description An end user and app developer friendly device agnostic message. It explains what the error or warning is, and how to fix it (in a general sense). Its value is at most 50 characters long. If applicable, the value is localized in the end user's requested locale. */
|
|
75
44
|
message?: string;
|
|
76
|
-
/** @description Identifies specific response elements associated with the error, if any. Path format is the same as <code>inputRefId</code>. */
|
|
77
45
|
outputRefIds?: (string)[];
|
|
78
|
-
/** @description This optional complex field type contains a list of one or more context-specific <code>ErrorParameter</code> objects, with each item in the list entry being a parameter (or input field name) that caused an error condition. Each <code>ErrorParameter</code> object consists of two fields, a <code>name</code> and a <code>value</code>. */
|
|
79
46
|
parameters?: (components["schemas"]["ErrorParameter"])[];
|
|
80
|
-
/** @description Name of the domain's subsystem or subdivision. For example, checkout is a subdomain in the buying domain. */
|
|
81
47
|
subdomain?: string;
|
|
82
48
|
};
|
|
83
|
-
/** @description Container for a error parameter. */
|
|
84
49
|
ErrorParameter: {
|
|
85
|
-
/** @description Name of the entity that threw the error. */
|
|
86
50
|
name?: string;
|
|
87
|
-
/** @description A description of the error. */
|
|
88
51
|
value?: string;
|
|
89
52
|
};
|
|
90
|
-
/** @description This type returns a list of properties (and their associated values) that are excluded from requiring an ePID value (from the eBay Catalog) for items that are listed in the associated category. */
|
|
91
53
|
Exclusion: {
|
|
92
|
-
/** @description A list of brands that are excluded from requiring a link to the eBay Catalog for the associated <b>categoryId</b>. <br><br>If <b>productRequired</b> is set to <code>true</code>, items that are of a brand returned in this field are excluded from the need to specify a value for the ePID field in their item description in order to be listed in the associated category. */
|
|
93
54
|
brands?: (string)[];
|
|
94
55
|
};
|
|
95
|
-
/** @description <span class="tablenote"><b>Note: </b>In all eBay marketplaces, Condition ID 2000 now maps to an item condition of 'Certified Refurbished', and not 'Manufacturer Refurbished'. To list an item as 'Certified Refurbished', a seller must be pre-qualified by eBay for this feature. Any seller who is not eligible for this feature will be blocked if they try to create a new listing or revise an existing listing with this item condition. Any active listings on any eBay marketplace that had 'Manufacturer Refurbished' as the item condition should have been automatically updated by eBay to the 'Seller Refurbished' item condition (Condition ID 2500). <br><br> Any seller that is interested in eligibility requirements to list with 'Certified Refurbished' should see the <a href="https://pages.ebay.com/seller-center/listing-and-marketing/certified-refurbished-program.html" target="_blank">Certified refurbished program</a> page in Seller Center. </span> */
|
|
96
56
|
ItemCondition: {
|
|
97
|
-
/** @description The human-readable label for the condition (e.g., "New"). This value is typically localized for each site. <br><br>Note that the display name can vary by category. For example, the description for condition ID <code>1000</code> could be called "New: with Tags" in one category and "Brand New" in another. For details on condition IDs and descriptions, see <a href='/api-docs/sell/static/metadata/condition-id-values.html'>Item condition ID and name values</a>. */
|
|
98
57
|
conditionDescription?: string;
|
|
99
|
-
/** @description The ID value of the selected item condition. For information on the supported condition ID values, see <a href='/api-docs/sell/static/metadata/condition-id-values.html'>Item condition ID and name values</a>. */
|
|
100
58
|
conditionId?: string;
|
|
101
|
-
/** @description The value returned in this field indicates if there are any usage restrictions or requirements for the corresponding item condition in the corresponding category.<br /><br /><span class="tablenote"><b>Note:</b> Currently, the only supported value is 'RESTRICTED', and this field will only be returned for the following conditions: 2000, 2010, 2020, 2030. Sellers must be pre-approved to use any of these item conditions.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/sel:UsageEnum'>eBay API documentation</a> */
|
|
102
59
|
usage?: string;
|
|
103
60
|
};
|
|
104
61
|
ItemConditionPolicy: {
|
|
105
|
-
/** @description The category ID to which the item-condition policy applies. */
|
|
106
62
|
categoryId?: string;
|
|
107
|
-
/** @description A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All category policy information returned by this call pertains to the categories included below this root node of the tree. <br><br>A <i>category tree</i> is a hierarchical framework of eBay categories that begins at the root node of the tree and extends to include all the child nodes in the tree. Each child node in the tree is an eBay category that is represented by a unique <b>categoryId</b> value. Within a category tree, the root node has no parent node and <i>leaf nodes</i> are nodes that have no child nodes. */
|
|
108
63
|
categoryTreeId?: string;
|
|
109
|
-
/** @description This flag denotes whether or not you must list the item condition in a listing for the specified category. If set to <code>true</code>, you must specify an item condition for the associated category. */
|
|
110
64
|
itemConditionRequired?: boolean;
|
|
111
|
-
/** @description The item-condition values allowed in the category.<br /><br /><span class="tablenote"><b>Note: </b>In all eBay marketplaces, Condition ID 2000 now maps to an item condition of 'Certified Refurbished', and not 'Manufacturer Refurbished'. To list an item as 'Certified Refurbished', a seller must be pre-qualified by eBay for this feature. Any seller who is not eligible for this feature will be blocked if they try to create a new listing or revise an existing listing with this item condition.<br><br> Any seller that is interested in eligibility requirements to list with 'Certified Refurbished' should see the <a href="https://pages.ebay.com/seller-center/listing-and-marketing/certified-refurbished-program.html" target="_blank">Certified refurbished program</a> page in Seller Center. </span><br /><br /><span class="tablenote"><b>Note:</b> For the Cell Phones & Smartphones category (9355), the <code>SELLER_REFURBISHED</code> condition is being deprecated. Sellers trying to list an item in this category (9355) with the condition <code>SELLER_REFURBISHED</code> will be blocked. Starting September 1, 2021, existing listings for this category (9355) with this item condition will be ended by eBay but three new additional refurbished items conditions will be available: <code>EXCELLENT_REFURBISHED</code>, <code>VERY_GOOD_REFURBISHED</code>, and <code>GOOD_REFURBISHED</code>. To be eligible to list with these three item conditions, sellers will have to go through an application process. See <a href="https://www.ebay.com/help/selling/listings/creating-managing-listings/item-conditions-category?id=4765#section4" target="_blank">Cameras & Photo, Cell Phones & Accessories...</a> for details.</span> */
|
|
112
65
|
itemConditions?: (components["schemas"]["ItemCondition"])[];
|
|
113
66
|
};
|
|
114
67
|
ItemConditionPolicyResponse: {
|
|
115
|
-
/** @description A list of category IDs and the policies for how to indicate an item's condition in each of the listed categories. */
|
|
116
68
|
itemConditionPolicies?: (components["schemas"]["ItemConditionPolicy"])[];
|
|
117
|
-
/** @description A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request. */
|
|
118
69
|
warnings?: (components["schemas"]["Error"])[];
|
|
119
70
|
};
|
|
120
71
|
ListingStructurePolicy: {
|
|
121
|
-
/** @description The category ID to which the listing-structure policy applies. */
|
|
122
72
|
categoryId?: string;
|
|
123
|
-
/** @description A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All category policy information returned by this call pertains to the categories included below this root node of the tree. <br><br>A <i>category tree</i> is a hierarchical framework of eBay categories that begins at the root node of the tree and extends to include all the child nodes in the tree. Each child node in the tree is an eBay category that is represented by a unique <b>categoryId</b> value. Within a category tree, the root node has no parent node and <i>leaf nodes</i> are nodes that have no child nodes. */
|
|
124
73
|
categoryTreeId?: string;
|
|
125
|
-
/** @description This flag denotes whether or not the associated category supports listings with item variations. If set to <code>true</code>, the category does support item variations. */
|
|
126
74
|
variationsSupported?: boolean;
|
|
127
75
|
};
|
|
128
76
|
ListingStructurePolicyResponse: {
|
|
129
|
-
/** @description Returns a list of category IDs plus a flag indicating whether or not each listed category supports item variations. */
|
|
130
77
|
listingStructurePolicies?: (components["schemas"]["ListingStructurePolicy"])[];
|
|
131
|
-
/** @description A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request. */
|
|
132
78
|
warnings?: (components["schemas"]["Error"])[];
|
|
133
79
|
};
|
|
134
80
|
NegotiatedPricePolicy: {
|
|
135
|
-
/** @description This flag denotes whether or not the category supports the setting of a price at which best offers are automatically accepted. If set to <code>true</code>, the category does support the setting of an automatic price for best-offers. */
|
|
136
81
|
bestOfferAutoAcceptEnabled?: boolean;
|
|
137
|
-
/** @description This flag denotes whether or not the category supports the setting of an auto-decline price for best offers. If set to <code>true</code>, the category does support the setting of an automatic-decline price for best-offers. */
|
|
138
82
|
bestOfferAutoDeclineEnabled?: boolean;
|
|
139
|
-
/** @description This flag denotes whether or not the category supports the setting for an automatic counter-offer on best offers. If set to <code>true</code>, the category does support the setting of an automatic counter-offer price for best-offers. */
|
|
140
83
|
bestOfferCounterEnabled?: boolean;
|
|
141
|
-
/** @description The category ID to which the negotiated-price policies apply. */
|
|
142
84
|
categoryId?: string;
|
|
143
|
-
/** @description A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All category policy information returned by this call pertains to the categories included below this root node of the tree. <br><br>A <i>category tree</i> is a hierarchical framework of eBay categories that begins at the root node of the tree and extends to include all the child nodes in the tree. Each child node in the tree is an eBay category that is represented by a unique <b>categoryId</b> value. Within a category tree, the root node has no parent node and <i>leaf nodes</i> are nodes that have no child nodes. */
|
|
144
85
|
categoryTreeId?: string;
|
|
145
86
|
};
|
|
146
87
|
NegotiatedPricePolicyResponse: {
|
|
147
|
-
/** @description A list of category IDs and the policies related to negotiated-price items for each of the listed categories. */
|
|
148
88
|
negotiatedPricePolicies?: (components["schemas"]["NegotiatedPricePolicy"])[];
|
|
149
|
-
/** @description A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request. */
|
|
150
89
|
warnings?: (components["schemas"]["Error"])[];
|
|
151
90
|
};
|
|
152
|
-
/** @description This complex type returns a category ID and a flag that indicates whether or not items listed in that category require the declaration of an ePID value, which links the item to the eBay Catalog. The type also lists any items that are excepted from the requirement to included an ePID value. */
|
|
153
91
|
ProductAdoptionPolicy: {
|
|
154
|
-
/** @description The category ID to which the listing policies apply. */
|
|
155
92
|
categoryId?: string;
|
|
156
|
-
/** @description A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All category policy information returned by this call pertains to the categories included below this root node of the tree. <br><br>A <i>category tree</i> is a hierarchical framework of eBay categories that begins at the root node of the tree and extends to include all the child nodes in the tree. Each child node in the tree is an eBay category that is represented by a unique <b>categoryId</b> value. Within a category tree, the root node has no parent node and <i>leaf nodes</i> are nodes that have no child nodes. */
|
|
157
93
|
categoryTreeId?: string;
|
|
158
|
-
/** @description A list of brands that are excluded from the ePID product-adoption requirements for the related category ID. */
|
|
159
94
|
exclusion?: components["schemas"]["Exclusion"];
|
|
160
|
-
/** @description If set to <code>true</code>, items must include an ePID value in their item description before they can be listed in the category identified by the associated <b>categoryId</b>. In contrast, a value of <code>false</code> indicates that items listed in the associated category do not require ePID values. <br><br><span class="tablenote"><b>Important!</b> It is possible for a <b>productAdoptionPolicies</b> container to not contain this <b>productRequired</b> field. This occurs if the eBay category is not part of the PBSE Phase 1 or Phase 2 mandate. In these scenarios, please treat the response the same as if this field were present and contained a value of <code>false</code>.</span> */
|
|
161
95
|
productRequired?: boolean;
|
|
162
96
|
};
|
|
163
|
-
/** @description This is the response object returned by a call to getProductAdoptionPolicies. */
|
|
164
97
|
ProductAdoptionPolicyResponse: {
|
|
165
|
-
/** @description A list of category IDs from the marketplace specified in the request where each returned element represents a leaf node in the category tree. Each element in the list contains the policies governing whether or not items listed in that category must include an ePID value (which links the item to the eBay Catalog). */
|
|
166
98
|
productAdoptionPolicies?: (components["schemas"]["ProductAdoptionPolicy"])[];
|
|
167
|
-
/** @description A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request. */
|
|
168
99
|
warnings?: (components["schemas"]["Error"])[];
|
|
169
100
|
};
|
|
170
101
|
ReturnPolicy: {
|
|
171
|
-
/** @description The category ID to which the return policies apply. */
|
|
172
102
|
categoryId?: string;
|
|
173
|
-
/** @description A value that indicates the root node of the category tree used for the response set. Each marketplace is based on a category tree whose root node is indicated by this unique category ID value. All category policy information returned by this call pertains to the categories included below this root node of the tree. <br><br>A <i>category tree</i> is a hierarchical framework of eBay categories that begins at the root node of the tree and extends to include all the child nodes in the tree. Each child node in the tree is an eBay category that is represented by a unique <b>categoryId</b> value. Within a category tree, the root node has no parent node and <i>leaf nodes</i> are nodes that have no child nodes. */
|
|
174
103
|
categoryTreeId?: string;
|
|
175
|
-
/** @description This complex type defines the category policies related to domestic item returns. */
|
|
176
104
|
domestic?: components["schemas"]["ReturnPolicyDetails"];
|
|
177
|
-
/** @description This complex type defines the category policies related to international item returns. */
|
|
178
105
|
international?: components["schemas"]["ReturnPolicyDetails"];
|
|
179
|
-
/** @description If set to <code>true</code>, this flag indicates that you must specify a return policy for items listed in the associated category. <br><br>Note that not accepting returns (setting <b>returnsAcceptedEnabled</b> to <code>false</code>) is a valid return policy. */
|
|
180
106
|
required?: boolean;
|
|
181
107
|
};
|
|
182
|
-
/** @description This container defines the category policies that relate to domestic and international return policies (the return shipping is made via a domestic or an international shipping service, respectively). */
|
|
183
108
|
ReturnPolicyDetails: {
|
|
184
|
-
/** @description If set to <code>true</code>, this flag indicates you can supply a detailed return policy description within your return policy (for example, by populating the <b>returnInstructions</b> field in the Account API's <b>createReturnPolicy</b>). User-supplied return policy details are allowed only in the DE, ES, FR, and IT marketplaces. */
|
|
185
109
|
policyDescriptionEnabled?: boolean;
|
|
186
|
-
/** @description A list of refund methods allowed for the associated category. */
|
|
187
110
|
refundMethods?: (string)[];
|
|
188
|
-
/** @description A list of return methods allowed for the associated category. */
|
|
189
111
|
returnMethods?: (string)[];
|
|
190
|
-
/** @description A list of return periods allowed for the associated category. <br><br>Note that different APIs require you to enter the return period in different ways. For example, the Account API uses the complex <b>TimeDuration</b> type, which takes two values (a <b>unit</b> and a <b>value</b>), whereas the Trading API takes a single value (such as <code>Days_30</code>). */
|
|
191
112
|
returnPeriods?: (components["schemas"]["TimeDuration"])[];
|
|
192
|
-
/** @description If set to <code>true</code>, this flag indicates the seller can configure how they handle domestic returns. */
|
|
193
113
|
returnsAcceptanceEnabled?: boolean;
|
|
194
|
-
/** @description A list of allowed values for who pays for the return shipping cost. <br><br>Note that for SNAD returns, the seller is always responsible for the return shipping cost. */
|
|
195
114
|
returnShippingCostPayers?: (string)[];
|
|
196
115
|
};
|
|
197
116
|
ReturnPolicyResponse: {
|
|
198
|
-
/** @description A list of elements, where each contains a category ID and a flag that indicates whether or not listings in that category require a return policy. */
|
|
199
117
|
returnPolicies?: (components["schemas"]["ReturnPolicy"])[];
|
|
200
|
-
/** @description A list of the warnings that were generated as a result of the request. This field is not returned if no warnings were generated by the request. */
|
|
201
118
|
warnings?: (components["schemas"]["Error"])[];
|
|
202
119
|
};
|
|
203
|
-
/** @description A unique ID for a sales tax jurisdiction. */
|
|
204
120
|
SalesTaxJurisdiction: {
|
|
205
|
-
/** @description The unique ID for a sales tax jurisdiction. */
|
|
206
121
|
salesTaxJurisdictionId?: string;
|
|
207
122
|
};
|
|
208
|
-
/** @description This complex type contains a list of sales tax jurisdictions. */
|
|
209
123
|
SalesTaxJurisdictions: {
|
|
210
|
-
/** @description A list of sales tax jurisdictions. */
|
|
211
124
|
salesTaxJurisdictions?: (components["schemas"]["SalesTaxJurisdiction"])[];
|
|
212
125
|
};
|
|
213
|
-
/** @description A complex type that specifies a period of time using a specified time-measurement unit. */
|
|
214
126
|
TimeDuration: {
|
|
215
|
-
/** @description A time-measurement unit that specifies a singular period of time. <br><br>A span of time is defined when you apply the value specified in the <b>value</b> field to the value specified for <b>unit</b>. <br><br>Time-measurement units can be YEAR, MONTH, DAY, and so on. See <b>TimeDurationUnitEnum</b> for a complete list of possible time-measurement units. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/metadata/types/ba:TimeDurationUnitEnum'>eBay API documentation</a> */
|
|
216
127
|
unit?: string;
|
|
217
|
-
/**
|
|
218
|
-
* Format: int32
|
|
219
|
-
* @description An integer that represents an amount of time, as measured by the time-measurement unit specified in the <b>unit</b> field.
|
|
220
|
-
*/
|
|
221
128
|
value?: number;
|
|
222
129
|
};
|
|
223
130
|
};
|
|
@@ -229,200 +136,146 @@ export interface components {
|
|
|
229
136
|
}
|
|
230
137
|
export type external = Record<string, never>;
|
|
231
138
|
export interface operations {
|
|
232
|
-
/** @description This method returns the eBay policies that define how to list automotive-parts-compatibility items in the categories of a specific marketplace. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
233
139
|
getAutomotivePartsCompatibilityPolicies: {
|
|
234
140
|
parameters: {
|
|
235
141
|
query?: {
|
|
236
|
-
/** @description This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code> */
|
|
237
142
|
filter?: string;
|
|
238
143
|
};
|
|
239
144
|
path: {
|
|
240
|
-
/** @description This path parameter specifies the eBay marketplace for which policy information is retrieved. <br><br><b>Note:</b> Only the following eBay marketplaces support automotive parts compatibility: <ul> <li>EBAY_US</li> <li>EBAY_AU</li> <li>EBAY_CA</li> <li>EBAY_DE</li> <li>EBAY_ES</li> <li>EBAY_FR</li> <li>EBAY_GB</li> <li>EBAY_IT</li><ul> */
|
|
241
145
|
marketplace_id: string;
|
|
242
146
|
};
|
|
243
147
|
};
|
|
244
148
|
responses: {
|
|
245
|
-
/** @description Success */
|
|
246
149
|
200: {
|
|
247
150
|
content: {
|
|
248
151
|
"application/json": components["schemas"]["AutomotivePartsCompatibilityPolicyResponse"];
|
|
249
152
|
};
|
|
250
153
|
};
|
|
251
|
-
/** @description No content */
|
|
252
154
|
204: never;
|
|
253
|
-
/** @description Bad Request */
|
|
254
155
|
400: never;
|
|
255
|
-
/** @description Not found */
|
|
256
156
|
404: never;
|
|
257
|
-
/** @description Internal Server Error */
|
|
258
157
|
500: never;
|
|
259
158
|
};
|
|
260
159
|
};
|
|
261
|
-
/** @description This method returns item condition metadata on one, multiple, or all eBay categories on an eBay marketplace. This metadata consists of the different item conditions (with IDs) that an eBay category supports, and a boolean to indicate if an eBay category requires an item condition. <br><br>The identifier of the eBay marketplace is passed in as a path parameter, and unless one or more eBay category IDs are passed in through the <b>filter</b> query parameter, this method will return metadata on every single category for the specified marketplace. If you only want to view item condition metadata for one eBay category or a select group of eBay categories, you can pass in up to 50 eBay category ID through the <b>filter</b> query parameter. <p class="tablenote"><strong>Important!:</strong> <b>Certified - Refurbished</b>-eligible sellers, and sellers who are eligible to list with the new values (EXCELLENT_REFURBISHED, VERY_GOOD_REFURBISHED, and GOOD_REFURBISHED) in category 9355, must use an OAuth token created with the <a href="/api-docs/static/oauth-authorization-code-grant.html" target="_blank">authorization code grant flow</a> and <b>https://api.ebay.com/oauth/api_scope/sell.inventory</b> scope in order to retrieve the refurbished conditions for the relevant categories. <br/><br/> These restricted item conditions will not be returned if an OAuth token created with the <a href="/api-docs/static/oauth-client-credentials-grant.html" target="_blank">client credentials grant flow</a> and <b>https://api.ebay.com/oauth/api_scope</b> scope is used, or if any seller is not eligible to list with that item condition. <br/><br/> See the <a href="/api-docs/static/oauth-scopes.html" target="_blank">Specifying OAuth scopes</a> topic for more information about specifying scopes.</p> <p class="tablenote"><strong>Tip:</strong> If you retrieve metadata on all eBay categories for a marketplace, the response payload can be quite large. For this reason, we suggest that you consider using the <b>Accept-Encoding</b> request header and set its value to <code>application/gzip</code>. By doing this, the response payload output will be compressed into a GZIP file. </p> */
|
|
262
160
|
getItemConditionPolicies: {
|
|
263
161
|
parameters: {
|
|
264
162
|
query?: {
|
|
265
|
-
/** @description This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code> */
|
|
266
163
|
filter?: string;
|
|
267
164
|
};
|
|
268
165
|
path: {
|
|
269
|
-
/** @description This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href="/api-docs/static/rest-request-components.html#marketpl" target="_blank">Request components</a>. */
|
|
270
166
|
marketplace_id: string;
|
|
271
167
|
};
|
|
272
168
|
};
|
|
273
169
|
responses: {
|
|
274
|
-
/** @description Success */
|
|
275
170
|
200: {
|
|
276
171
|
content: {
|
|
277
172
|
"application/json": components["schemas"]["ItemConditionPolicyResponse"];
|
|
278
173
|
};
|
|
279
174
|
};
|
|
280
|
-
/** @description No content */
|
|
281
175
|
204: never;
|
|
282
|
-
/** @description Bad Request */
|
|
283
176
|
400: never;
|
|
284
|
-
/** @description Not found */
|
|
285
177
|
404: never;
|
|
286
|
-
/** @description Internal Server Error */
|
|
287
178
|
500: never;
|
|
288
179
|
};
|
|
289
180
|
};
|
|
290
|
-
/** @description This method returns the eBay policies that define the allowed listing structures for the categories of a specific marketplace. The listing-structure policies currently pertain to whether or not you can list items with variations. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
291
181
|
getListingStructurePolicies: {
|
|
292
182
|
parameters: {
|
|
293
183
|
query?: {
|
|
294
|
-
/** @description This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code> */
|
|
295
184
|
filter?: string;
|
|
296
185
|
};
|
|
297
186
|
path: {
|
|
298
|
-
/** @description This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href="/api-docs/static/rest-request-components.html#marketpl" target="_blank">Request components</a>. */
|
|
299
187
|
marketplace_id: string;
|
|
300
188
|
};
|
|
301
189
|
};
|
|
302
190
|
responses: {
|
|
303
|
-
/** @description Success */
|
|
304
191
|
200: {
|
|
305
192
|
content: {
|
|
306
193
|
"application/json": components["schemas"]["ListingStructurePolicyResponse"];
|
|
307
194
|
};
|
|
308
195
|
};
|
|
309
|
-
/** @description No content */
|
|
310
196
|
204: never;
|
|
311
|
-
/** @description Bad Request */
|
|
312
197
|
400: never;
|
|
313
|
-
/** @description Not found */
|
|
314
198
|
404: never;
|
|
315
|
-
/** @description Internal Server Error */
|
|
316
199
|
500: never;
|
|
317
200
|
};
|
|
318
201
|
};
|
|
319
|
-
/** @description This method returns the eBay policies that define the supported negotiated price features (like "best offer") for the categories of a specific marketplace. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
320
202
|
getNegotiatedPricePolicies: {
|
|
321
203
|
parameters: {
|
|
322
204
|
query?: {
|
|
323
|
-
/** @description This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code> */
|
|
324
205
|
filter?: string;
|
|
325
206
|
};
|
|
326
207
|
path: {
|
|
327
|
-
/** @description This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href="/api-docs/static/rest-request-components.html#marketpl" target="_blank">Request components</a>. */
|
|
328
208
|
marketplace_id: string;
|
|
329
209
|
};
|
|
330
210
|
};
|
|
331
211
|
responses: {
|
|
332
|
-
/** @description Success */
|
|
333
212
|
200: {
|
|
334
213
|
content: {
|
|
335
214
|
"application/json": components["schemas"]["NegotiatedPricePolicyResponse"];
|
|
336
215
|
};
|
|
337
216
|
};
|
|
338
|
-
/** @description No content */
|
|
339
217
|
204: never;
|
|
340
|
-
/** @description Bad Request */
|
|
341
218
|
400: never;
|
|
342
|
-
/** @description Not found */
|
|
343
219
|
404: never;
|
|
344
|
-
/** @description Internal Server Error */
|
|
345
220
|
500: never;
|
|
346
221
|
};
|
|
347
222
|
};
|
|
348
|
-
/** @description This method retrieves a list of leaf categories for a marketplace and identifies the categories that require items to have an eBay product ID value in order to be listed in those categories. An eBay product ID value (known as an "ePID") is a value that references a specific product in the eBay Catalog. <p class="tablenote"><strong>Important:</strong> eBay catalog product adoption is not currently required for any product categories. If product adoption requirements change, they will be noted here.</p> <p>Use the <b>marketplace_id</b> path parameter to specify the marketplace you want to review and use the <b>filter</b> query parameter to limit the categories returned in the response.</p> <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
349
223
|
getProductAdoptionPolicies: {
|
|
350
224
|
parameters: {
|
|
351
225
|
query?: {
|
|
352
|
-
/** @description This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code> */
|
|
353
226
|
filter?: string;
|
|
354
227
|
};
|
|
355
228
|
path: {
|
|
356
|
-
/** @description This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href="/api-docs/static/rest-request-components.html#marketpl" target="_blank">Request components</a>. */
|
|
357
229
|
marketplace_id: string;
|
|
358
230
|
};
|
|
359
231
|
};
|
|
360
232
|
responses: {
|
|
361
|
-
/** @description Success */
|
|
362
233
|
200: {
|
|
363
234
|
content: {
|
|
364
235
|
"application/json": components["schemas"]["ProductAdoptionPolicyResponse"];
|
|
365
236
|
};
|
|
366
237
|
};
|
|
367
|
-
/** @description No content */
|
|
368
238
|
204: never;
|
|
369
|
-
/** @description Bad Request */
|
|
370
239
|
400: never;
|
|
371
|
-
/** @description Not Found */
|
|
372
240
|
404: never;
|
|
373
|
-
/** @description Internal Server Error */
|
|
374
241
|
500: never;
|
|
375
242
|
};
|
|
376
243
|
};
|
|
377
|
-
/** @description This method returns the eBay policies that define whether or not you must include a return policy for the items you list in the categories of a specific marketplace, plus the guidelines for creating domestic and international return policies in the different eBay categories. <br><br>By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the <b>filter</b> query parameter to specify only the category IDs you want to review. <p class="tablenote"><strong>Tip:</strong> This method can return a very large response payload and we strongly recommend you get the results from this call in a GZIP file by including the following HTTP header with your request: <br><br><code> Accept-Encoding: application/gzip</code></p> */
|
|
378
244
|
getReturnPolicies: {
|
|
379
245
|
parameters: {
|
|
380
246
|
query?: {
|
|
381
|
-
/** @description This query parameter limits the response by returning policy information for only the selected sections of the category tree. Supply <b>categoryId</b> values for the sections of the tree you want returned. <br><br>When you specify a <b>categoryId</b> value, the returned category tree includes the policies for that parent node, plus the policies for any leaf nodes below that parent node. <br><br>The parameter takes a list of <b>categoryId</b> values and you can specify up to 50 separate category IDs. Separate multiple values with a pipe character ('|'). If you specify more than 50 <code>categoryId</code> values, eBay returns the policies for the first 50 IDs and a warning that not all categories were returned. <br><br><b>Example:</b> <code>filter=categoryIds:{100|101|102}</code> <br><br>Note that you must URL-encode the parameter list, which results in the following filter for the above example: <br><br> <code>filter=categoryIds%3A%7B100%7C101%7C102%7D</code> */
|
|
382
247
|
filter?: string;
|
|
383
248
|
};
|
|
384
249
|
path: {
|
|
385
|
-
/** @description This path parameter specifies the eBay marketplace for which policy information is retrieved. See the following page for a list of valid eBay marketplace IDs: <a href="/api-docs/static/rest-request-components.html#marketpl" target="_blank">Request components</a>. */
|
|
386
250
|
marketplace_id: string;
|
|
387
251
|
};
|
|
388
252
|
};
|
|
389
253
|
responses: {
|
|
390
|
-
/** @description Success */
|
|
391
254
|
200: {
|
|
392
255
|
content: {
|
|
393
256
|
"application/json": components["schemas"]["ReturnPolicyResponse"];
|
|
394
257
|
};
|
|
395
258
|
};
|
|
396
|
-
/** @description No content */
|
|
397
259
|
204: never;
|
|
398
|
-
/** @description Bad Request */
|
|
399
260
|
400: never;
|
|
400
|
-
/** @description Not found */
|
|
401
261
|
404: never;
|
|
402
|
-
/** @description Internal Server Error */
|
|
403
262
|
500: never;
|
|
404
263
|
};
|
|
405
264
|
};
|
|
406
|
-
/** @description This method retrieves all the sales tax jurisdictions for the country that you specify in the <b>countryCode</b> path parameter. Countries with valid sales tax jurisdictions are Canada and the US. <br><br>The response from this call tells you the jurisdictions for which a seller can configure tax tables. Although setting up tax tables is optional, you can use the <b>createOrReplaceSalesTax</b> in the <b>Account API</b> call to configure the tax tables for the jurisdictions you sell to. */
|
|
407
265
|
getSalesTaxJurisdictions: {
|
|
408
266
|
parameters: {
|
|
409
267
|
path: {
|
|
410
|
-
/** @description This path parameter specifies the two-letter <a href="https://www.iso.org/iso-3166-country-codes.html" title="https://www.iso.org" target="_blank">ISO 3166</a> country code for the country whose jurisdictions you want to retrieve. eBay provides sales tax jurisdiction information for Canada and the United States.Valid values for this path parameter are <code>CA</code> and <code>US</code>. */
|
|
411
268
|
countryCode: string;
|
|
412
269
|
};
|
|
413
270
|
};
|
|
414
271
|
responses: {
|
|
415
|
-
/** @description Success */
|
|
416
272
|
200: {
|
|
417
273
|
content: {
|
|
418
274
|
"application/json": components["schemas"]["SalesTaxJurisdictions"];
|
|
419
275
|
};
|
|
420
276
|
};
|
|
421
|
-
/** @description Bad Request */
|
|
422
277
|
400: never;
|
|
423
|
-
/** @description Not Found */
|
|
424
278
|
404: never;
|
|
425
|
-
/** @description Internal Server Error */
|
|
426
279
|
500: never;
|
|
427
280
|
};
|
|
428
281
|
};
|