ebay-api 8.5.1 → 8.6.1

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.
Files changed (318) hide show
  1. package/README.md +2 -2
  2. package/dist/api/apiFactory.d.ts +0 -3
  3. package/dist/api/apiFactory.js +0 -4
  4. package/dist/api/base.d.ts +0 -3
  5. package/dist/api/base.js +0 -3
  6. package/dist/api/digitalSignature.d.ts +0 -33
  7. package/dist/api/digitalSignature.js +1 -41
  8. package/dist/api/index.d.ts +0 -3
  9. package/dist/api/index.js +0 -3
  10. package/dist/api/restful/buy/browse/index.d.ts +0 -66
  11. package/dist/api/restful/buy/browse/index.js +0 -73
  12. package/dist/api/restful/buy/deal/index.d.ts +0 -32
  13. package/dist/api/restful/buy/deal/index.js +0 -32
  14. package/dist/api/restful/buy/feed/index.d.ts +0 -33
  15. package/dist/api/restful/buy/feed/index.js +0 -33
  16. package/dist/api/restful/buy/marketing/index.d.ts +0 -18
  17. package/dist/api/restful/buy/marketing/index.js +0 -22
  18. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  19. package/dist/api/restful/buy/marketplaceInsights/index.js +0 -21
  20. package/dist/api/restful/buy/offer/index.d.ts +0 -15
  21. package/dist/api/restful/buy/offer/index.js +0 -15
  22. package/dist/api/restful/buy/order/index.d.ts +0 -227
  23. package/dist/api/restful/buy/order/index.js +0 -227
  24. package/dist/api/restful/commerce/catalog/index.d.ts +0 -54
  25. package/dist/api/restful/commerce/catalog/index.js +0 -54
  26. package/dist/api/restful/commerce/charity/index.d.ts +0 -21
  27. package/dist/api/restful/commerce/charity/index.js +0 -21
  28. package/dist/api/restful/commerce/identity/index.d.ts +0 -7
  29. package/dist/api/restful/commerce/identity/index.js +0 -7
  30. package/dist/api/restful/commerce/notification/index.d.ts +0 -93
  31. package/dist/api/restful/commerce/notification/index.js +0 -93
  32. package/dist/api/restful/commerce/taxonomy/index.d.ts +0 -64
  33. package/dist/api/restful/commerce/taxonomy/index.js +0 -64
  34. package/dist/api/restful/commerce/translation/index.d.ts +0 -8
  35. package/dist/api/restful/commerce/translation/index.js +0 -8
  36. package/dist/api/restful/developer/analytics/index.d.ts +0 -15
  37. package/dist/api/restful/developer/analytics/index.js +0 -15
  38. package/dist/api/restful/developer/keyManagement/index.d.ts +0 -15
  39. package/dist/api/restful/developer/keyManagement/index.js +0 -15
  40. package/dist/api/restful/index.d.ts +0 -16
  41. package/dist/api/restful/index.js +1 -23
  42. package/dist/api/restful/postOrder/cancellation/index.d.ts +0 -43
  43. package/dist/api/restful/postOrder/cancellation/index.js +1 -46
  44. package/dist/api/restful/postOrder/case/index.d.ts +0 -46
  45. package/dist/api/restful/postOrder/case/index.js +0 -46
  46. package/dist/api/restful/postOrder/inquiry/index.d.ts +0 -64
  47. package/dist/api/restful/postOrder/inquiry/index.js +0 -64
  48. package/dist/api/restful/postOrder/return/index.d.ts +0 -190
  49. package/dist/api/restful/postOrder/return/index.js +0 -190
  50. package/dist/api/restful/sell/account/index.d.ts +0 -241
  51. package/dist/api/restful/sell/account/index.js +0 -241
  52. package/dist/api/restful/sell/analytics/index.d.ts +0 -26
  53. package/dist/api/restful/sell/analytics/index.js +0 -26
  54. package/dist/api/restful/sell/compliance/index.d.ts +0 -23
  55. package/dist/api/restful/sell/compliance/index.js +0 -23
  56. package/dist/api/restful/sell/feed/index.d.ts +0 -135
  57. package/dist/api/restful/sell/feed/index.js +0 -135
  58. package/dist/api/restful/sell/finances/index.d.ts +0 -51
  59. package/dist/api/restful/sell/finances/index.js +0 -51
  60. package/dist/api/restful/sell/fulfillment/index.d.ts +0 -108
  61. package/dist/api/restful/sell/fulfillment/index.js +0 -108
  62. package/dist/api/restful/sell/inventory/index.d.ts +0 -197
  63. package/dist/api/restful/sell/inventory/index.js +0 -197
  64. package/dist/api/restful/sell/listing/index.d.ts +0 -8
  65. package/dist/api/restful/sell/listing/index.js +0 -8
  66. package/dist/api/restful/sell/logistics/index.d.ts +0 -33
  67. package/dist/api/restful/sell/logistics/index.js +0 -33
  68. package/dist/api/restful/sell/marketing/index.d.ts +16 -495
  69. package/dist/api/restful/sell/marketing/index.js +48 -494
  70. package/dist/api/restful/sell/metadata/index.d.ts +0 -65
  71. package/dist/api/restful/sell/metadata/index.js +0 -65
  72. package/dist/api/restful/sell/negotiation/index.d.ts +0 -14
  73. package/dist/api/restful/sell/negotiation/index.js +0 -14
  74. package/dist/api/restful/sell/recommendation/index.d.ts +0 -15
  75. package/dist/api/restful/sell/recommendation/index.js +0 -15
  76. package/dist/api/traditional/XMLRequest.d.ts +0 -44
  77. package/dist/api/traditional/XMLRequest.js +0 -46
  78. package/dist/api/traditional/clientAlerts/index.js +0 -1
  79. package/dist/api/traditional/index.d.ts +0 -3
  80. package/dist/api/traditional/index.js +0 -5
  81. package/dist/api/traditional/shopping/index.js +0 -1
  82. package/dist/auth/authNAuth.d.ts +0 -5
  83. package/dist/auth/authNAuth.js +0 -5
  84. package/dist/auth/index.d.ts +0 -3
  85. package/dist/auth/index.js +0 -3
  86. package/dist/auth/oAuth2.d.ts +0 -52
  87. package/dist/auth/oAuth2.js +0 -53
  88. package/dist/eBayApi.d.ts +0 -11
  89. package/dist/eBayApi.js +0 -14
  90. package/dist/ebay-api.min.mjs +1 -1
  91. package/dist/enums/restfulEnums.d.ts +0 -5
  92. package/dist/enums/restfulEnums.js +0 -5
  93. package/dist/errors/index.d.ts +0 -19
  94. package/dist/errors/index.js +1 -21
  95. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  96. package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  97. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  98. package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  99. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  100. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  101. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  102. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  103. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  104. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  105. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  106. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  107. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  108. package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  109. package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
  110. package/dist/types/restful/specs/cancellation_oas3.js +0 -4
  111. package/dist/types/restful/specs/case_oas3.d.ts +0 -31
  112. package/dist/types/restful/specs/case_oas3.js +0 -4
  113. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  114. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  115. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  116. package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  117. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  118. package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  119. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  120. package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  121. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  122. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  123. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  124. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  125. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  126. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  127. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  128. package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  129. package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
  130. package/dist/types/restful/specs/inquiry_oas3.js +0 -4
  131. package/dist/types/restful/specs/return_oas3.d.ts +0 -130
  132. package/dist/types/restful/specs/return_oas3.js +0 -4
  133. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  134. package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
  135. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  136. package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  137. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  138. package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  139. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  140. package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  141. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  142. package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  143. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  144. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  145. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  146. package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  147. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  148. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  149. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  150. package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  151. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  152. package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  153. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  154. package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  155. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  156. package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  157. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  158. package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  159. package/dist/types/restfulTypes.d.ts +3 -0
  160. package/lib/api/apiFactory.d.ts +0 -3
  161. package/lib/api/apiFactory.js +0 -4
  162. package/lib/api/base.d.ts +0 -3
  163. package/lib/api/base.js +0 -3
  164. package/lib/api/digitalSignature.d.ts +0 -33
  165. package/lib/api/digitalSignature.js +1 -41
  166. package/lib/api/index.d.ts +0 -3
  167. package/lib/api/index.js +0 -3
  168. package/lib/api/restful/buy/browse/index.d.ts +0 -66
  169. package/lib/api/restful/buy/browse/index.js +0 -73
  170. package/lib/api/restful/buy/deal/index.d.ts +0 -32
  171. package/lib/api/restful/buy/deal/index.js +0 -32
  172. package/lib/api/restful/buy/feed/index.d.ts +0 -33
  173. package/lib/api/restful/buy/feed/index.js +0 -33
  174. package/lib/api/restful/buy/marketing/index.d.ts +0 -18
  175. package/lib/api/restful/buy/marketing/index.js +0 -22
  176. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
  177. package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
  178. package/lib/api/restful/buy/offer/index.d.ts +0 -15
  179. package/lib/api/restful/buy/offer/index.js +0 -15
  180. package/lib/api/restful/buy/order/index.d.ts +0 -227
  181. package/lib/api/restful/buy/order/index.js +0 -227
  182. package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
  183. package/lib/api/restful/commerce/catalog/index.js +0 -54
  184. package/lib/api/restful/commerce/charity/index.d.ts +0 -21
  185. package/lib/api/restful/commerce/charity/index.js +0 -21
  186. package/lib/api/restful/commerce/identity/index.d.ts +0 -7
  187. package/lib/api/restful/commerce/identity/index.js +0 -7
  188. package/lib/api/restful/commerce/notification/index.d.ts +0 -93
  189. package/lib/api/restful/commerce/notification/index.js +0 -93
  190. package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
  191. package/lib/api/restful/commerce/taxonomy/index.js +0 -64
  192. package/lib/api/restful/commerce/translation/index.d.ts +0 -8
  193. package/lib/api/restful/commerce/translation/index.js +0 -8
  194. package/lib/api/restful/developer/analytics/index.d.ts +0 -15
  195. package/lib/api/restful/developer/analytics/index.js +0 -15
  196. package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
  197. package/lib/api/restful/developer/keyManagement/index.js +0 -15
  198. package/lib/api/restful/index.d.ts +0 -16
  199. package/lib/api/restful/index.js +1 -23
  200. package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
  201. package/lib/api/restful/postOrder/cancellation/index.js +1 -46
  202. package/lib/api/restful/postOrder/case/index.d.ts +0 -46
  203. package/lib/api/restful/postOrder/case/index.js +0 -46
  204. package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
  205. package/lib/api/restful/postOrder/inquiry/index.js +0 -64
  206. package/lib/api/restful/postOrder/return/index.d.ts +0 -190
  207. package/lib/api/restful/postOrder/return/index.js +0 -190
  208. package/lib/api/restful/sell/account/index.d.ts +0 -241
  209. package/lib/api/restful/sell/account/index.js +0 -241
  210. package/lib/api/restful/sell/analytics/index.d.ts +0 -26
  211. package/lib/api/restful/sell/analytics/index.js +0 -26
  212. package/lib/api/restful/sell/compliance/index.d.ts +0 -23
  213. package/lib/api/restful/sell/compliance/index.js +0 -23
  214. package/lib/api/restful/sell/feed/index.d.ts +0 -135
  215. package/lib/api/restful/sell/feed/index.js +0 -135
  216. package/lib/api/restful/sell/finances/index.d.ts +0 -51
  217. package/lib/api/restful/sell/finances/index.js +0 -51
  218. package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
  219. package/lib/api/restful/sell/fulfillment/index.js +0 -108
  220. package/lib/api/restful/sell/inventory/index.d.ts +0 -197
  221. package/lib/api/restful/sell/inventory/index.js +0 -197
  222. package/lib/api/restful/sell/listing/index.d.ts +0 -8
  223. package/lib/api/restful/sell/listing/index.js +0 -8
  224. package/lib/api/restful/sell/logistics/index.d.ts +0 -33
  225. package/lib/api/restful/sell/logistics/index.js +0 -33
  226. package/lib/api/restful/sell/marketing/index.d.ts +16 -495
  227. package/lib/api/restful/sell/marketing/index.js +48 -494
  228. package/lib/api/restful/sell/metadata/index.d.ts +0 -65
  229. package/lib/api/restful/sell/metadata/index.js +0 -65
  230. package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
  231. package/lib/api/restful/sell/negotiation/index.js +0 -14
  232. package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
  233. package/lib/api/restful/sell/recommendation/index.js +0 -15
  234. package/lib/api/traditional/XMLRequest.d.ts +0 -44
  235. package/lib/api/traditional/XMLRequest.js +0 -46
  236. package/lib/api/traditional/clientAlerts/index.js +0 -1
  237. package/lib/api/traditional/index.d.ts +0 -3
  238. package/lib/api/traditional/index.js +0 -5
  239. package/lib/api/traditional/shopping/index.js +0 -1
  240. package/lib/auth/authNAuth.d.ts +0 -5
  241. package/lib/auth/authNAuth.js +0 -5
  242. package/lib/auth/index.d.ts +0 -3
  243. package/lib/auth/index.js +0 -3
  244. package/lib/auth/oAuth2.d.ts +0 -52
  245. package/lib/auth/oAuth2.js +0 -53
  246. package/lib/eBayApi.d.ts +0 -11
  247. package/lib/eBayApi.js +0 -14
  248. package/lib/ebay-api.min.js +1 -1
  249. package/lib/enums/restfulEnums.d.ts +0 -5
  250. package/lib/enums/restfulEnums.js +0 -5
  251. package/lib/errors/index.d.ts +0 -19
  252. package/lib/errors/index.js +1 -21
  253. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
  254. package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
  255. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
  256. package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
  257. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
  258. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
  259. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
  260. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
  261. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
  262. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
  263. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
  264. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
  265. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
  266. package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
  267. package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
  268. package/lib/types/restful/specs/cancellation_oas3.js +0 -4
  269. package/lib/types/restful/specs/case_oas3.d.ts +0 -31
  270. package/lib/types/restful/specs/case_oas3.js +0 -4
  271. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
  272. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
  273. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
  274. package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
  275. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
  276. package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
  277. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
  278. package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
  279. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
  280. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
  281. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
  282. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
  283. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
  284. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
  285. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
  286. package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
  287. package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
  288. package/lib/types/restful/specs/inquiry_oas3.js +0 -4
  289. package/lib/types/restful/specs/return_oas3.d.ts +0 -130
  290. package/lib/types/restful/specs/return_oas3.js +0 -4
  291. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
  292. package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
  293. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
  294. package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
  295. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
  296. package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
  297. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
  298. package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
  299. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
  300. package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
  301. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
  302. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
  303. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
  304. package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
  305. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
  306. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
  307. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
  308. package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
  309. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
  310. package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
  311. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
  312. package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
  313. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
  314. package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
  315. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
  316. package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
  317. package/lib/types/restfulTypes.d.ts +3 -0
  318. package/package.json +2 -2
@@ -1,942 +1,485 @@
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
  "/order/{orderId}": {
7
- /** @description Use this call to retrieve the contents of an order based on its unique identifier, <i>orderId</i>. This value was returned in the <b> getOrders</b> call's <b>orders.orderId</b> field when you searched for orders by creation date, modification date, or fulfillment status. Include the optional <b>fieldGroups</b> query parameter set to <code>TAX_BREAKDOWN</code> to return a breakdown of the taxes and fees. <br /><br /> The returned <b>Order</b> object contains information you can use to create and process fulfillments, including: <ul> <li>Information about the buyer and seller</li> <li>Information about the order's line items</li> <li> The plans for packaging, addressing and shipping the order</li> <li>The status of payment, packaging, addressing, and shipping the order</li> <li>A summary of monetary amounts specific to the order such as pricing, payments, and shipping costs</li> <li>A summary of applied taxes and fees, and optionally a breakdown of each </li></ul> */
8
3
  get: operations["getOrder"];
9
4
  };
10
5
  "/order": {
11
- /** @description Use this call to search for and retrieve one or more orders based on their creation date, last modification date, or fulfillment status using the <b>filter</b> parameter. You can alternatively specify a list of orders using the <b>orderIds</b> parameter. Include the optional <b>fieldGroups</b> query parameter set to <code>TAX_BREAKDOWN</code> to return a breakdown of the taxes and fees. <br /><br /> The returned <b>Order</b> objects contain information you can use to create and process fulfillments, including: <ul> <li>Information about the buyer and seller</li> <li>Information about the order's line items</li> <li>The plans for packaging, addressing and shipping the order</li> <li>The status of payment, packaging, addressing, and shipping the order</li> <li>A summary of monetary amounts specific to the order such as pricing, payments, and shipping costs</li> <li>A summary of applied taxes and fees, and optionally a breakdown of each </li></ul> <br /><br /> <span class="tablenote"><strong>Important:</strong> In this call, the <b>cancelStatus.cancelRequests</b> array is returned but is always empty. Use the <b>getOrder</b> call instead, which returns this array fully populated with information about any cancellation requests.</span> */
12
6
  get: operations["getOrders"];
13
7
  };
14
8
  "/order/{order_id}/issue_refund": {
15
- /**
16
- * Issue Refund
17
- * @description This method allows a seller (opted in to eBay Managed Payments) to issue a full or partial refund to a buyer for an order. Full or partial refunds can be issued at the order level or line item level.<br/><br/>The refunds issued through this method are processed asynchronously, so the refund will not show as 'Refunded' right away. A seller will have to make a subsequent <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> call to check the status of the refund. The status of an order refund can be found in the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder#response.paymentSummary.refunds.refundStatus" target="_blank">paymentSummary.refunds.refundStatus</a> field of the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> response. <br/><br/><span class="tablenote"><strong>Note:</strong> eBay Managed Payments is currently only available to a limited number of US sellers, but this program is scheduled to become available to more sellers throughout 2019 and beyond. </span>
18
- */
19
9
  post: operations["issueRefund"];
20
10
  };
21
11
  "/order/{orderId}/shipping_fulfillment": {
22
- /** @description Use this call to retrieve the contents of all fulfillments currently defined for a specified order based on the order's unique identifier, <b>orderId</b>. This value is returned in the <b>getOrders</b> call's <b>members.orderId</b> field when you search for orders by creation date or shipment status. */
23
12
  get: operations["getShippingFulfillments"];
24
- /** @description When you group an order's line items into one or more packages, each package requires a corresponding plan for handling, addressing, and shipping; this is a <i>shipping fulfillment</i>. For each package, execute this call once to generate a shipping fulfillment associated with that package. <br /><br /> <span class="tablenote"><strong>Note:</strong> A single line item in an order can consist of multiple units of a purchased item, and one unit can consist of multiple parts or components. Although these components might be provided by the manufacturer in separate packaging, the seller must include all components of a given line item in the same package.</span> <br /><br />Before using this call for a given package, you must determine which line items are in the package. If the package has been shipped, you should provide the date of shipment in the request. If not provided, it will default to the current date and time. */
25
13
  post: operations["createShippingFulfillment"];
26
14
  };
27
15
  "/order/{orderId}/shipping_fulfillment/{fulfillmentId}": {
28
- /** @description Use this call to retrieve the contents of a fulfillment based on its unique identifier, <b>fulfillmentId</b> (combined with the associated order's <b>orderId</b>). The <b>fulfillmentId</b> value was originally generated by the <b>createShippingFulfillment</b> call, and is returned by the <b>getShippingFulfillments</b> call in the <b>members.fulfillmentId</b> field. */
29
16
  get: operations["getShippingFulfillment"];
30
17
  };
31
18
  "/payment_dispute/{payment_dispute_id}": {
32
- /**
33
- * Get Payment Dispute Details
34
- * @description This method retrieves detailed information on a specific payment dispute. The payment dispute identifier is passed in as path parameter at the end of the call URI.<br/><br/>Below is a summary of the information that is retrieved:<ul><li>Current status of payment dispute</li><li>Amount of the payment dispute</li><li>Reason the payment dispute was opened</li><li>Order and line items associated with the payment dispute</li><li>Seller response options if an action is currently required on the payment dispute</li><li>Details on the results of the payment dispute if it has been closed</li><li>Details on any evidence that was provided by the seller to fight the payment dispute</li></ul>
35
- */
36
19
  get: operations["getPaymentDispute"];
37
20
  };
38
21
  "/payment_dispute/{payment_dispute_id}/fetch_evidence_content": {
39
- /**
40
- * Get Payment Dispute Evidence File
41
- * @description This call retrieves a specific evidence file for a payment dispute. The following three identifying parameters are needed in the call URI:<ul><li><strong>payment_dispute_id</strong>: the identifier of the payment dispute. The identifier of each payment dispute is returned in the <strong>getPaymentDisputeSummaries</strong> response.</li><li><strong>evidence_id</strong>: the identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the <strong>evidence</strong> array in the <strong>getPaymentDispute</strong> response.</li><li><strong>file_id</strong>: the identifier of an evidential file. This file must belong to the evidential file set identified through the <strong>evidence_id</strong> query parameter. The identifier of each evidential file is returned under the <strong>evidence.files</strong> array in the <strong>getPaymentDispute</strong> response.</li></ul><p>An actual binary file is returned if the call is successful. An error will occur if any of three identifiers are invalid.</p>
42
- */
43
22
  get: operations["fetchEvidenceContent"];
44
23
  };
45
24
  "/payment_dispute/{payment_dispute_id}/activity": {
46
- /**
47
- * Get Payment Dispute Activity
48
- * @description This method retrieve a log of activity for a payment dispute. The identifier of the payment dispute is passed in as a path parameter. The output includes a timestamp for each action of the payment dispute, from creation to resolution, and all steps in between.
49
- */
50
25
  get: operations["getActivities"];
51
26
  };
52
27
  "/payment_dispute_summary": {
53
- /**
54
- * Search Payment Dispute by Filters
55
- * @description This method is used retrieve one or more payment disputes filed against the seller. These payment disputes can be open or recently closed. The following filter types are available in the request payload to control the payment disputes that are returned:<ul><li>Dispute filed against a specific order (<b>order_id</b> parameter is used)</li><li>Dispute(s) filed by a specific buyer (<b>buyer_username</b> parameter is used)</li><li>Dispute(s) filed within a specific date range (<b>open_date_from</b> and/or <b>open_date_to</b> parameters are used)</li><li>Disputes in a specific state (<b>payment_dispute_status</b> parameter is used)</li></ul>More than one of these filter types can be used together. See the request payload request fields for more information about how each filter is used.<br/><br/>If none of the filters are used, all open and recently closed payment disputes are returned.<br/><br/>Pagination is also available. See the <b>limit</b> and <b>offset</b> fields for more information on how pagination is used for this method.
56
- */
57
28
  get: operations["getPaymentDisputeSummaries"];
58
29
  };
59
30
  "/payment_dispute/{payment_dispute_id}/contest": {
60
- /**
61
- * Contest Payment Dispute
62
- * @description This method is used if the seller wishes to contest a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br/><br/><span class="tablenote"><strong>Note:</strong> Before contesting a payment dispute, the seller must upload all evidence files using the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong>), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>If a seller decides to contest a payment dispute, that seller should be prepared to provide evidential documents such as proof of delivery, proof of authentication, or other documents. The type of evidential documents that the seller will provide will depend on why the buyer initiated the payment dispute.<br><br>The <strong>revision</strong> field in the request payload is required, and the <strong>returnAddress</strong> field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields.
63
- */
64
31
  post: operations["contestPaymentDispute"];
65
32
  };
66
33
  "/payment_dispute/{payment_dispute_id}/accept": {
67
- /**
68
- * Accept Payment Dispute
69
- * @description This method is used if the seller wishes to accept a payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br>The <strong>revision</strong> field in the request payload is required, and the <strong>returnAddress</strong> field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields.
70
- */
71
34
  post: operations["acceptPaymentDispute"];
72
35
  };
73
36
  "/payment_dispute/{payment_dispute_id}/upload_evidence_file": {
74
- /**
75
- * Upload an Evidence File
76
- * @description This method is used to upload an evidence file for a contested payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br>The <strong>uploadEvidenceFile</strong> only uploads an encrypted, binary image file (using multipart/form-data HTTP request header), and does not have a request payload. The three image formats supported at this time are .JPEG, .JPG, and .PNG.<br><br>Once the file is successfully uploaded, the seller will need to grab the <strong>fileId</strong> value in the response payload to add this file to a new evidence set using the <strong>addEvidence</strong> method, or to add this file to an existing evidence set using the <strong>updateEvidence</strong> method.
77
- */
78
37
  post: operations["uploadEvidenceFile"];
79
38
  };
80
39
  "/payment_dispute/{payment_dispute_id}/add_evidence": {
81
- /**
82
- * Add an Evidence File
83
- * @description This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br/><br/><span class="tablenote"><strong>Note:</strong> All evidence files should be uploaded using <strong>addEvidence</strong> and <strong>updateEvidence</strong> before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong> or through My eBay), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>The file(s) to add are identified through the <strong>files</strong> array in the request payload. Adding one or more new evidence files for a payment dispute triggers the creation of an evidence file, and the unique identifier for the new evidence file is automatically generated and returned in the <strong>evidenceId</strong> field of the <strong>addEvidence</strong> response payload upon a successful call.<br><br>The type of evidence being added should be specified in the <strong>evidenceType</strong> field. All files being added (if more than one) should correspond to this evidence type.<br><br>Upon a successful call, an <strong>evidenceId</strong> value is returned in the response. This indicates that a new evidence set has been created for the payment dispute, and this evidence set includes the evidence file(s) that were passed in to the <strong>fileId</strong> array. The <strong>evidenceId</strong> value will be needed if the seller wishes to add to the evidence set by using the <strong>updateEvidence</strong> method, or if they want to retrieve a specific evidence file within the evidence set by using the <strong>fetchEvidenceContent</strong> method.
84
- */
85
40
  post: operations["addEvidence"];
86
41
  };
87
42
  "/payment_dispute/{payment_dispute_id}/update_evidence": {
88
- /**
89
- * Update evidence
90
- * @description This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br/><br/><span class="tablenote"><strong>Note:</strong> All evidence files should be uploaded using <strong>addEvidence</strong> and <strong>updateEvidence</strong> before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong> or through My eBay), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>The unique identifier of the evidence set to update is specified through the <strong>evidenceId</strong> field, and the file(s) to add are identified through the <strong>files</strong> array in the request payload. The unique identifier for an evidence file is automatically generated and returned in the <strong>fileId</strong> field of the <strong>uploadEvidence</strong> response payload upon a successful call. Sellers must make sure to capture the <strong>fileId</strong> value for each evidence file that is uploaded with the <strong>uploadEvidence</strong> method.<br><br>The type of evidence being added should be specified in the <strong>evidenceType</strong> field. All files being added (if more than one) should correspond to this evidence type.<br><br>Upon a successful call, an http status code of <code>204 Success</code> is returned. There is no response payload unless an error occurs. To verify that a new file is a part of the evidence set, the seller can use the <strong>fetchEvidenceContent</strong> method, passing in the proper <strong>evidenceId</strong> and <strong>fileId</strong> values.
91
- */
92
43
  post: operations["updateEvidence"];
93
44
  };
94
45
  }
95
46
  export type webhooks = Record<string, never>;
96
47
  export interface components {
97
48
  schemas: {
98
- /** @description This type is used by base request of the <strong>acceptPaymentDispute</strong> method. */
99
49
  AcceptPaymentDisputeRequest: {
100
- /** @description This container is used if the seller wishes to provide a return address to the buyer. This container should be used if the seller is requesting that the buyer return the item. */
101
50
  returnAddress?: components["schemas"]["ReturnAddress"];
102
- /**
103
- * Format: int32
104
- * @description This integer value indicates the revision number of the payment dispute. This field is required. The current <strong>revision</strong> number for a payment dispute can be retrieved with the <strong>getPaymentDispute</strong> method. Each time an action is taken against a payment dispute, this integer value increases by 1.
105
- */
106
51
  revision?: number;
107
52
  };
108
- /** @description This type is used by the request payload of the <strong>addEvidence</strong> method. The <strong>addEvidence</strong> method is used to create a new evidence set against a payment dispute with one or more evidence files. */
109
53
  AddEvidencePaymentDisputeRequest: {
110
- /** @description This field is used to indicate the type of evidence being provided through one or more evidence files. All evidence files (if more than one) should be associated with the evidence type passed in this field. See the <strong>EvidenceTypeEnum</strong> type for the supported evidence types. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
111
54
  evidenceType?: string;
112
- /** @description This array is used to specify one or more evidence files that will become part of a new evidence set associated with a payment dispute. At least one evidence file must be specified in the <strong>files</strong> array.<br><br> The unique identifier of an evidence file is returned in the response payload of the <strong>uploadEvidence</strong> method. */
113
55
  files?: (components["schemas"]["FileEvidence"])[];
114
- /** @description This required array identifies the order line item(s) for which the evidence file(s) will be applicable. Both the <strong>itemId</strong> and <strong>lineItemID</strong> fields are needed to identify each order line item, and both of these values are returned under the <strong>evidenceRequests.lineItems</strong> array in the <strong>getPaymentDispute</strong> response. */
115
56
  lineItems?: (components["schemas"]["OrderLineItems"])[];
116
57
  };
117
- /** @description This type is used by the response payload of the <strong>addEvidence</strong> method. Its only field is an unique identifier of an evidence set. */
118
58
  AddEvidencePaymentDisputeResponse: {
119
- /** @description The value returned in this field is the unique identifier of the newly-created evidence set. Upon a successful call, this value is automatically genererated. This new evidence set for the payment dispute includes the evidence file(s) that were passed in to the <strong>fileId</strong> array in the request payload. The <strong>evidenceId</strong> value will be needed if the seller wishes to add to the evidence set by using the <strong>updateEvidence</strong> method, or if they want to retrieve a specific evidence file within the evidence set by using the <strong>fetchEvidenceContent</strong> method. */
120
59
  evidenceId?: string;
121
60
  };
122
- /** @description This type contains the details of a geographical address. */
123
61
  Address: {
124
- /** @description The first line of the street address. */
125
62
  addressLine1?: string;
126
- /** @description The second line of the street address. This field can be used for additional address information, such as a suite or apartment number. This field will be returned if defined for the shipping address. */
127
63
  addressLine2?: string;
128
- /** @description The city of the shipping destination. */
129
64
  city?: string;
130
- /** @description The country of the shipping destination, represented as a two-letter ISO 3166-1 alpha-2 country code. For example, <code>US</code> represents the United States, and <code>DE</code> represents Germany. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
131
65
  country?: string;
132
- /** @description The county of the shipping destination. Counties typically, but not always, contain multiple cities or towns. This field is returned if known/available. */
133
66
  county?: string;
134
- /** @description The postal code of the shipping destination. Usually referred to as Zip codes in the US. Most countries have postal codes, but not all. The postal code will be returned if applicable. */
135
67
  postalCode?: string;
136
- /** @description The state or province of the shipping destination. Most countries have states or provinces, but not all. The state or province will be returned if applicable. */
137
68
  stateOrProvince?: string;
138
69
  };
139
- /** @description This type defines the monetary value of an amount. It can provide the amount in both the currency used on the eBay site where an item is being offered and the conversion of that value into another currency, if applicable. */
140
70
  Amount: {
141
- /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the <b>convertedFromValue</b> field. This value is required or returned only if currency conversion/localization is required, and represents the pre-conversion currency. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
142
71
  convertedFromCurrency?: string;
143
- /** @description The monetary amount before any conversion is performed, in the currency specified by the <b>convertedFromCurrency</b> field. This value is required or returned only if currency conversion/localization is required. The <b>value</b> field contains the converted amount of this value, in the currency specified by the <b>currency</b> field. */
144
72
  convertedFromValue?: string;
145
- /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the <b>value</b> field. If currency conversion/localization is required, this is the post-conversion currency of the amount in the <b>value</b> field.<br /><br /><b>Default:</b> The default currency of the eBay marketplace that hosts the listing. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
146
73
  currency?: string;
147
- /** @description The monetary amount, in the currency specified by the <b>currency</b> field. If currency conversion/localization is required, this value is the converted amount, and the <b>convertedFromValue</b> field contains the amount in the original currency. <br><br><i>Required in</i> the <b>amount</b> type. */
148
74
  value?: string;
149
75
  };
150
- /** @description This type contains information about a sales promotion that is applied to a line item. */
151
76
  AppliedPromotion: {
152
- /** @description A description of the applied sales promotion. */
153
77
  description?: string;
154
- /** @description The monetary amount of the sales promotion. */
155
78
  discountAmount?: components["schemas"]["Amount"];
156
- /** @description An eBay-generated unique identifier of the sales promotion.<br/><br/> Multiple types of sales promotions are available to eBay Store owners, including order size/volume discounts, shipping discounts, special coupons, and price markdowns. Sales promotions can be managed through the Marketing tab of Seller Hub in My eBay, or by using the Trading API's <b>SetPromotionalSale</b> call or the Marketing API's <b>createItemPromotion</b> method. */
157
79
  promotionId?: string;
158
80
  };
159
- /** @description This type contains information about the order's buyer. */
160
81
  Buyer: {
161
- /** @description This container consists of address information that can be used by sellers for tax purpose. */
162
82
  taxAddress?: components["schemas"]["TaxAddress"];
163
- /** @description This container consists of taxpayer identification information for buyers from Italy, Spain, or Guatemala. It is currently only returned for orders occurring on the eBay Italy or eBay Spain marketplaces.<br /><br /><span class="tablenote"><strong>Note:</strong> Currently, the <strong>taxIdentifier</strong> container is only returned in <strong>getOrder</strong> and not in <strong>getOrders</strong>. So, if a seller wanted to view a buyer's tax information for a particular order returned in <strong>getOrders</strong>, that seller would need to use the <strong>orderId</strong> value for that particular order, and then run a <strong>getOrder</strong> call against that order ID. </span> */
164
83
  taxIdentifier?: components["schemas"]["TaxIdentifier"];
165
- /** @description The buyer's eBay user ID. */
166
84
  username?: string;
167
85
  };
168
- /** @description This type contains information about a buyer request to cancel an order. */
169
86
  CancelRequest: {
170
- /** @description The date and time that the order cancellation was completed, if applicable. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the cancellation request has actually been approved by the seller.<br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
171
87
  cancelCompletedDate?: string;
172
- /** @description This string value indicates the party who made the initial cancellation request. Typically, either the 'Buyer' or 'Seller'. If a cancellation request has been made, this field should be returned. */
173
88
  cancelInitiator?: string;
174
- /** @description The reason why the <b>cancelInitiator</b> initiated the cancellation request. Cancellation reasons for a buyer might include 'order placed by mistake' or 'order won't arrive in time'. For a seller, a typical cancellation reason is 'out of stock'. If a cancellation request has been made, this field should be returned. */
175
89
  cancelReason?: string;
176
- /** @description The date and time that the order cancellation was requested. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is returned for each cancellation request.<br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
177
90
  cancelRequestedDate?: string;
178
- /** @description The unique identifier of the order cancellation request. This field is returned for each cancellation request. */
179
91
  cancelRequestId?: string;
180
- /** @description The current stage or condition of the cancellation request. This field is returned for each cancellation request. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:CancelRequestStateEnum'>eBay API documentation</a> */
181
92
  cancelRequestState?: string;
182
93
  };
183
- /** @description This type contains information about any requests that have been made to cancel an order. */
184
94
  CancelStatus: {
185
- /** @description The date and time the order was cancelled, if applicable. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
186
95
  cancelledDate?: string;
187
- /** @description This array contains details of one or more buyer requests to cancel the order. <br /><br /><b>For the getOrders call:</b> This array is returned but is always empty.<br /><b>For the getOrder call:</b> This array is returned fully populated with information about any cancellation requests. */
188
96
  cancelRequests?: (components["schemas"]["CancelRequest"])[];
189
- /** @description The state of the order with regard to cancellation. This field is always returned, and if there are no cancellation requests, a value of <code>NONE_REQUESTED</code> is returned. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:CancelStateEnum'>eBay API documentation</a> */
190
97
  cancelState?: string;
191
98
  };
192
- /** @description This type is used by the request payload of the <strong>contestPaymentDispute</strong> method. */
193
99
  ContestPaymentDisputeRequest: {
194
- /** @description This container is needed if the seller is requesting that the buyer return the item. If this container is used, all relevant fields must be included, including <strong>fullName</strong> and <strong>primaryPhone</strong>. */
195
100
  returnAddress?: components["schemas"]["ReturnAddress"];
196
- /**
197
- * Format: int32
198
- * @description This integer value indicates the revision number of the payment dispute. This field is required. The current <strong>revision</strong> number for a payment dispute can be retrieved with the <strong>getPaymentDispute</strong> method. Each time an action is taken against a payment dispute, this integer value increases by 1.
199
- */
200
101
  revision?: number;
201
102
  };
202
- /** @description This type contains a breakdown of all costs associated with the fulfillment of a line item. */
203
103
  DeliveryCost: {
204
- /** @description The amount of any import charges applied to international shipping of the line item. This container is only returned if import charges apply to the line item. */
205
104
  importCharges?: components["schemas"]["Amount"];
206
- /** @description The total cost of shipping all units of the line item. This container is always returned even when the shipping cost is free, in which case the <b>value</b> field will show <code>0.0</code> (dollars). */
207
105
  shippingCost?: components["schemas"]["Amount"];
208
- /** @description This field shows the fee due to eBay's international shipping provider for a line item that is being shipped through the Global Shipping Program.<br /><br />This container is only returned for line items being shipped internationally through the Global Shipping Program, which is currently only supported in the US and UK marketplaces.<br /><br /><span class="tablenote"><strong>Note:</strong> The value returned for this field will always be <code>0.0</code> for line items sold in the UK marketplace.</span> */
209
106
  shippingIntermediationFee?: components["schemas"]["Amount"];
210
107
  };
211
- /** @description This type defines the monetary value of an amount. It can provide the amount in both the currency used on the eBay site where an item is being offered and the conversion of that value into another currency, if applicable. */
212
108
  DisputeAmount: {
213
- /** @description The three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank">ISO 4217</a> code representing the currency of the amount in the <b> convertedFromValue</b> field. This value is the pre-conversion currency.<br><br>This field is only returned if/when currency conversion was applied by eBay. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
214
109
  convertedFromCurrency?: string;
215
- /** @description The monetary amount before any conversion is performed, in the currency specified by the <b> convertedFromCurrency</b> field. This value is the pre-conversion amount. The <b> value</b> field contains the converted amount of this value, in the currency specified by the <b> currency</b> field.<br><br>This field is only returned if/when currency conversion was applied by eBay. */
216
110
  convertedFromValue?: string;
217
- /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the <b>value</b> field. This field is always returned with any container using <b>Amount</b> type. <br /><br /><b>Default</b>: The currency of the authenticated user's country. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
218
111
  currency?: string;
219
- /** @description The exchange rate used for the monetary conversion. This field shows the exchange rate used to convert the dollar value in the <b>value</b> field from the dollar value in the <b>convertedFromValue</b> field.<br><br>This field is only returned if/when currency conversion was applied by eBay. */
220
112
  exchangeRate?: string;
221
- /** @description The monetary amount, in the currency specified by the <b>currency</b> field. This field is always returned with any container using <b>Amount</b> type. */
222
113
  value?: string;
223
114
  };
224
- /** @description This type is used by the <strong>evidence</strong> array that is returned in the <strong>getPaymentDispute</strong> response if one or more evidential documents are associated with the payment dispute. */
225
115
  DisputeEvidence: {
226
- /** @description Unique identifier of the evidential file set. Potentially, each evidential file set can have more than one file, that is why there is this file set identifier, and then an identifier for each file within this file set. */
227
116
  evidenceId?: string;
228
- /** @description This enumeration value shows the type of evidential file provided. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
229
117
  evidenceType?: string;
230
- /** @description This array shows the name, ID, file type, and upload date for each provided file. */
231
118
  files?: (components["schemas"]["FileInfo"])[];
232
- /** @description This array shows one or more order line items associated with the evidential document that has been provided. */
233
119
  lineItems?: (components["schemas"]["OrderLineItems"])[];
234
- /** @description The timestamp in this field shows the date/time when the seller provided a requested evidential document to eBay. <br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
235
120
  providedDate?: string;
236
- /** @description The timestamp in this field shows the date/time when eBay requested the evidential document from the seller in response to a payment dispute. <br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
237
121
  requestDate?: string;
238
- /** @description The timestamp in this field shows the date/time when the seller was expected to provide a requested evidential document to eBay. <br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
239
122
  respondByDate?: string;
240
- /** @description This array shows the shipping carrier and shipment tracking number associated with each shipment package of the order. This array is returned if the seller has provided shipment tracking information as evidence to support <code>PROOF_OF_DELIVERY</code>. */
241
123
  shipmentTracking?: (components["schemas"]["TrackingInfo"])[];
242
124
  };
243
- /** @description This type defines the base response payload of the <strong>getPaymentDisputeSummaries</strong> method. Each payment dispute that matches the input criteria is returned under the <strong>paymentDisputeSummaries</strong> array. */
244
125
  DisputeSummaryResponse: {
245
- /** @description The URI of the <strong>getPaymentDisputeSummaries</strong> call request that produced the current page of the result set. */
246
126
  href?: string;
247
- /**
248
- * Format: int32
249
- * @description This value shows the maximum number of payment disputes that will appear on one page of the result set. The <strong>limit</strong> value can be passed in as a query parameter in the request, or if it is not used, it defaults to <code>200</code>. If the value in the <strong>total</strong> field exceeds this <strong>limit</strong> value, there are multiple pages in the current result set.<br><br><b>Min</b>: 1; <b>Max</b>: 200; <b>Default</b>: 200
250
- */
251
127
  limit?: number;
252
- /** @description The <strong>getPaymentDisputeSummaries</strong> call URI to use if you wish to view the next page of the result set. For example, the following URI returns records 11 thru 20 from the collection of payment disputes:<br/><br/><code>path/payment_dispute_summary?limit=10&offset=10</code><br/><br/>This field is only returned if there is a next page of results to view based on the current input criteria. */
253
128
  next?: string;
254
- /**
255
- * Format: int32
256
- * @description This integer value indicates the number of payment disputes skipped before listing the first payment dispute from the result set. The <strong>offset</strong> value can be passed in as a query parameter in the request, or if it is not used, it defaults to <code>0</code> and the first payment dispute of the result set is shown at the top of the response.
257
- */
258
129
  offset?: number;
259
- /** @description Each payment dispute that matches the input criteria is returned under this array. If no payment disputes are found, an empty array is returned. */
260
130
  paymentDisputeSummaries?: (components["schemas"]["PaymentDisputeSummary"])[];
261
- /** @description The <strong>getPaymentDisputeSummaries</strong> call URI to use if you wish to view the previous page of the result set. For example, the following URI returns records 1 thru 10 from the collection of payment disputes:<br/><br/><code>path/payment_dispute_summary?limit=10&offset=0</code><br/><br/>This field is only returned if there is a previous page of results to view based on the current input criteria. */
262
131
  prev?: string;
263
- /**
264
- * Format: int32
265
- * @description This integer value is the total number of payment disputes that matched the input criteria. If the total number of entries exceeds the value that was set for <strong>limit</strong> in the request payload, you will have to make multiple API calls to see all pages of the results set. This field is returned even if it is <code>0</code>.
266
- */
267
132
  total?: number;
268
133
  };
269
- /** @description This type contains information about the type and amount of tax that eBay will collect and remit to the state, province, country, or other taxing authority in the buyer's location, as required by that taxing authority. 'Collect and Remit' tax includes US state-mandated sales tax, 'Goods and Services' tax in Australia or New Zealand, VAT collected for the UK and EU countries. */
270
134
  EbayCollectAndRemitTax: {
271
- /** @description The monetary amount of the 'Collect and Remit' tax. This presently includes US state-mandated sales tax, 'Good and Services' tax in Australia and New Zealand, and VAT collected for the UK and EU countries.<br /><br /><span class="tablenote"><strong>Note:</strong> If the corresponding <strong>taxType</strong> is <code>STATE_SALES_TAX</code>, <code>GST</code>, or <code>VAT</code>, and the <strong>lineItems.taxes</strong> container also appears for this line item with the same tax amount, the order is subject to 'eBay Collect and Remit' tax. For orders that are subject to 'eBay Collect and Remit' tax, the tax amount in this field will be included in the <strong>lineItems.total</strong>, <strong>paymentSummary.payments.amount</strong>, <strong>paymentSummary.totalDueSeller</strong>, and <strong>pricingSummary.total</strong> fields.</span> */
272
135
  amount?: components["schemas"]["Amount"];
273
- /** @description This container field describes the line-item level VAT tax details. <p><span class="tablenote"><b>Note:</b> On January 31, 2022, the <strong>orders.fulfillmentStartInstructions.shippingStep.shipTo.contactAddress.addressLine2</strong> will stop being used to return VAT information, so developers should make sure they integrate with the new fields before that time. </span></p> */
274
136
  ebayReference?: components["schemas"]["EbayTaxReference"];
275
- /** @description The type of tax and fees that eBay will collect and remit to the taxing or fee authority. See the <strong>TaxTypeEnum</strong> type definition for more information about each tax or fee type. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:TaxTypeEnum'>eBay API documentation</a> */
276
137
  taxType?: string;
277
- /** @description This field indicates the collection method used to collect the 'Collect and Remit' tax for the order. This field is always returned for orders subject to 'Collect and Remit' tax, and its value is always <code>NET</code>.<br /><br /><span class="tablenote"><strong>Note:</strong> Although the <strong>collectionMethod</strong> field is returned for all orders subject to 'Collect and Remit' tax, the <strong>collectionMethod</strong> field and the <strong>CollectionMethodEnum</strong> type are not currently of any practical use, although this field may have use in the future. If and when the logic of this field is changed, this note will be updated and a note will also be added to the Release Notes.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:CollectionMethodEnum'>eBay API documentation</a> */
278
138
  collectionMethod?: string;
279
139
  };
280
- /** @description This type is used to provide details about an order line item being fulfilled by eBay or an eBay fulfillment partner. */
281
140
  EbayFulfillmentProgram: {
282
- /** @description The value returned in this field indicates the party that is handling fulfillment of the order line item. <br /><br />Valid value: <code>EBAY</code> */
283
141
  fulfilledBy?: string;
284
142
  };
285
- /** @description This type describes the VAT tax details. The eBay VAT tax type and the eBay VAT identifier number will be returned if a VAT tax is applicable for the order. <p> <span class="tablenote"><b>Note:</b> On January 31, 2022, the <strong>orders.fulfillmentStartInstructions.shippingStep.shipTo.contactAddress.addressLine2</strong> will stop being used to return VAT information, so developers should make sure they integrate with the new fields before that time.</span></p> */
286
143
  EbayTaxReference: {
287
- /** @description This field value is returned to indicate the VAT tax type, which will vary by country/region. This string value will be one of the following:<ul><li><code>ABN</code>: if this string is returned, the ID in the <strong>value</strong> field is an Australia tax ID</li><li><code>IOSS</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay EU or UK IOSS number</li><li><code>IRD</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay New Zealand tax ID</li><li><code>OSS</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay Germany VAT ID</li><li><code>VOEC</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay Norway tax ID</li></ul> */
288
144
  name?: string;
289
- /** @description The value returned in this field is the VAT identifier number (VATIN), which will vary by country/region. This field will be returned if VAT tax is applicable for the order. The <strong>name</strong> field indicates the VAT tax type, which will vary by country/region: <ul><li><strong>ABN</strong>: <em>eBay AU tax ID</em></li><li><strong>IOSS</strong>: <em>eBay EU IOSS number</em> / <em>eBay UK IOSS number</em></li><li><strong>IRD</strong>: <em>eBay NZ tax ID</em></li><li><strong>OSS</strong>: <em>eBay DE VAT ID</em></li><li><strong>VOEC</strong>: <em>eBay NO number</em></li></ul> */
290
145
  value?: string;
291
146
  };
292
- /** @description This type contains a error or warning related to a call request. */
293
147
  Error: {
294
- /** @description The context or source of this error or warning. */
295
148
  category?: string;
296
- /** @description The name of the domain containing the service or application. For example, <code>sell</code> is a domain. */
297
149
  domain?: string;
298
- /**
299
- * Format: int32
300
- * @description A positive integer that uniquely identifies the specific error condition that occurred. Your application can use these values as error code identifiers in your customized error-handling algorithms.
301
- */
302
150
  errorId?: number;
303
- /** @description A list of one or more specific request elements (if any) associated with the error or warning. The format of these strings depends on the request payload format. For JSON, use JSONPath notation. */
304
151
  inputRefIds?: (string)[];
305
- /** @description An expanded version of the <b>message</b> field. <br /><br /><b>Maximum length:</b> 200 characters */
306
152
  longMessage?: string;
307
- /** @description A message about the error or warning which is device agnostic and readable by end users and application developers. It explains what the error or warning is, and how to fix it (in a general sense). If applicable, the value is localized to the end user's requested locale. <br /><br /><b>Maximum length:</b> 50 characters */
308
153
  message?: string;
309
- /** @description A list of one or more specific response elements (if any) associated with the error or warning. The format of these strings depends on the request payload format. For JSON, use JSONPath notation. */
310
154
  outputRefIds?: (string)[];
311
- /** @description Contains a list of name/value pairs that provide additional information concerning this error or warning. Each item in the list is an input parameter that contributed to the error or warning condition. */
312
155
  parameters?: (components["schemas"]["ErrorParameter"])[];
313
- /** @description The name of the domain's subsystem or subdivision. For example, <code>fulfillment</code> is a subdomain in the <code>sell</code> domain. */
314
156
  subdomain?: string;
315
157
  };
316
- /** @description This type contains the name and value of an input parameter that contributed to a specific error or warning condition. */
317
158
  ErrorParameter: {
318
- /** @description This is the name of input field that caused an issue with the call request. */
319
159
  name?: string;
320
- /** @description This is the actual value that was passed in for the element specified in the <strong>name</strong> field. */
321
160
  value?: string;
322
161
  };
323
- /** @description This type is used by the <strong>evidenceRequests</strong> array that is returned in the <strong>getPaymentDispute</strong> response if one or more evidential documents are being requested to help resolve the payment dispute. */
324
162
  EvidenceRequest: {
325
- /** @description Unique identifier of the evidential file set. Potentially, each evidential file set can have more than one file, that is why there is this file set identifier, and then an identifier for each file within this file set. */
326
163
  evidenceId?: string;
327
- /** @description This enumeration value shows the type of evidential document provided. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
328
164
  evidenceType?: string;
329
- /** @description This array shows one or more order line items associated with the evidential document that has been provided. */
330
165
  lineItems?: (components["schemas"]["OrderLineItems"])[];
331
- /** @description The timestamp in this field shows the date/time when eBay requested the evidential document from the seller in response to a payment dispute. <br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
332
166
  requestDate?: string;
333
- /** @description The timestamp in this field shows the date/time when the seller is expected to provide a requested evidential document to eBay. <br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
334
167
  respondByDate?: string;
335
168
  };
336
- /** @description This type contains shipping and contact information for a buyer or an eBay shipping partner. */
337
169
  ExtendedContact: {
338
- /** @description The company name associated with the buyer or eBay shipping partner. This field is only returned if defined/applicable to the buyer or eBay shipping partner. */
339
170
  companyName?: string;
340
- /** @description This container shows the shipping address of the buyer or eBay shipping partner. */
341
171
  contactAddress?: components["schemas"]["Address"];
342
- /** @description This field contains the email address of the buyer. This address will be returned for up to 14 days from order creation. If an order is more than 14 days old, no address is returned. <br /><br /> <span class="tablenote"> <strong>Note:</strong> If returned, this field contains the email address of the buyer, even for Global Shipping Program shipments.</span> */
343
172
  email?: string;
344
- /** @description The full name of the buyer or eBay shipping partner. */
345
173
  fullName?: string;
346
- /** @description The primary telephone number of the buyer or eBay shipping partner. */
347
174
  primaryPhone?: components["schemas"]["PhoneNumber"];
348
175
  };
349
- /** @description This type is used to store the unique identifier of an evidence file. Evidence files are used by seller to contest a payment dispute. */
350
176
  FileEvidence: {
351
- /** @description If an <strong>uploadEvidenceFile</strong> call is successful, a unique identifier of this evidence file will be returned in the <strong>uploadEvidenceFile</strong> response payload. This unique <strong>fileId</strong> value is then used to either add this evidence file to a new evidence set using the <strong>addEvidence</strong> method, or to add this file to an existing evidence set using the <strong>updateEvidence</strong> method.<br><br>Note that if an evidence set already exists for a payment dispute, the <strong>getPaymentDispute</strong> method will return both the <strong>evidenceId</strong> (unique identifier of evidence set) value, and the <strong>fileId</strong> (unique identifier of a file within that evidence set) value(s). */
352
177
  fileId?: string;
353
178
  };
354
- /** @description This type is used by the <strong>files</strong> array, which shows the name, ID, file type, and upload date for each provided evidential file. */
355
179
  FileInfo: {
356
- /** @description The unique identifier of the evidence file. */
357
180
  fileId?: string;
358
- /** @description The type of file uploaded. Supported file extensions are .JPEG, .JPG, and .PNG., and maximum file size allowed is 1.5 MB. */
359
181
  fileType?: string;
360
- /** @description The seller-provided name of the evidence file. */
361
182
  name?: string;
362
- /** @description The timestamp in this field shows the date/time when the seller uploaded the evidential document to eBay. <br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
363
183
  uploadedDate?: string;
364
184
  };
365
- /** @description This type contains a set of specifications for processing a fulfillment of an order, including the type of fulfillment, shipping carrier and service, addressing details, and estimated delivery window. These instructions are derived from the buyer's and seller's eBay account preferences, the listing parameters, and the buyer's checkout selections. The seller can use them as a starting point for packaging, addressing, and shipping the order. */
366
185
  FulfillmentStartInstruction: {
367
- /** @description This field is only returned if its value is <code>true</code> and indicates that the fulfillment will be shipped via eBay's Global Shipping Program. <br /><br />For more information, see the <a href="https://www.ebay.com/help/selling/shipping-items/setting-shipping-options/global-shipping-program?id=4646" target="_blank">Global Shipping Program</a> help topic. */
368
186
  ebaySupportedFulfillment?: boolean;
369
- /** @description This container is only returned if the value of <b>ebaySupportedFulfillment</b> field is <code>true</code>. <br /><br />This is the final destination address for a Global Shipping Program shipment, which is usually the buyer's home. Sellers should not ship directly to this address; instead they should ship this package to their international shipping provider's domestic warehouse. The international shipping provider is responsible for delivery to the final destination address.<br /><br />For more information, see <a href="https://developer.ebay.com/devzone/guides/features-guide/default.html#Development/Shipping-APIWork.html#AddressingaGlobalShippingProgramShipment" target="_blank">Addressing a Global Shipping Program Shipment</a>.<p> <span class="tablenote"><strong>Note:</strong> For Authenticity Guarantee program shipment, this is the address of the authenticator’s warehouse. The authenticator is responsible for delivery to the buyer shipping address.</span></p> */
370
187
  finalDestinationAddress?: components["schemas"]["Address"];
371
- /** @description The enumeration value returned in this field indicates the method of fulfillment that will be used to deliver this set of line items (this package) to the buyer. This field will have a value of <code>SHIP_TO</code> if the <b>ebaySupportedFulfillment</b> field is returned with a value of <code>true</code>. See the <strong>FulfillmentInstructionsType</strong> definition for more information about different fulfillment types. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:FulfillmentInstructionsType'>eBay API documentation</a> */
372
188
  fulfillmentInstructionsType?: string;
373
- /** @description This is the estimated latest date that the fulfillment will be completed. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned ifthe value of the <b>fulfillmentInstructionsType</b> field is <code>DIGITAL</code> or <code>PREPARE_FOR_PICKUP</code>. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
374
189
  maxEstimatedDeliveryDate?: string;
375
- /** @description This is the estimated earliest date that the fulfillment will be completed. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned if the value of the <b>fulfillmentInstructionsType</b> field is <code>DIGITAL</code> or <code>PREPARE_FOR_PICKUP</code>. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
376
190
  minEstimatedDeliveryDate?: string;
377
- /** @description This container is only returned for In-Store Pickup orders, and it indicates the specific merchant's store where the buyer will pick up the order. The In-Store Pickup feature is supported in the US, Canada, UK, Germany, and Australia marketplaces. */
378
191
  pickupStep?: components["schemas"]["PickupStep"];
379
- /** @description This container consists of shipping information for this fulfillment, including the shipping carrier, the shipping service option, and the shipment destination. This container is not returned if the value of the <b>fulfillmentInstructionsType</b> field is <code>DIGITAL</code>, or for In-Store Pickup orders. <br/><br/> For Click and Collect orders, the shipping destination will be a brick-and-mortar store where the buyer will pick up the order. */
380
192
  shippingStep?: components["schemas"]["ShippingStep"];
381
193
  };
382
- /** @description This type contains information about a digital gift card line item that was purchased as a gift, and sent to the recipient by email. */
383
194
  GiftDetails: {
384
- /** @description This field contains the gift message from the buyer to the gift recipient. This field is only returned if the buyer of the gift included a message for the gift. */
385
195
  message?: string;
386
- /** @description The email address of the gift recipient. The seller will send the digital gift card to this email address. */
387
196
  recipientEmail?: string;
388
- /** @description The name of the buyer, which will appear on the email that is sent to the gift recipient. */
389
197
  senderName?: string;
390
198
  };
391
- /** @description This container is returned if the buyer is returning one or more line items in an order that is associated with the payment dispute, and that buyer has provided return shipping tracking information and/or a note about the return. */
392
199
  InfoFromBuyer: {
393
- /** @description This field shows any note that was left by the buyer for in regards to the dispute. */
394
200
  note?: string;
395
- /** @description This array shows shipment tracking information for one or more shipping packages being returned to the buyer after a payment dispute. */
396
201
  returnShipmentTracking?: (components["schemas"]["TrackingInfo"])[];
397
202
  };
398
- /** @description The base type used by the request payload of the <b>issueRefund</b> method. */
399
203
  IssueRefundRequest: {
400
- /** @description The enumeration value passed into this field indicates the reason for the refund. One of the defined enumeration values in the <b>ReasonForRefundEnum</b> type must be used.<br/><br/>This field is required, and it is highly recommended that sellers use the correct refund reason, especially in the case of a buyer-requested cancellation or 'buyer remorse' return to indicate that there was nothing wrong with the item(s) or with the shipment of the order.<br/><br/><span class="tablenote"><strong>Note:</strong> If issuing refunds for more than one order line item, keep in mind that the refund reason must be the same for each of the order line items. If the refund reason is different for one or more order line items in an order, the seller would need to make separate <b>issueRefund</b> calls, one for each refund reason. </span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ReasonForRefundEnum'>eBay API documentation</a> */
401
204
  reasonForRefund?: string;
402
- /** @description This free-text field allows the seller to clarify why the refund is being issued to the buyer.<br/><br/><b>Max Length</b>: 100 */
403
205
  comment?: string;
404
- /** @description The <b>refundItems</b> array is only required if the seller is issuing a refund for one or more individual order line items in a multiple line item order. Otherwise, the seller just uses the <b>orderLevelRefundAmount</b> container to specify the amount of the refund for the entire order. */
405
206
  refundItems?: (components["schemas"]["RefundItem"])[];
406
- /** @description This container is used to specify the amount of the refund for the entire order. If a seller wants to issue a refund for an individual line item within a multiple line item order, the seller would use the <b>refundItems</b> array instead. */
407
207
  orderLevelRefundAmount?: components["schemas"]["SimpleAmount"];
408
208
  };
409
- /** @description This type describes the physical location of an order. */
410
209
  ItemLocation: {
411
- /** @description The two-letter <a href="https://www.iso.org/iso-3166-country-codes.html" title="https://www.iso.org" target="_blank">ISO 3166</a> code representing the country of the address. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
412
210
  countryCode?: string;
413
- /** @description Indicates the geographical location of the item (along with the value in the <strong>countryCode</strong> field). This field provides city, province, state, or similar information. */
414
211
  location?: string;
415
- /** @description The postal code of the address. */
416
212
  postalCode?: string;
417
213
  };
418
- /** @description Type defining the <b>legacyReference</b> container. This container is needed if the seller is issuing a refund for an individual order line item, and wishes to use an item ID and transaction ID to identify the order line item. */
419
214
  LegacyReference: {
420
- /** @description The unique identifier of a listing in legacy/Trading API format. <br/><br/><span class="tablenote"><strong>Note:</strong> Both <b>legacyItemId</b> and <b>legacyTransactionId</b> are needed to identify an order line item. </span> */
421
215
  legacyItemId?: string;
422
- /** @description The unique identifier of a sale/transaction in legacy/Trading API format. A 'transaction ID' is created once a buyer purchases a 'Buy It Now' item or if an auction listing ends with a winning bidder. <br/><br/><span class="tablenote"><strong>Note:</strong> Both <b>legacyItemId</b> and <b>legacyTransactionId</b> are needed to identify an order line item. </span> */
423
216
  legacyTransactionId?: string;
424
217
  };
425
- /** @description This type contains the details of each line item in an order. */
426
218
  LineItem: {
427
- /** @description This array contains information about one or more sales promotions or discounts applied to the line item. It is always returned, but will be returned as an empty array if no special sales promotions or discounts apply to the order line item. */
428
219
  appliedPromotions?: (components["schemas"]["AppliedPromotion"])[];
429
- /** @description This container consists of a breakdown of all costs associated with the fulfillment of the line item. */
430
220
  deliveryCost?: components["schemas"]["DeliveryCost"];
431
- /** @description The cost of the line item after applying any discounts. This container is only returned if the order line item was discounted through a promotion. */
432
221
  discountedLineItemCost?: components["schemas"]["Amount"];
433
- /** @description This container will be returned if the order line item is subject to a 'Collect and Remit' tax that eBay will collect and remit to the proper taxing authority on the buyer's behalf. 'Collect and Remit' tax includes US state-mandated sales tax, 'Goods and Services' tax in Australia or New Zealand, and VAT collected for UK and EU countries. The amount of this tax is shown in the <strong>amount</strong> field, and the type of tax is shown in the <strong>taxType</strong> field.<br/><br/> eBay will display the tax type and amount during checkout in accordance with the buyer's address, and handle collection and remittance of the tax without requiring the seller to take any action. */
434
222
  ebayCollectAndRemitTaxes?: (components["schemas"]["EbayCollectAndRemitTax"])[];
435
- /** @description This container consists of information that is needed by the seller to send a digital gift card to the buyer, or recipient of the digital gift card. This container is only returned and applicable for digital gift card line items. */
436
223
  giftDetails?: components["schemas"]["GiftDetails"];
437
- /** @description This container field describes the physical location of the order line item. */
438
224
  itemLocation?: components["schemas"]["ItemLocation"];
439
- /** @description The eBay-generated legacy listing item ID of the listing. Note that the unique identifier of a listing in REST-based APIs is called the <strong>listingId</strong> instead. */
440
225
  legacyItemId?: string;
441
- /** @description The unique identifier of a single variation within a multiple-variation listing. This field is only returned if the line item purchased was from a multiple-variation listing. */
442
226
  legacyVariationId?: string;
443
- /** @description The selling price of the line item before applying any discounts. The value of this field is calculated by multiplying the single unit price by the number of units purchased (value of the <b>quantity</b> field). */
444
227
  lineItemCost?: components["schemas"]["Amount"];
445
- /** @description This container consists of information related to shipping dates and expectations, including the 'ship-by date' and expected delivery windows that are based on the seller's stated handling time and the shipping service option that will be used. These fields provide guidance on making sure expected delivery dates are made, whether the order is a <i>eBay Guaranteed Delivery</i> order or a non-guaranteed delivery order. */
446
228
  lineItemFulfillmentInstructions?: components["schemas"]["LineItemFulfillmentInstructions"];
447
- /** @description This enumeration value indicates the current fulfillment status of the line item. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:LineItemFulfillmentStatusEnum'>eBay API documentation</a> */
448
229
  lineItemFulfillmentStatus?: string;
449
- /** @description This is the unique identifier of an eBay order line item. This field is created as soon as there is a commitment to buy from the seller. */
450
230
  lineItemId?: string;
451
- /** @description The unique identifier of the eBay marketplace where the line item was listed. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:MarketplaceIdEnum'>eBay API documentation</a> */
452
231
  listingMarketplaceId?: string;
453
- /** @description Contains information about the eBay programs, if any, under which the line item was listed. */
454
232
  properties?: components["schemas"]["LineItemProperties"];
455
- /** @description The unique identifier of the eBay marketplace where the line item was listed. Often, the <strong>listingMarketplaceId</strong> and the <strong>purchaseMarketplaceId</strong> identifier are the same, but there are occasions when an item will surface on multiple eBay marketplaces. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:MarketplaceIdEnum'>eBay API documentation</a> */
456
233
  purchaseMarketplaceId?: string;
457
- /**
458
- * Format: int32
459
- * @description The number of units of the line item in the order. These are represented as a group by a single <b>lineItemId</b>.
460
- */
461
234
  quantity?: number;
462
- /** @description This array is always returned, but is returned as an empty array unless the seller has submitted a partial or full refund to the buyer for the order. If a refund has occurred, the refund amount and refund date will be shown for each refund. */
463
235
  refunds?: (components["schemas"]["LineItemRefund"])[];
464
- /** @description Seller-defined Stock-Keeping Unit (SKU). This inventory identifier must be unique within the seller's eBay inventory. SKUs are optional when listing in the legacy/Trading API system, but SKUs are required when listing items through the Inventory API model. */
465
236
  sku?: string;
466
- /** @description The eBay listing type of the line item. The most common listing types are <code>AUCTION</code> and <code>FIXED_PRICE</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:SoldFormatEnum'>eBay API documentation</a> */
467
237
  soldFormat?: string;
468
- /** @description Contains a list of taxes applied to the line item, if any. This array is always returned, but will be returned as empty if no taxes are applicable to the line item. */
469
238
  taxes?: (components["schemas"]["Tax"])[];
470
- /** @description The title of the listing. */
471
239
  title?: string;
472
- /** @description This is the total price that the buyer must pay for the line item after all costs (item cost, delivery cost, taxes) are added, minus any discounts and/or promotions.<br /><br /><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, the 'Collect and Remit' tax amount for the order will be included in this <strong>total</strong> value only when the <strong>fieldGroups</strong> query parameter is set to <code>TAX_BREAKDOWN</code>. If the <strong>fieldGroups</strong> query parameter is not set to <code>TAX_BREAKDOWN</code>, 'Collect and Remit' will not be added into this <strong>total</strong> value.<br><br>To determine if 'Collect and Remit' taxes were added into this <strong>total</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is in this amount:<ul><li><code>STATE_SALES_TAX</code>: US state-mandated sales tax</li><li><code>GST</code>: 'Good and Services' tax in Australia or New Zealand</li><li><code>VAT</code>: VAT collected for UK or EU countries</li></ul></span> */
473
240
  total?: components["schemas"]["Amount"];
474
241
  };
475
- /** @description This type contains the specifications for processing the fulfillment of a line item, including the handling window and the delivery window. These fields provide guidance for <i>eBay Guaranteed Delivery</i> as well as for non-guaranteed delivery. */
476
242
  LineItemFulfillmentInstructions: {
477
- /** @description This field is returned as <code>true</code> if the order line item is qualified for eBay Guaranteed Delivery, or <code>false</code> if it is not eligible. Only domestic shipments are available for eBay Guaranteed Delivery. At this time, eBay Guaranteed Delivery is only available to a select number of sellers on the US and Australia sites, but this feature will be enabled on more eBay sites in 2019.<br/><br/> There are two different eBay Guaranteed Delivery options - 'Handling time' option and 'Door-to-Door' option. With both options, the seller is commiting to getting the order delivered to the buyer within three business days after purchase. <br/><br/> With the 'Handling time' option, the seller's stated handling time for a listing must be 'same-day' or '1-day', and at least one of the available shipping service options should have a shipping time that guarantees that the buyer receives the order on time. With this option, eBay will set the 'ship-by date' and expected delivery window for the seller, and the seller should just make sure they physically ship the order by the <strong>shipToDate</strong>.<br/><br/> With the 'Door-to-door' option, the seller must create regional shipping rate tables (with shipping costs and delivery times based on destination regions), and then apply these regional shipping rates/delivery times to the listing. <br/><br/> If a 'Door-to-door' order does not arrive on time, the seller must refund the buyer the full shipping cost (if any), and the buyer also has the option of returning the item for a full refund, and the seller will also have to pay the return shipping cost. With 'Handling time' option, as long as the seller meets the stated handling time, and ships using the correct shipping service option, eBay will refund the buyer the shipping cost and pay for return shipping label (if buyer wants to return item) if the order arrives after the expected delivery time. <br/><br/> For more information on the details and requirements of eBay Guaranteed Delivery, see the <a href="https://www.ebay.com/help/selling/shipping-items/offering-ebay-guaranteed-delivery?id=4645" target="_blank">Offering eBay Guaranteed Delivery</a> help topic.<br/><br/> This field will always be returned regardless of whether the listing site offers eBay Guaranteed Delivery or if the seller is opted in to the feature. */
478
243
  guaranteedDelivery?: boolean;
479
- /** @description The estimated latest date and time that the buyer can expect to receive the line item based on the seller's stated handling time and the transit times of the available shipping service options. If the listing is eligible for eBay Guaranteed Delivery (value of <b>guaranteedDelivery</b> field is <code>true</code>, the seller must pay extra attention to this date, as a failure to deliver by this date/time can result in a 'Late shipment' seller defect, and can affect seller level and Top-Rated Seller status. In addition to the seller defect, buyers will be eligible for a shipping cost refund, and will also be eligible to return the item for a full refund (with no return shipping charge) if they choose. <br /><br /><span class="tablenote"><strong>Note:</strong> This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code></span> */
480
244
  maxEstimatedDeliveryDate?: string;
481
- /** @description The estimated earliest date and time that the buyer can expect to receive the line item based on the seller's stated handling time and the transit times of the available shipping service options.<br /><br /><span class="tablenote"><strong>Note:</strong> This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code></span> */
482
245
  minEstimatedDeliveryDate?: string;
483
- /** @description The latest date and time by which the seller should ship line item in order to meet the expected delivery window. This timestamp will be set by eBay based on time of purchase and the seller's stated handling time. If the listing is eligible for eBay Guaranteed Delivery (value of <b>guaranteedDelivery</b> field is <code>true</code>, the seller must pay extra attention to this date, as a failure to physically ship the line item by this date/time can result in a 'Late shipment' seller defect, and can affect seller level and Top-Rated Seller status. In addition to the seller defect, buyers will be eligible for a shipping cost refund, and will also be eligible to return the item for a full refund (with no return shipping charge) if they choose. <br /><br /><span class="tablenote"><strong>Note:</strong> This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code></span> */
484
246
  shipByDate?: string;
485
247
  };
486
- /** @description This type contains information about the eBay programs under which a line item was listed and sold. */
487
248
  LineItemProperties: {
488
- /** @description A value of <code>true</code> indicates that the line item is covered by eBay's Buyer Protection program. */
489
249
  buyerProtection?: boolean;
490
- /** @description This field is only returned if <code>true</code> and indicates that the purchase occurred by the buyer and seller mutually agreeing on a Best Offer amount. The Best Offer feature can be set up for any listing type, but if this feature is set up for an auction listing, it will no longer be available once a bid has been placed on the listing. */
491
250
  fromBestOffer?: boolean;
492
- /** @description This field is only returned if <code>true</code> and indicates that the line item was sold as a result of a seller's ad campaign. */
493
251
  soldViaAdCampaign?: boolean;
494
252
  };
495
- /** @description This type identifies the line item and quantity of that line item that comprises one fulfillment, such as a shipping package. */
496
253
  LineItemReference: {
497
- /** @description This is the unique identifier of the eBay order line item that is part of the shipping fulfillment. The line item ID is created as soon as there is a commitment to buy from the seller. */
498
254
  lineItemId?: string;
499
- /**
500
- * Format: int32
501
- * @description This field is reserved for internal or future use.
502
- */
503
255
  quantity?: number;
504
256
  };
505
- /** @description This type contains refund information for a line item. */
506
257
  LineItemRefund: {
507
- /** @description This field shows the refund amount for a line item. This field is only returned if the buyer is due a refund for the line item. */
508
258
  amount?: components["schemas"]["Amount"];
509
- /** @description The date and time that the refund was issued for the line item. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the refund has been issued. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
510
259
  refundDate?: string;
511
- /** @description Unique identifier of a refund that was initiated for an order's line item through the <b>issueRefund</b> method. If the <b>issueRefund</b> method was used to issue a refund at the order level, this identifier is returned at the order level instead (<b>paymentSummary.refunds.refundId</b> field).<br/><br/> A <b>refundId</b> value is returned in the response of the <b>issueRefund</b> method, and this same value will be returned in the <b>getOrder</b> and <b>getOrders</b> responses for pending and completed refunds. */
512
260
  refundId?: string;
513
- /** @description This field is reserved for internal or future use. */
514
261
  refundReferenceId?: string;
515
262
  };
516
- /** @description This type is used to provide details about one or more monetary transactions that occur as part of a payment dispute. */
517
263
  MonetaryTransaction: {
518
- /** @description This timestamp indicates when the monetary transaction occurred. A date is returned for all monetary transactions.<br><br> The following format is used: <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. For example, <code>2015-08-04T19:09:02.768Z</code>. */
519
264
  date?: string;
520
- /** @description This enumeration value indicates whether the monetary transaction is a charge or a credit to the seller. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:MonetaryTransactionTypeEnum'>eBay API documentation</a> */
521
265
  type?: string;
522
- /** @description This enumeration value indicates the reason for the monetary transaction. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:MonetaryTransactionReasonEnum'>eBay API documentation</a> */
523
266
  reason?: string;
524
- /** @description The amount involved in the monetary transaction. For active cross-border trade orders, the currency conversion and <b>exchangeRate</b> fields will be displayed as well. */
525
267
  amount?: components["schemas"]["DisputeAmount"];
526
268
  };
527
- /** @description This type contains the details of an order, including information about the buyer, order history, shipping fulfillments, line items, costs, payments, and order fulfillment status. */
528
269
  Order: {
529
- /** @description This container consists of information about the order's buyer. At this time, only the buyer's eBay user ID is returned, but it's possible that more buyer information can be added to this container in the future. */
530
270
  buyer?: components["schemas"]["Buyer"];
531
- /** @description This field contains any comments that the buyer left for the seller about the order during checkout process. This field is only returned if a buyer left comments at checkout time. */
532
271
  buyerCheckoutNotes?: string;
533
- /** @description This container consists of order cancellation information if a cancel request has been made. This container is always returned, and if no cancel request has been made, the <strong>cancelState</strong> field is returned with a value of <code>NONE_REQUESTED</code>, and an empty <strong>cancelRequests</strong> array is also returned. */
534
272
  cancelStatus?: components["schemas"]["CancelStatus"];
535
- /** @description The date and time that the order was created. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
536
273
  creationDate?: string;
537
- /** @description This field is only returned if <code>true</code>, and indicates that eBay will collect tax (US state-mandated sales tax, 'Goods and Services' tax in Australia or New Zealand, and VAT collected for UK and EU countries) for at least one line item in the order, and remit the tax to the taxing authority of the buyer's residence. If this field is returned, the seller should search for one or more <strong>ebayCollectAndRemitTaxes</strong> containers at the line item level to get more information about the type of tax and the amount. */
538
274
  ebayCollectAndRemitTax?: boolean;
539
- /** @description This array contains a list of one or more <strong>getShippingFulfillment</strong> call URIs that can be used to retrieve shipping fulfillments that have been set up for the order. */
540
275
  fulfillmentHrefs?: (string)[];
541
- /** @description This container consists of a set of specifications for fulfilling the order, including the type of fulfillment, shipping carrier and service, shipping address, and estimated delivery window. These instructions are derived from the buyer's and seller's eBay account preferences, the listing parameters, and the buyer's checkout selections. The seller can use them as a starting point for packaging, addressing, and shipping the order.<br /><br /><span class="tablenote"><strong>Note:</strong> Although this container is presented as an array, it currently returns only one set of fulfillment specifications. Additional array members will be supported in future functionality.</span> */
542
276
  fulfillmentStartInstructions?: (components["schemas"]["FulfillmentStartInstruction"])[];
543
- /** @description The date and time that the order was last modified. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
544
277
  lastModifiedDate?: string;
545
- /** @description The unique identifier of the order in legacy format, as traditionally used by the Trading API (and other legacy APIs). Both the <b>orderId</b> field and this field are always returned. <br/><br/><span class="tablenote"><strong>Note:</strong> In June 2019, Order IDs in REST APIs transitioned to a new format. For the Trading and other legacy APIs, by using version control/compatibility level, users have the option of using the older legacy order ID format, or they can migrate to the new order ID format, which is the same order ID format being used by REST APIs. Although users of the Trading API (and other legacy APIs) can now transition to the new order ID format, this <strong>legacyOrderId</strong> field will still return order IDs in the old format to distinguish between the old and new order IDs.</span> */
546
278
  legacyOrderId?: string;
547
- /** @description This array contains the details for all line items that comprise the order. */
548
279
  lineItems?: (components["schemas"]["LineItem"])[];
549
- /** @description The degree to which fulfillment of the order is complete. See the <strong>OrderFulfillmentStatus</strong> type definition for more information about each possible fulfillment state. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:OrderFulfillmentStatus'>eBay API documentation</a> */
550
280
  orderFulfillmentStatus?: string;
551
- /** @description The unique identifier of the order. Both the <b>legacyOrderId</b> field (traditionally used by Trading and other legacy APIS) and this field are always returned. <br/><br/><span class="tablenote"><strong>Note:</strong> In June 2019, Order IDs in REST APIs transitioned to a new format. For the Trading and other legacy APIs, by using version control/compatibility level, users have the option of using the older legacy order ID format, or they can migrate to the new order ID format, which is the same order ID format being used by REST APIs. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers are automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support.</span> */
552
281
  orderId?: string;
553
- /** @description The enumeration value returned in this field indicates the current payment status of an order, or in case of a refund request, the current status of the refund. See the <strong>OrderPaymentStatusEnum</strong> type definition for more information about each possible payment/refund state. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:OrderPaymentStatusEnum'>eBay API documentation</a> */
554
282
  orderPaymentStatus?: string;
555
- /** @description This container consists of detailed payment information for the order, including buyer payment for the order, refund information (if applicable), and seller payment holds (if applicable). */
556
283
  paymentSummary?: components["schemas"]["PaymentSummary"];
557
- /** @description This container consists of a summary of cumulative costs and charges for all line items of an order, including item price, price adjustments, sales taxes, delivery costs, and order discounts. */
558
284
  pricingSummary?: components["schemas"]["PricingSummary"];
559
- /** @description This container is returned for orders that are eligible for eBay's Authenticity Guarantee service. The seller ships Authenticity Guarantee service items to the authentication partner instead of the buyer. The authenticator address is found in the <code>fulfillmentStartInstructions.shippingStep.shipTo</code> container. If the item is successfully authenticated, the authenticator will ship the item to the buyer. */
560
285
  program?: components["schemas"]["Program"];
561
- /** @description An eBay-generated identifier that is used to identify and manage orders through the Selling Manager and Selling Manager Pro tools. This order identifier can also be found on the Orders grid page and in the Sales Record pages in Seller Hub. A <strong>salesRecordReference</strong> number is only generated and returned at the order level, and not at the order line item level.<br><br> In cases where the seller does not have a Selling Manager or Selling Manager Pro subscription nor access to Seller Hub, this field may not be returned. */
562
286
  salesRecordReference?: string;
563
- /** @description The unique eBay user ID of the seller who sold the order. */
564
287
  sellerId?: string;
565
- /** @description This is the cumulative base amount used to calculate the final value fees for each order. The final value fees are deducted from the seller payout associated with the order. Final value fees are calculated as a percentage of order cost (item cost + shipping cost) and the percentage rate can vary by eBay category. */
566
288
  totalFeeBasisAmount?: components["schemas"]["Amount"];
567
- /** @description This is the cumulative fees accrued for the order and deducted from the seller payout. */
568
289
  totalMarketplaceFee?: components["schemas"]["Amount"];
569
290
  };
570
- /** @description This type is used by the <strong>lineItems</strong> array that is used to identify one or more line items in the order with the payment dispute. */
571
291
  OrderLineItems: {
572
- /** @description The unique identifier of the eBay listing associated with the order. */
573
292
  itemId?: string;
574
- /** @description The unique identifier of the line item within the order. The <strong>lineItemId</strong> value is created once the buyer actually purchases the item, or if there is a commitment to buy (such as an auction that is won by the buyer, an accepted Best Offer, or other situation that does not require immediate payment from the buyer). */
575
293
  lineItemId?: string;
576
294
  };
577
- /** @description This type contains information about a refund issued for an order. This does not include line item level refunds. */
578
295
  OrderRefund: {
579
- /** @description The monetary amount of the refund. This container is always returned for each refund. */
580
296
  amount?: components["schemas"]["Amount"];
581
- /** @description The date and time that the refund was issued. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the refund has been issued. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
582
297
  refundDate?: string;
583
- /** @description Unique identifier of a refund that was initiated for an order through the <b>issueRefund</b> method. If the <b>issueRefund</b> method was used to issue one or more refunds at the line item level, these refund identifiers are returned at the line item level instead (<b>lineItems.refunds.refundId</b> field).<br/><br/> A <b>refundId</b> value is returned in the response of the <b>issueRefund</b> method, and this same value will be returned in the <b>getOrders</b> and <b>getOrders</b> responses for pending and completed refunds. For other refunds, see the <b>refundReferenceId</b> field. */
584
298
  refundId?: string;
585
- /** @description The eBay-generated unique identifier for the refund. This field is not returned until the refund has been issued. */
586
299
  refundReferenceId?: string;
587
- /** @description This enumeration value indicates the current status of the refund to the buyer. This container is always returned for each refund. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:RefundStatusEnum'>eBay API documentation</a> */
588
300
  refundStatus?: string;
589
301
  };
590
- /** @description This type contains the specifications for the collection of orders that match the search or filter criteria of a <b>getOrders</b> call. The collection is grouped into a result set, and based on the query parameters that are set (including the <strong>limit</strong> and <strong>offset</strong> parameters), the result set may included multiple pages, but only one page of the result set can be viewed at a time. */
591
302
  OrderSearchPagedCollection: {
592
- /** @description The URI of the <b>getOrders</b> call request that produced the current page of the result set. */
593
303
  href?: string;
594
- /**
595
- * Format: int32
596
- * @description The maximum number of orders returned per page of the result set. The <strong>limit</strong> value can be passed in as a query parameter, or if omitted, its value defaults to <code>50</code>. <br /><br /><span class="tablenote"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer orders than the <strong>limit</strong> value. To determine the number of pages in a result set, divide the <b>total</b> value (total number of orders matching input criteria) by this <strong>limit</strong> value, and then round up to the next integer. For example, if the <b>total</b> value was <code>120</code> (120 total orders) and the <strong>limit</strong> value was <code>50</code> (show 50 orders per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getOrders</strong> calls to view all orders matching the input criteria. </span><b>Default:</b> <code>50</code>
597
- */
598
304
  limit?: number;
599
- /** @description The <b>getOrders</b> call URI to use if you wish to view the next page of the result set. For example, the following URI returns records 41 thru 50 from the collection of orders: <br /><br /><code><i>path</i>/order?limit=10&offset=40 </code><br/><br/>This field is only returned if there is a next page of results to view based on the current input criteria.<br /> */
600
305
  next?: string;
601
- /**
602
- * Format: int32
603
- * @description The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the <b>offset</b> query parameter. <p class="tablenote"><strong>Note: </strong>The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</p>
604
- */
605
306
  offset?: number;
606
- /** @description This array contains one or more orders that are part of the current result set, that is controlled by the input criteria. The details of each order include information about the buyer, order history, shipping fulfillments, line items, costs, payments, and order fulfillment status. <br /><br />By default, orders are returned according to creation date (oldest to newest), but the order will vary according to any filter that is set in request. */
607
307
  orders?: (components["schemas"]["Order"])[];
608
- /** @description The <b>getOrders</b> call URI for the previous result set. For example, the following URI returns orders 21 thru 30 from the collection of orders: <br /><br /><code><i>path</i>/order?limit=10&offset=20</code><br/><br/>This field is only returned if there is a previous page of results to view based on the current input criteria. */
609
308
  prev?: string;
610
- /**
611
- * Format: int32
612
- * @description The total number of orders in the results set based on the current input criteria.<br /><br /><span class="tablenote"><strong>Note:</strong> If no orders are found, this field is returned with a value of <code>0</code>.</span>
613
- */
614
309
  total?: number;
615
- /** @description This array is returned if one or more errors or warnings occur with the call request. */
616
310
  warnings?: (components["schemas"]["Error"])[];
617
311
  };
618
- /** @description This type is used to provide details about the seller payments for an order. */
619
312
  Payment: {
620
- /** @description The amount that seller receives for the order via the payment method mentioned in <strong>Payment.paymentMethod</strong>.<br /><br /><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, which includes US state-mandated sales tax, 'Good and Services' tax in Australia and New Zealand, and VAT collected for UK or EU, the 'Collect and Remit' tax amount for the order will be included in this <strong>amount.value</strong> field (and in the <strong>amount.convertedFromValue</strong> field if currency conversion is applicable).<br><br> To determine if 'Collect and Remit' taxes were added into this <strong>totalDueSeller</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is in this amount:<ul><li><code>STATE_SALES_TAX</code>: US</li><li><code>GST</code>: Australia or New Zealand</li><li><code>VAT</code>: UK or EU countries</li></ul></span> */
621
313
  amount?: components["schemas"]["Amount"];
622
- /** @description The date and time that the payment was received by the seller. This field will not be returned if buyer has yet to pay for the order. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
623
314
  paymentDate?: string;
624
- /** @description This container is only returned if eBay is temporarily holding the seller's funds for the order. If a payment hold has been placed on the order, this container includes the reason for the payment hold, the expected release date of the funds into the seller's account, the current state of the hold, and as soon as the payment hold has been released, the actual release date. */
625
315
  paymentHolds?: (components["schemas"]["PaymentHold"])[];
626
- /** @description The payment method used to pay for the order. See the <strong>PaymentMethodTypeEnum</strong> type for more information on the payment methods. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:PaymentMethodTypeEnum'>eBay API documentation</a> */
627
316
  paymentMethod?: string;
628
- /** @description This field is only returned if payment has been made by the buyer, and the <strong>paymentMethod</strong> is <code>ESCROW</code>. This field contains a special ID for ESCROW. */
629
317
  paymentReferenceId?: string;
630
- /** @description The enumeration value returned in this field indicates the status of the payment for the order. See the <strong>PaymentStatusEnum</strong> type definition for more information on the possible payment states. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:PaymentStatusEnum'>eBay API documentation</a> */
631
318
  paymentStatus?: string;
632
319
  };
633
- /** @description This type is used by the base response of the <strong>getPaymentDispute</strong> method. The <strong>getPaymentDispute</strong> method retrieves detailed information on a specific payment dispute. */
634
320
  PaymentDispute: {
635
- /** @description This container shows the dollar value associated with the payment dispute in the currency used by the seller's marketplace. */
636
321
  amount?: components["schemas"]["SimpleAmount"];
637
- /** @description The value(s) returned in this array indicate the choices that the seller has when responding to the payment dispute. Once the seller has responded to the payment dispute, this field will no longer be shown, and instead, the <strong>sellerResponse</strong> field will show the decision that the seller made. */
638
322
  availableChoices?: (string)[];
639
- /** @description This container is returned if the buyer is returning one or more line items in an order that is associated with the payment dispute, and that buyer has provided return shipping tracking information and/or a note about the return. */
640
323
  buyerProvided?: components["schemas"]["InfoFromBuyer"];
641
- /** @description This is the eBay user ID of the buyer that initiated the payment dispute. */
642
324
  buyerUsername?: string;
643
- /** @description The timestamp in this field shows the date/time when the payment dispute was closed, so this field is only returned for payment disputes in the <code>CLOSED</code> state.<br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
644
325
  closedDate?: string;
645
- /** @description This container shows any evidence that has been provided by the seller to contest the payment dispute. Evidence may include shipment tracking information, proof of authentication documentation, image(s) to proof that an item is as described, or financial documentation/invoice.<br><br>This container is only returned if the seller has provided at least one document used as evidence against the payment dispute. */
646
326
  evidence?: (components["schemas"]["DisputeEvidence"])[];
647
- /** @description This container is returned if one or more evidence documents are being requested from the seller. */
648
327
  evidenceRequests?: (components["schemas"]["EvidenceRequest"])[];
649
- /** @description This array is used to identify one or more order line items associated with the payment dispute. There will always be at least one <b>itemId</b>/<b>lineItemId</b> pair returned in this array. */
650
328
  lineItems?: (components["schemas"]["OrderLineItems"])[];
651
- /** @description This array provide details about one or more monetary transactions that occur as part of a payment dispute. This array is only returned once one or more monetary transacations occur with a payment dispute. */
652
329
  monetaryTransactions?: (components["schemas"]["MonetaryTransaction"])[];
653
- /** @description The timestamp in this field shows the date/time when the payment dispute was opened. This field is returned for payment disputes in all states.<br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
654
330
  openDate?: string;
655
- /** @description This is the unique identifier of the order involved in the payment dispute. <br/><br/><span class="tablenote"><strong>Note:</strong> eBay rolled out a new Order ID format in June 2019. The legacy APIs still support the old and new order ID format to identify orders, but only the new order ID format is returned in REST-based API responses. </span> */
656
331
  orderId?: string;
657
- /** @description This is the unique identifier of the payment dispute. This is the same identifier that is passed in to the call URI. This identifier is automatically created by eBay once the payment dispute comes into the eBay Managed Payments system. */
658
332
  paymentDisputeId?: string;
659
- /** @description The enumeration value in this field gives the current status of the payment dispute. The status of a payment dispute partially determines other fields that are returned in the response. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeStateEnum'>eBay API documentation</a> */
660
333
  paymentDisputeStatus?: string;
661
- /** @description The enumeration value in this field gives the reason why the buyer initiated the payment dispute. See <strong>DisputeReasonEnum</strong> type for a description of the supported reasons that buyers can give for initiating a payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeReasonEnum'>eBay API documentation</a> */
662
334
  reason?: string;
663
- /** @description This container gives details about a payment dispute that has been resolved. This container is only returned for resolved/closed payment disputes. */
664
335
  resolution?: components["schemas"]["PaymentDisputeOutcomeDetail"];
665
- /** @description The timestamp in this field shows the date/time when the seller must response to a payment dispute, so this field is only returned for payment disputes in the <code>ACTION_NEEDED</code> state. For payment disputes that currently require action by the seller, that same seller should look at the <strong>availableChoices</strong> array to see the available actions.<br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
666
336
  respondByDate?: string;
667
- /** @description This container gives the address where the order will be returned to. This container is returned if the seller is accepting the payment dispute and will issue a refund to the buyer once the item is returned to this address. */
668
337
  returnAddress?: components["schemas"]["ReturnAddress"];
669
- /**
670
- * Format: int32
671
- * @description This integer value indicates the revision number of the payment dispute. Each time an action is taken against a payment dispute, this integer value increases by 1.
672
- */
673
338
  revision?: number;
674
- /** @description The enumeration value returned in this field indicates how the seller has responded to the payment dispute. The seller has the option of accepting the payment dispute and agreeing to issue a refund, accepting the payment dispute and agreeing to issue a refund as long as the buyer returns the item, or contesting the payment dispute. This field is returned as soon as the seller makes an initial decision on the payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:SellerResponseEnum'>eBay API documentation</a> */
675
339
  sellerResponse?: string;
676
340
  };
677
- /** @description This type is used by each recorded activity on a payment dispute, from creation to resolution. */
678
341
  PaymentDisputeActivity: {
679
- /** @description The timestamp in this field shows the date/time of the payment dispute activity.<br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
680
342
  activityDate?: string;
681
- /** @description This enumeration value indicates the type of activity that occured on the payment dispute. For example, a value of <code>DISPUTE_OPENED</code> is returned when a payment disute is first created, a value indicating the seller's decision on the dispute, such as <code>SELLER_CONTEST</code>, is returned when seller makes a decision to accept or contest dispute, and a value of <code>DISPUTE_CLOSED</code> is returned when a payment disute is resolved. See <strong>ActivityEnum</strong> for an explanation of each of the values that may be returned here. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ActivityEnum'>eBay API documentation</a> */
682
343
  activityType?: string;
683
- /** @description This enumeration value indicates the actor that performed the action. Possible values include the <code>BUYER</code>, <code>SELLER</code>, <code>CS_AGENT</code> (eBay customer service), or <code>SYSTEM</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ActorEnum'>eBay API documentation</a> */
684
344
  actor?: string;
685
345
  };
686
- /** @description This type is used by the base response of the <strong>getActivities</strong> method, and includes a log of all activities of a payment dispute, from creation to resolution. */
687
346
  PaymentDisputeActivityHistory: {
688
- /** @description This array holds all activities of a payment dispute, from creation to resolution. For each activity, the activity type, the actor, and a timestamp is shown. The <strong>getActivities</strong> response is dynamic, and grows with each recorded activity. */
689
347
  activity?: (components["schemas"]["PaymentDisputeActivity"])[];
690
348
  };
691
- /** @description This type is used by the <strong>resolution</strong> container that is returned for payment disputes that have been resolved. */
692
349
  PaymentDisputeOutcomeDetail: {
693
- /** @description This container will show the dollar value of any fees associated with the payment dispute. This container is only returned if there are fees associated with the payment dispute. */
694
350
  fees?: components["schemas"]["SimpleAmount"];
695
- /** @description This container shows the amount of money that the seller is protected against in a payment dispute under eBay's seller protection policy. */
696
351
  protectedAmount?: components["schemas"]["SimpleAmount"];
697
- /** @description This enumeration value indicates if the seller is fully protected, partially protected, or not protected by eBay for the payment dispute. This field is always returned once the payment dispute is resolved. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ProtectionStatusEnum'>eBay API documentation</a> */
698
352
  protectionStatus?: string;
699
- /** @description The enumeration value returned in this field indicates the outcome of the payment dispute for the seller. This field is always returned once the payment dispute is resolved. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:OutcomeEnum'>eBay API documentation</a> */
700
353
  reasonForClosure?: string;
701
- /** @description This container shows the dollar amount being recouped from the seller. This container is empty if the seller wins the payment dispute or if the seller is fully protected by eBay's seller protection policy. */
702
354
  recoupAmount?: components["schemas"]["SimpleAmount"];
703
- /** @description This container shows the amount of money in selling fee credits due back to the seller after a payment dispute is settled. */
704
355
  totalFeeCredit?: components["schemas"]["SimpleAmount"];
705
356
  };
706
- /** @description This type is used by each payment dispute that is returned with the <strong>getPaymentDisputeSummaries</strong> method. */
707
357
  PaymentDisputeSummary: {
708
- /** @description This container shows the dollar value associated with the payment dispute in the currency used by the seller's marketplace. This container is returned for all payment disputes returned in the response. */
709
358
  amount?: components["schemas"]["SimpleAmount"];
710
- /** @description This is the buyer's eBay user ID. This field is returned for all payment disputes returned in the response. */
711
359
  buyerUsername?: string;
712
- /** @description The timestamp in this field shows the date/time when the payment dispute was closed, so this field is only returned for payment disputes in the <code>CLOSED</code> state.<br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
713
360
  closedDate?: string;
714
- /** @description The timestamp in this field shows the date/time when the payment dispute was opened. This field is returned for payment disputes in all states.<br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
715
361
  openDate?: string;
716
- /** @description This is the unique identifier of the order involved in the payment dispute. <br/><br/><span class="tablenote"><strong>Note:</strong> eBay rolled out a new Order ID format in June 2019. The legacy APIs still support the old and new order ID format to identify orders, but only the new order ID format is supported in REST-based APIs. </span> */
717
362
  orderId?: string;
718
- /** @description This is the unique identifier of the payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay Managed Payments system. This identifier is passed in at the end of the <strong>getPaymentDispute</strong> call URI to retrieve a specific payment dispute. The <strong>getPaymentDispute</strong> method returns more details about a payment dispute than the <strong>getPaymentDisputeSummaries</strong> method. */
719
363
  paymentDisputeId?: string;
720
- /** @description The enumeration value in this field gives the current status of the payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeStateEnum'>eBay API documentation</a> */
721
364
  paymentDisputeStatus?: string;
722
- /** @description The enumeration value in this field gives the reason why the buyer initiated the payment dispute. See <strong>DisputeReasonEnum</strong> type for a description of the supported reasons that buyers can give for initiating a payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeReasonEnum'>eBay API documentation</a> */
723
365
  reason?: string;
724
- /** @description The timestamp in this field shows the date/time when the seller must response to a payment dispute, so this field is only returned for payment disputes in the <code>ACTION_NEEDED</code> state. For payment disputes that require action by the seller, that same seller must call <strong>getPaymentDispute</strong> to see the next action(s) that they can take against the payment dispute.<br/><br/>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
725
366
  respondByDate?: string;
726
367
  };
727
- /** @description This type contains information about a hold placed on a payment to a seller for an order, including the reason why the buyer's payment for the order is being held, the expected release date of the funds into the seller's account, the current state of the hold, and the actual release date if the payment has been released, and possible actions the seller can take to expedite the payout of funds into their account. */
728
368
  PaymentHold: {
729
- /** @description The date and time that the payment being held is expected to be released to the seller. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field will be returned if known by eBay. <br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
730
369
  expectedReleaseDate?: string;
731
- /** @description The monetary amount of the payment being held. This field is always returned with the <strong>paymentHolds</strong> array. */
732
370
  holdAmount?: components["schemas"]["Amount"];
733
- /** @description The reason that the payment is being held. A seller's payment may be held for a number of reasons, including when the seller is new, the seller's level is below standard, or if a return case or 'Significantly not as described' case is pending against the seller. This field is always returned with the <strong>paymentHolds</strong> array. */
734
371
  holdReason?: string;
735
- /** @description The current stage or condition of the hold. This field is always returned with the <strong>paymentHolds</strong> array.<br /><br /><b>Applicable values:</b><ul><li><code>HELD</code></li><li><code>HELD_PENDING</code></li><li><code>NOT_HELD</code></li><li><code>RELEASE_CONFIRMED</code></li><li><code>RELEASE_FAILED</code></li><li><code>RELEASE_PENDING</code></li><li><code>RELEASED</code></li></ul> */
736
372
  holdState?: string;
737
- /** @description The date and time that the payment being held was actually released to the seller. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the seller's payment is actually released into the seller's account.<br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
738
373
  releaseDate?: string;
739
- /** @description A list of one or more possible actions that the seller can take to expedite the release of the payment hold. */
740
374
  sellerActionsToRelease?: (components["schemas"]["SellerActionsToRelease"])[];
741
375
  };
742
- /** @description This type contains information about the various monetary exchanges that apply to the net balance due for the order. */
743
376
  PaymentSummary: {
744
- /** @description This array consists of payment information for the order, including payment status, payment method, payment amount, and payment date. This array is always returned, although some of the fields under this container will not be returned until payment has been made. */
745
377
  payments?: (components["schemas"]["Payment"])[];
746
- /** @description This array is always returned, but is returned as an empty array unless the seller has submitted a partial or full refund to the buyer for the order. If a refund has occurred, the refund amount and refund date will be shown for each refund. */
747
378
  refunds?: (components["schemas"]["OrderRefund"])[];
748
- /** @description This is the total price that the seller receives for the entire order after all costs (item cost, delivery cost, taxes) are added for all line items, minus any discounts and/or promotions for any of the line items. Note that this value is subject to change before payment is actually made by the buyer (if the <strong>paymentStatus</strong> value was <code>PENDING</code> or <code>FAILED</code>), or if a partial or full refund occurs with the order.<br /><br /><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, the 'Collect and Remit' tax amount for the order will be included in this <strong>totalDueSeller</strong> value. <br><br>To determine if 'Collect and Remit' taxes were added into this <strong>totalDueSeller</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is in this amount:<ul><li><code>STATE_SALES_TAX</code>: US</li><li><code>GST</code>: Australia or New Zealand</li><li><code>VAT</code>: UK or EU countries</li></ul></span> */
749
379
  totalDueSeller?: components["schemas"]["Amount"];
750
380
  };
751
- /** @description This type is used by the <strong>returnAddress</strong field that is used by the payment dispute methods. If a buyer is returning the item (under payment dispute) to the seller, a primary phone number for the seller must be provided. */
752
381
  Phone: {
753
- /** @description The seller's country calling code. This field is needed if the buyer is located in a different country than the seller. It is also OK to provide if the buyer and seller are both located in the same country. For a full list of calling codes for all countries, see the <a href="https://countrycode.org/" target="_blank">countrycode.org</a> site. */
754
382
  countryCode?: string;
755
- /** @description The seller's primary phone number associated with the return address. When this number is provided in a <strong>contestPaymentDispute</strong> or <strong>contestPaymentDispute</strong> method, it is provided as one continuous numeric string, including the area code. So, if the phone number's area code was '408', a number in this field may look something like this: <br><br><code>"number" : "4088084356"</code><br><br>If the buyer is located in a different country than the seller, the seller's country calling code will need to be specified in the <strong>countryCode</strong> field. */
756
383
  number?: string;
757
384
  };
758
- /** @description This type contains a string field representing a telephone number. */
759
385
  PhoneNumber: {
760
- /** @description The primary telephone number for the shipping recipient. */
761
386
  phoneNumber?: string;
762
387
  };
763
- /** @description This type is used to indicate the merchant's store where the buyer will pickup their In-Store Pickup order. The <b>pickupStep</b> container is only returned for In-Store Pickup orders. The In-Store Pickup feature is supported in the US, Canada, UK, Germany, and Australia marketplaces. */
764
388
  PickupStep: {
765
- /** @description A merchant-defined unique identifier of the merchant's store where the buyer will pick up their In-Store Pickup order.<br/><br/> This field is always returned with the <b>pickupStep</b> container. */
766
389
  merchantLocationKey?: string;
767
390
  };
768
- /** @description This type is used to provide the status and outcome of an order line item going through the Authenticity Guarantee verification process. */
769
391
  PostSaleAuthenticationProgram: {
770
- /** @description This field indicates the result of the authenticity verification inspection on an order line item. This field is not returned when the status value of the order line item is <code>PENDING</code> or <code>PASSED</code>. The possible values returned here are <code>NOT_AUTHENTIC</code>, <code>NOT_AS_DESCRIBED</code>, <code>CUSTOMIZED</code>, <code>MISCATEGORIZED</code>, or <code>NOT_AUTHENTIC_NO_RETURN</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:AuthenticityVerificationReasonEnum'>eBay API documentation</a> */
771
392
  outcomeReason?: string;
772
- /** @description The value in this field indicates whether the order line item has passed or failed the authenticity verification inspection, or if the inspection and/or results are still pending. The possible values returned here are <code>PENDING</code>, <code>PASSED</code>, <code>FAILED</code>, or <code>PASSED_WITH_EXCEPTION</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:AuthenticityVerificationStatusEnum'>eBay API documentation</a> */
773
393
  status?: string;
774
394
  };
775
- /** @description This type contains a summary of cumulative costs and charges for all line items of an order, including item price, price adjustments, sales taxes, delivery costs, and order discounts. */
776
395
  PricingSummary: {
777
- /** @description This container shows the total amount of any adjustments that were applied to the cost of the item(s) in the order. This amount does not include shipping, discounts, fixed fees, or taxes.<br/><br/>This container is only returned if price adjustments were made to the order after the initial transaction/commitment to buy occurred. */
778
396
  adjustment?: components["schemas"]["Amount"];
779
- /** @description This container shows the total cost of delivering the order to the buyer, before any shipping/delivery discount is applied. */
780
397
  deliveryCost?: components["schemas"]["Amount"];
781
- /** @description This container shows the total amount of delivery discounts (including shipping discounts) that apply to the order. This should be a negative real number.<br/><br/>This container is only returned if delivery discounts are being applied to the order. */
782
398
  deliveryDiscount?: components["schemas"]["Amount"];
783
- /** @description This container shows the total amount of any special fees applied to the order, such as a tire recycling fee or an electronic waste fee. <br/><br/>This container is returned if special fees are being applied to the order and if the <b>fieldGroups</b> is set to <code>TAX_BREAKDOWN</code>. */
784
399
  fee?: components["schemas"]["Amount"];
785
- /** @description This container shows the total amount of all item price discounts (including promotions) that apply to the order and reduce its cost to the buyer. This should be a negative real number. <br/><br/>This container is only returned if special discounts are being applied to the order. */
786
400
  priceDiscountSubtotal?: components["schemas"]["Amount"];
787
- /** @description This container shows the cumulative costs of of all units of all line items in the order, before any discount is applied. */
788
401
  priceSubtotal?: components["schemas"]["Amount"];
789
- /** @description This container shows the total amount of tax for the order. To calculate the tax percentage rate, divide this value by the value of the <b>total</b> field. <br/><br/>This container is only returned if any type of tax (sales tax, tax on shipping, tax on handling, import tax, etc.) is applied to the order. */
790
402
  tax?: components["schemas"]["Amount"];
791
- /** @description The total cost of the order after adding all line item costs, delivery costs, sales tax, and special fees, and then subtracting all special discounts and price adjustments.<br /><br /><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, the 'Collect and Remit' tax amount for the order will be included in this <strong>total</strong> value only when the <strong>fieldGroups</strong> query parameter is set to <code>TAX_BREAKDOWN</code>. If the <strong>fieldGroups</strong> query parameter is not set to <code>TAX_BREAKDOWN</code>, 'Collect and Remit' will not be added into this <strong>total</strong> value.<br><br>To determine if 'Collect and Remit' taxes were added into this <strong>total</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is in this amount:<ul><li><code>STATE_SALES_TAX</code>: US state-mandated sales tax</li><li><code>GST</code>: 'Good and Services' tax in Australia or New Zealand</li><li><code>VAT</code>: VAT collected for UK or EU countries</li></ul></span> */
792
403
  total?: components["schemas"]["Amount"];
793
404
  };
794
- /** @description This type is returned for order line items eligible for the Authenticity Guarantee service and/or for order line items fulfilled by the eBay Fulfillment program. */
795
405
  Program: {
796
- /** @description This field is returned when the third-party authenticator performs the authentication verification inspection on the order line item. Different values will be returned based on whether the item passed or failed the authentication verification inspection. */
797
406
  authenticityVerification?: components["schemas"]["PostSaleAuthenticationProgram"];
798
- /** @description This field provides details about an order line item being handled by eBay fulfillment. It is only returned for paid orders being fulfilled by eBay or an eBay fulfillment partner. */
799
407
  fulfillmentProgram?: components["schemas"]["EbayFulfillmentProgram"];
800
408
  };
801
- /** @description This is the base type of the <b>issueRefund</b> response payload. As long as the <b>issueRefund</b> method does not trigger an error, a response payload will be returned. */
802
409
  Refund: {
803
- /** @description The unique identifier of the order refund. This value is returned unless the refund operation fails (<b>refundStatus</b> value shows <code>FAILED</code>). This identifier can be used to track the status of the refund through a <b>getOrder</b> or <b>getOrders</b> call. For order-level refunds, check the <b>paymentSummary.refunds.refundId</b> field in the <b>getOrder</b>/<b>getOrders</b> response, and for line item level refunds, check the <b>lineItems.refunds.refundId</b> field(s) in the <b>getOrder</b>/<b>getOrders</b> response. */
804
410
  refundId?: string;
805
- /** @description The value returned in this field indicates the success or failure of the refund operation. A successful <b>issueRefund</b> operation should result in a value of <code>PENDING</code>. A failed <b>issueRefund</b> operation should result in a value of <code>FAILED</code>, and an HTTP status code and/or and API error code may also get returned to possibly indicate the issue.<br/><br/>The refunds issued through this method are processed asynchronously, so the refund will not show as 'Refunded' right away. A seller will have to make a subsequent <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> call to check the status of the refund. The status of an order refund can be found in the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder#response.paymentSummary.refunds.refundStatus" target="_blank">paymentSummary.refunds.refundStatus</a> field of the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> response. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:RefundStatusEnum'>eBay API documentation</a> */
806
411
  refundStatus?: string;
807
412
  };
808
- /** @description This type is used if the seller is issuing a refund for one or more individual order line items in a multiple line item order. Otherwise, the seller just uses the <b>orderLevelRefundAmount</b> container to specify the amount of the refund for the entire order. */
809
413
  RefundItem: {
810
- /** @description This container is used to specify the amount of the refund for the corresponding order line item. If a seller wants to issue a refund for an entire order, the seller would use the <b>orderLevelRefundAmount</b> container instead. */
811
414
  refundAmount?: components["schemas"]["SimpleAmount"];
812
- /** @description The unique identifier of an order line item. This identifier is created once a buyer purchases a 'Buy It Now' item or if an auction listing ends with a winning bidder. Either this field or the <b>legacyReference</b> container is needed to identify an individual order line item that will receive a refund.<br/><br/><span class="tablenote"><strong>Note:</strong> The <b>lineItemId</b> field is used to identify an order line item in REST API format, and the <b>legacyReference</b> container is used to identify an order line item in Trading/legacy API format. Both legacy and REST API identifiers are returned in <b>getOrder</b> (Fulfillment API) and <b>GetOrders</b> (Trading API).</span> */
813
415
  lineItemId?: string;
814
- /** @description This container is needed if the seller is issuing a refund for an individual order line item, and wishes to use an item ID/transaction ID pair to identify the order line item. Either this container or the <b>lineItemId</b> field is needed to identify an individual order line item that will receive a refund. <br/><br/><span class="tablenote"><strong>Note:</strong> The <b>lineItemId</b> field is used to identify an order line item in REST API format, and the <b>legacyReference</b> container is used to identify an order line item in Trading/legacy API format. Both legacy and REST API identifiers are returned in <b>getOrder</b> (Fulfillment API) and <b>GetOrders</b> (Trading API).</span> */
815
416
  legacyReference?: components["schemas"]["LegacyReference"];
816
417
  };
817
- /** @description This type is used by the payment dispute methods, and is relevant if the buyer will be returning the item to the seller. */
818
418
  ReturnAddress: {
819
- /** @description The first line of the street address. */
820
419
  addressLine1?: string;
821
- /** @description The second line of the street address. This line is not always necessarily, but is often used for apartment number or suite number, or other relevant information that can not fit on the first line. */
822
420
  addressLine2?: string;
823
- /** @description The city of the return address. */
824
421
  city?: string;
825
- /** @description The country's two-digt, ISO 3166-1 country code. See the enumeration type for a country's value. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
826
422
  country?: string;
827
- /** @description The county of the return address. Counties are not applicable to all countries. */
828
423
  county?: string;
829
- /** @description The full name of return address owner. */
830
424
  fullName?: string;
831
- /** @description The postal code of the return address. */
832
425
  postalCode?: string;
833
- /** @description This container shows the seller's primary phone number associated with the return address. */
834
426
  primaryPhone?: components["schemas"]["Phone"];
835
- /** @description The state or province of the return address. */
836
427
  stateOrProvince?: string;
837
428
  };
838
- /** @description This type is used to state possible action(s) that a seller can take to release a payment hold placed against an order. */
839
429
  SellerActionsToRelease: {
840
- /** @description A possible action that the seller can take to expedite the release of a payment hold. A <strong>sellerActionToRelease</strong> field is returned for each possible action that a seller may take. Possible actions may include providing shipping/tracking information, issuing a refund, providing refund information, contacting customer support, etc. */
841
430
  sellerActionToRelease?: string;
842
431
  };
843
- /** @description This type contains the complete details of an existing fulfillment for an order. */
844
432
  ShippingFulfillment: {
845
- /** @description The unique identifier of the fulfillment; for example, <code>9405509699937003457459</code>. This eBay-generated value is created with a successful <b>createShippingFulfillment</b> call. */
846
433
  fulfillmentId?: string;
847
- /** @description This array contains a list of one or more line items (and purchased quantity) to which the fulfillment applies. */
848
434
  lineItems?: (components["schemas"]["LineItemReference"])[];
849
- /** @description The tracking number provided by the shipping carrier for the package shipped in this fulfillment. This field is returned if available. */
850
435
  shipmentTrackingNumber?: string;
851
- /** @description The date and time that the fulfillment package was shipped. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field should only be returned if the package has been shipped.<br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
852
436
  shippedDate?: string;
853
- /** @description The eBay code identifying the shipping carrier for this fulfillment. This field is returned if available. <br /><br /><span class="tablenote"><strong>Note:</strong> The Trading API's <b>ShippingCarrierCodeType</b> enumeration type contains the most current list of eBay shipping carrier codes and the countries served by each carrier. See <a href="https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/types/ShippingCarrierCodeType.html" target="_blank">ShippingCarrierCodeType</a>.</span> */
854
437
  shippingCarrierCode?: string;
855
438
  };
856
- /** @description This type contains the details for creating a fulfillment for an order. */
857
439
  ShippingFulfillmentDetails: {
858
- /** @description This array contains a list of or more line items and the quantity that will be shipped in the same package. */
859
440
  lineItems?: (components["schemas"]["LineItemReference"])[];
860
- /** @description This is the actual date and time that the fulfillment package was shipped. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. The seller should use the actual date/time that the package was shipped, but if this field is omitted, it will default to the current date/time.<br /><br /><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br /><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code><br /><br /><b>Default:</b> The current date and time. */
861
441
  shippedDate?: string;
862
- /** @description The unique identifier of the shipping carrier being used to ship the line item(s). Technically, the <strong>shippingCarrierCode</strong> and <strong>trackingNumber</strong> fields are optional, but generally these fields will be provided if the shipping carrier and tracking number are known. <br /><br /><span class="tablenote"><strong>Note:</strong> Use the Trading API's <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html" target="_blank">GeteBayDetails</a> call to retrieve the latest shipping carrier enumeration values. When making the <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html" target="_blank">GeteBayDetails</a> call, include the <strong>DetailName</strong> field in the request payload and set its value to <code>ShippingCarrierDetails</code>. Each valid shipping carrier enumeration value is returned in a <strong>ShippingCarrierDetails.ShippingCarrier</strong> field in the response payload.</span> */
863
442
  shippingCarrierCode?: string;
864
- /** @description The tracking number provided by the shipping carrier for this fulfillment. The seller should be careful that this tracking number is accurate since the buyer will use this tracking number to track shipment, and eBay has no way to verify the accuracy of this number.<br /><br />This field and the <b>shippingCarrierCode</b> field are mutually dependent. If you include one, you must also include the other.<br /><br /><span class="tablenote"><strong>Note:</strong> If you include <b>trackingNumber</b> (and <b>shippingCarrierCode</b>) in the request, the resulting fulfillment's ID (returned in the HTTP location code) is the tracking number. If you do not include shipment tracking information, the resulting fulfillment ID will default to an arbitrary number such as <code>999</code>.</span> */
865
443
  trackingNumber?: string;
866
444
  };
867
- /** @description This type contains the specifications for the entire collection of shipping fulfillments that are associated with the order specified by a <b>getShippingFulfillments</b> call. The <b>fulfillments</b> container returns an array of all the fulfillments in the collection. */
868
445
  ShippingFulfillmentPagedCollection: {
869
- /** @description This array contains one or more fulfillments required for the order that was specified in method endpoint. */
870
446
  fulfillments?: (components["schemas"]["ShippingFulfillment"])[];
871
- /**
872
- * Format: int32
873
- * @description The total number of fulfillments in the specified order.<br /><br /><span class="tablenote"><strong>Note:</strong> If no fulfillments are found for the order, this field is returned with a value of <code>0</code>.</span>
874
- */
875
447
  total?: number;
876
- /** @description This array is only returned if one or more errors or warnings occur with the call request. */
877
448
  warnings?: (components["schemas"]["Error"])[];
878
449
  };
879
- /** @description This type contains shipping information for a fulfillment, including the shipping carrier, the shipping service option, the shipment destination, and the Global Shipping Program reference ID. */
880
450
  ShippingStep: {
881
- /** @description The unique identifier of the shipping carrier being used to ship the line item. <br /><br /><span class="tablenote"><strong>Note:</strong> The Trading API's <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html" target="_blank">GeteBayDetails</a> call can be used to retrieve the latest shipping carrier and shipping service option enumeration values.</span> */
882
451
  shippingCarrierCode?: string;
883
- /** @description The unique identifier of the shipping service option being used to ship the line item.<br /><br /><span class="tablenote"><strong>Note:</strong> Use the Trading API's <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html" target="_blank">GeteBayDetails</a> call to retrieve the latest shipping carrier and shipping service option enumeration values. When making the <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html" target="_blank">GeteBayDetails</a> call, include the <strong>DetailName</strong> field in the request payload and set its value to <code>ShippingServiceDetails</code>. Each valid shipping service option (returned in <strong>ShippingServiceDetails.ShippingService</strong> field) and corresponding shipping carrier (returned in <strong>ShippingServiceDetails.ShippingCarrier</strong> field) is returned in response payload.</span> */
884
452
  shippingServiceCode?: string;
885
- /** @description This container consists of shipping and contact information about the individual or organization to whom the fulfillment package will be shipped. <br /><br /> <span class="tablenote"><strong>Note:</strong> For a Global Shipping Program shipment, this is the address of the international shipping provider's domestic warehouse. The international shipping provider is responsible for delivery to the final destination address. For more information, see <a href="https://developer.ebay.com/devzone/guides/features-guide/default.html#Development/Shipping-APIWork.html#AddressingaGlobalShippingProgramShipment" target="_blank">Addressing a Global Shipping Program Shipment</a>.</span> */
886
453
  shipTo?: components["schemas"]["ExtendedContact"];
887
- /** @description This is the unique identifer of the Global Shipping Program (GSP) shipment. This field is only returned if the line item is being shipped via GSP (the value of the <b>fulfillmentStartInstructions.ebaySupportedFulfillment</b> field will be <code>true</code>. The international shipping provider uses the <b>shipToReferenceId</b> value as the primary reference number to retrieve the relevant details about the buyer, the order, and the fulfillment, so the shipment can be completed. <br /><br />Sellers must include this value on the shipping label immediately above the street address of the international shipping provider. <br /><br />Example: "Reference #1234567890123456" <br /><br /><span class="tablenote"><strong>Note:</strong> This value is the same as the <b>ShipToAddress.ReferenceID</b> value returned by the Trading API's GetOrders call.</span> */
888
454
  shipToReferenceId?: string;
889
455
  };
890
- /** @description This type defines the monetary value of the payment dispute, and the currency used. */
891
456
  SimpleAmount: {
892
- /** @description A three-letter ISO 4217 code (such as <code>USD</code> for US site) that indicates the currency of the amount in the <strong>value</strong> field. Both the <strong>value</strong> and <strong>currency</strong> fields are always returned with the <strong>amount</strong> container. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
893
457
  currency?: string;
894
- /** @description The monetary amount of the payment dispute. Both the <strong>value</strong> and <strong>currency</strong> fields are always returned with the <strong>amount</strong> container. */
895
458
  value?: string;
896
459
  };
897
- /** @description This type contains information about any sales tax applied to a line item. */
898
460
  Tax: {
899
- /** @description The monetary amount of the tax. The <strong>taxes</strong> array is always returned for each line item in the order, but this <strong>amount</strong> will only be returned when the line item is subject to any type of sales tax. */
900
461
  amount?: components["schemas"]["Amount"];
901
- /** @description Tax type. This field is only available when <strong>fieldGroups</strong> is set to <code>TAX_BREAKDOWN</code>. If the order has fees, a breakdown of the fees is also provided. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:TaxTypeEnum'>eBay API documentation</a> */
902
462
  taxType?: string;
903
463
  };
904
- /** @description This container consists of address information that can be used by sellers for tax purpose. */
905
464
  TaxAddress: {
906
- /** @description The city name that can be used by sellers for tax purpose. */
907
465
  city?: string;
908
- /** @description The country code that can be used by sellers for tax purpose, represented as a two-letter ISO 3166-1 alpha-2 country code. For example, <strong>US</strong> represents the United States, and <strong>DE</strong> represents Germany. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
909
466
  countryCode?: string;
910
- /** @description The postal code that can be used by sellers for tax purpose. Usually referred to as Zip codes in the US. */
911
467
  postalCode?: string;
912
- /** @description The state name that can be used by sellers for tax purpose. */
913
468
  stateOrProvince?: string;
914
469
  };
915
- /** @description This type is used by the <strong>taxIdentifier</strong> container that is returned in <strong>getOrder</strong>. The <strong>taxIdentifier</strong> container consists of taxpayer identification information for buyers from Italy, Spain, or Guatemala. It is currently only returned for orders occurring on the eBay Italy or eBay Spain marketplaces.<br /><br /><span class="tablenote"><strong>Note:</strong> Currently, the <strong>taxIdentifier</strong> container is only returned in <strong>getOrder</strong> and not in <strong>getOrders</strong>. So, if a seller wanted to view a buyer's tax information for a particular order returned in <strong>getOrders</strong>, that seller would need to use the <strong>orderId</strong> value for that particular order, and then run a <strong>getOrder</strong> call against that order ID. </span> */
916
470
  TaxIdentifier: {
917
- /** @description This value is the unique tax ID associated with the buyer. The type of tax identification is shown in the <strong>taxIdentifierType</strong> field. */
918
471
  taxpayerId?: string;
919
- /** @description This enumeration value indicates the type of tax identification being used for the buyer. The different tax types are defined in the <strong>TaxIdentifierTypeEnum</strong> type. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:TaxIdentifierTypeEnum'>eBay API documentation</a> */
920
472
  taxIdentifierType?: string;
921
- /** @description This two-letter code indicates the country that issued the buyer's tax ID. The country that the two-letter code represents can be found in the <strong>CountryCodeEnum</strong> type, or in the <a href="https://www.iso.org/iso-3166-country-codes.html">ISO 3166</a> standard. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
922
473
  issuingCountry?: string;
923
474
  };
924
- /** @description This type is used by the <strong>shipmentTracking</strong> array returned under the <strong>evidence</strong> container if the seller has provided shipment tracking information as evidence to support <code>PROOF_OF_DELIVERY</code> for an INR-related payment dispute. */
925
475
  TrackingInfo: {
926
- /** @description This string value represents the shipment tracking number of the package. */
927
476
  shipmentTrackingNumber?: string;
928
- /** @description This string value represents the shipping carrier used to ship the package. */
929
477
  shippingCarrierCode?: string;
930
478
  };
931
- /** @description This type is used by the request payload of the <strong>updateEvidence</strong> method. The <strong>updateEvidence</strong> method is used to update an existing evidence set against a payment dispute with one or more evidence files. */
932
479
  UpdateEvidencePaymentDisputeRequest: {
933
- /** @description The unique identifier of the evidence set that is being updated with new evidence files. */
934
480
  evidenceId?: string;
935
- /** @description This field is used to indicate the type of evidence being provided through one or more evidence files. All evidence files (if more than one) should be associated with the evidence type passed in this field. See the <strong>EvidenceTypeEnum</strong> type for the supported evidence types. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
936
481
  evidenceType?: string;
937
- /** @description This array is used to specify one or more evidence files that will be added to the evidence set associated with a payment dispute. At least one evidence file must be specified in the <strong>files</strong> array.<br><br> The unique identifier of an evidence file is returned in the response payload of the <strong>uploadEvidence</strong> method. */
938
482
  files?: (components["schemas"]["FileEvidence"])[];
939
- /** @description This required array identifies the order line item(s) for which the evidence file(s) will be applicable. Both the <strong>itemId</strong> and <strong>lineItemID</strong> fields are needed to identify each order line item, and both of these values are returned under the <strong>evidenceRequests.lineItems</strong> array in the <strong>getPaymentDispute</strong> response. */
940
483
  lineItems?: (components["schemas"]["OrderLineItems"])[];
941
484
  };
942
485
  };
@@ -948,70 +491,49 @@ export interface components {
948
491
  }
949
492
  export type external = Record<string, never>;
950
493
  export interface operations {
951
- /** @description Use this call to retrieve the contents of an order based on its unique identifier, <i>orderId</i>. This value was returned in the <b> getOrders</b> call's <b>orders.orderId</b> field when you searched for orders by creation date, modification date, or fulfillment status. Include the optional <b>fieldGroups</b> query parameter set to <code>TAX_BREAKDOWN</code> to return a breakdown of the taxes and fees. <br /><br /> The returned <b>Order</b> object contains information you can use to create and process fulfillments, including: <ul> <li>Information about the buyer and seller</li> <li>Information about the order's line items</li> <li> The plans for packaging, addressing and shipping the order</li> <li>The status of payment, packaging, addressing, and shipping the order</li> <li>A summary of monetary amounts specific to the order such as pricing, payments, and shipping costs</li> <li>A summary of applied taxes and fees, and optionally a breakdown of each </li></ul> */
952
494
  getOrder: {
953
495
  parameters: {
954
496
  query?: {
955
- /** @description The response type associated with the order. The only presently supported value is <code>TAX_BREAKDOWN</code>. This type returns a breakdown of tax and fee values associated with the order. */
956
497
  fieldGroups?: string;
957
498
  };
958
499
  path: {
959
- /** @description The unique identifier of the order. Order ID values are shown in My eBay/Seller Hub, and are also returned by the <b>getOrders</b> method in the <b>orders.orderId</b> field. <br/><br/><span class="tablenote"><strong>Note:</strong> A new order ID format was introduced to all eBay APIs (legacy and REST) in June 2019. In REST APIs that return Order IDs, including the Fulfillment API, all order IDs are returned in the new format, but the <strong>getOrder</strong> method will accept both the legacy and new format order ID. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers will be automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support. </span> */
960
500
  orderId: string;
961
501
  };
962
502
  };
963
503
  responses: {
964
- /** @description Success */
965
504
  200: {
966
505
  content: {
967
506
  "application/json": components["schemas"]["Order"];
968
507
  };
969
508
  };
970
- /** @description Bad Request */
971
509
  400: never;
972
- /** @description Not Found */
973
510
  404: never;
974
- /** @description Internal Server Error */
975
511
  500: never;
976
512
  };
977
513
  };
978
- /** @description Use this call to search for and retrieve one or more orders based on their creation date, last modification date, or fulfillment status using the <b>filter</b> parameter. You can alternatively specify a list of orders using the <b>orderIds</b> parameter. Include the optional <b>fieldGroups</b> query parameter set to <code>TAX_BREAKDOWN</code> to return a breakdown of the taxes and fees. <br /><br /> The returned <b>Order</b> objects contain information you can use to create and process fulfillments, including: <ul> <li>Information about the buyer and seller</li> <li>Information about the order's line items</li> <li>The plans for packaging, addressing and shipping the order</li> <li>The status of payment, packaging, addressing, and shipping the order</li> <li>A summary of monetary amounts specific to the order such as pricing, payments, and shipping costs</li> <li>A summary of applied taxes and fees, and optionally a breakdown of each </li></ul> <br /><br /> <span class="tablenote"><strong>Important:</strong> In this call, the <b>cancelStatus.cancelRequests</b> array is returned but is always empty. Use the <b>getOrder</b> call instead, which returns this array fully populated with information about any cancellation requests.</span> */
979
514
  getOrders: {
980
515
  parameters: {
981
516
  query?: {
982
- /** @description The response type associated with the order. The only presently supported value is <code>TAX_BREAKDOWN</code>. This type returns a breakdown of tax and fee values associated with the order. */
983
517
  fieldGroups?: string;
984
- /** @description One or more comma-separated criteria for narrowing down the collection of orders returned by this call. These criteria correspond to specific fields in the response payload. Multiple filter criteria combine to further restrict the results. <br /><br /> <span class="tablenote"><strong>Note:</strong> Currently, <b>filter</b> returns data from only the last 90 days. If the <b>orderIds</b> parameter is included in the request, the <b>filter</b> parameter will be ignored.</span> <br /><br /> The available criteria are as follows: <dl> <dt><code><b>creationdate</b></code></dt> <dd>The time period during which qualifying orders were created (the <b>orders.creationDate</b> field). In the URI, this is expressed as a starting timestamp, with or without an ending timestamp (in brackets). The timestamps are in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock.For example: <ul> <li><code>creationdate:[2016-02-21T08:25:43.511Z..]</code> identifies orders created on or after the given timestamp.</li> <li><code>creationdate:[2016-02-21T08:25:43.511Z..2016-04-21T08:25:43.511Z]</code> identifies orders created between the given timestamps, inclusive.</li> </ul> </dd> <dt><code><b>lastmodifieddate</b></code></dt> <dd>The time period during which qualifying orders were last modified (the <b>orders.modifiedDate</b> field). In the URI, this is expressed as a starting timestamp, with or without an ending timestamp (in brackets). The timestamps are in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock.For example: <ul> <li><code>lastmodifieddate:[2016-05-15T08:25:43.511Z..]</code> identifies orders modified on or after the given timestamp.</li> <li><code>lastmodifieddate:[2016-05-15T08:25:43.511Z..2016-05-31T08:25:43.511Z]</code> identifies orders modified between the given timestamps, inclusive.</li> </ul> <span class="tablenote"><strong>Note:</strong> If <b>creationdate</b> and <b>lastmodifieddate</b> are both included, only <b>creationdate</b> is used.</span> <br /><br /></dd> <dt><code><b>orderfulfillmentstatus</b></code></dt> <dd>The degree to which qualifying orders have been shipped (the <b>orders.orderFulfillmentStatus</b> field). In the URI, this is expressed as one of the following value combinations: <ul> <li><code>orderfulfillmentstatus:{NOT_STARTED|IN_PROGRESS}</code> specifies orders for which no shipping fulfillments have been started, plus orders for which at least one shipping fulfillment has been started but not completed.</li> <li><code>orderfulfillmentstatus:{FULFILLED|IN_PROGRESS}</code> specifies orders for which all shipping fulfillments have been completed, plus orders for which at least one shipping fulfillment has been started but not completed.</li> </ul> <span class="tablenote"><strong>Note:</strong> The values <code>NOT_STARTED</code>, <code>IN_PROGRESS</code>, and <code>FULFILLED</code> can be used in various combinations, but only the combinations shown here are currently supported.</span> </dd> </dl> Here is an example of a <b>getOrders</b> call using all of these filters: <br /><br /> <code>GET https://api.ebay.com/sell/v1/order?<br />filter=<b>creationdate</b>:%5B2016-03-21T08:25:43.511Z..2016-04-21T08:25:43.511Z%5D,<br /><b>lastmodifieddate</b>:%5B2016-05-15T08:25:43.511Z..%5D,<br /><b>orderfulfillmentstatus</b>:%7BNOT_STARTED%7CIN_PROGRESS%7D</code> <br /><br /> <span class="tablenote"><strong>Note:</strong> This call requires that certain special characters in the URI query string be percent-encoded: <br /> &nbsp;&nbsp;&nbsp;&nbsp;<code>[</code> = <code>%5B</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>]</code> = <code>%5D</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>{</code> = <code>%7B</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>|</code> = <code>%7C</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>}</code> = <code>%7D</code> <br /> This query filter example uses these codes.</span> For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/fulfillment/types/api:FilterField */
985
518
  filter?: string;
986
- /** @description The number of orders to return per page of the result set. Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. <br /><br />For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the call retrieves orders 11 thru 20 from the result set. <br /><br /> If a limit is not set, the <b>limit</b> defaults to 50 and returns up to 50 orders. If a requested limit is more than 200, the call fails and returns an error.<br ><br> <span class="tablenote"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>. If the <b>orderIds</b> parameter is included in the request, this parameter will be ignored.</span> <br /><br /> <b>Maximum:</b> <code>200</code> <br /> <b>Default:</b> <code>50</code> */
987
519
  limit?: string;
988
- /** @description Specifies the number of orders to skip in the result set before returning the first order in the paginated response. <p>Combine <b>offset</b> with the <b>limit</b> query parameter to control the items returned in the response. For example, if you supply an <b>offset</b> of <code>0</code> and a <b>limit</b> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <b>offset</b> is <code>10</code> and <b>limit</b> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set.</p> <p><b>Default:</b> 0</p> */
989
520
  offset?: string;
990
- /** @description A comma-separated list of the unique identifiers of the orders to retrieve (maximum 50). If one or more order ID values are specified through the <b>orderIds</b> query parameter, all other query parameters will be ignored. <br/><br/><span class="tablenote"><strong>Note:</strong> A new order ID format was introduced to all eBay APIs (legacy and REST) in June 2019. In REST APIs that return Order IDs, including the Fulfillment API, all order IDs are returned in the new format, but the <strong>getOrders</strong> method will accept both the legacy and new format order ID. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers will be automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support. </span> */
991
521
  orderIds?: string;
992
522
  };
993
523
  };
994
524
  responses: {
995
- /** @description Success */
996
525
  200: {
997
526
  content: {
998
527
  "application/json": components["schemas"]["OrderSearchPagedCollection"];
999
528
  };
1000
529
  };
1001
- /** @description Bad Request */
1002
530
  400: never;
1003
- /** @description Internal Server Error */
1004
531
  500: never;
1005
532
  };
1006
533
  };
1007
- /**
1008
- * Issue Refund
1009
- * @description This method allows a seller (opted in to eBay Managed Payments) to issue a full or partial refund to a buyer for an order. Full or partial refunds can be issued at the order level or line item level.<br/><br/>The refunds issued through this method are processed asynchronously, so the refund will not show as 'Refunded' right away. A seller will have to make a subsequent <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> call to check the status of the refund. The status of an order refund can be found in the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder#response.paymentSummary.refunds.refundStatus" target="_blank">paymentSummary.refunds.refundStatus</a> field of the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> response. <br/><br/><span class="tablenote"><strong>Note:</strong> eBay Managed Payments is currently only available to a limited number of US sellers, but this program is scheduled to become available to more sellers throughout 2019 and beyond. </span>
1010
- */
1011
534
  issueRefund: {
1012
535
  parameters: {
1013
536
  path: {
1014
- /** @description The unique identifier of the order. Order IDs are returned in the <b>getOrders</b> method (and <b>GetOrders</b> call of Trading API). The <b>issueRefund</b> method supports the legacy API Order IDs and REST API order IDs.<br/><br/><span class="tablenote"><strong>Note:</strong> In the Trading API (and other legacy APIs), Order IDs are transitioning to a new format. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers will be automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support.<br/><br/>For developers and sellers who are already integrated with the Trading API's order management calls, this change shouldn't impact your integration unless you parse the existing order identifiers (e.g., <b>OrderID</b> or <b>OrderLineItemID</b>), or otherwise infer meaning from the format (e.g., differentiating between a single line item order versus a multiple line item order). Because we realize that some integrations may have logic that is dependent upon the identifier format, eBay is rolling out the Trading API change with version control to support a transition period of approximately 9 months before applications must switch to the new format completely. See the <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GetOrders.html#Request.OrderIDArray.OrderID" target="_blank">OrderID field description</a> in the <b>GetOrders</b> call for more details and requirements on transitioning to the new Order ID format.</span> */
1015
537
  order_id: string;
1016
538
  };
1017
539
  };
@@ -1021,61 +543,46 @@ export interface operations {
1021
543
  };
1022
544
  };
1023
545
  responses: {
1024
- /** @description OK */
1025
546
  200: {
1026
547
  content: {
1027
548
  "application/json": components["schemas"]["Refund"];
1028
549
  };
1029
550
  };
1030
- /** @description Bad Request */
1031
551
  400: never;
1032
- /** @description Access Forbidden */
1033
552
  403: never;
1034
- /** @description Resource Not found */
1035
553
  404: never;
1036
- /** @description Conflict */
1037
554
  409: never;
1038
- /** @description Internal Server Error */
1039
555
  500: never;
1040
556
  };
1041
557
  };
1042
- /** @description Use this call to retrieve the contents of all fulfillments currently defined for a specified order based on the order's unique identifier, <b>orderId</b>. This value is returned in the <b>getOrders</b> call's <b>members.orderId</b> field when you search for orders by creation date or shipment status. */
1043
558
  getShippingFulfillments: {
1044
559
  parameters: {
1045
560
  path: {
1046
- /** @description The unique identifier of the order. Order ID values are shown in My eBay/Seller Hub, and are also returned by the <b>getOrders</b> method in the <b>orders.orderId</b> field. <br/><br/><span class="tablenote"><strong>Note:</strong> A new order ID format was introduced to all eBay APIs (legacy and REST) in June 2019. In REST APIs that return Order IDs, including the Fulfillment API, all order IDs are returned in the new format, but the <strong>getShippingFulfillments</strong> method will accept both the legacy and new format order ID. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers will be automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support. </span> */
1047
561
  orderId: string;
1048
562
  };
1049
563
  };
1050
564
  responses: {
1051
- /** @description Success */
1052
565
  200: {
1053
566
  content: {
1054
567
  "application/json": components["schemas"]["ShippingFulfillmentPagedCollection"];
1055
568
  };
1056
569
  };
1057
- /** @description Bad Request */
1058
570
  400: never;
1059
- /** @description Internal Server Error */
1060
571
  500: never;
1061
572
  };
1062
573
  };
1063
- /** @description When you group an order's line items into one or more packages, each package requires a corresponding plan for handling, addressing, and shipping; this is a <i>shipping fulfillment</i>. For each package, execute this call once to generate a shipping fulfillment associated with that package. <br /><br /> <span class="tablenote"><strong>Note:</strong> A single line item in an order can consist of multiple units of a purchased item, and one unit can consist of multiple parts or components. Although these components might be provided by the manufacturer in separate packaging, the seller must include all components of a given line item in the same package.</span> <br /><br />Before using this call for a given package, you must determine which line items are in the package. If the package has been shipped, you should provide the date of shipment in the request. If not provided, it will default to the current date and time. */
1064
574
  createShippingFulfillment: {
1065
575
  parameters: {
1066
576
  path: {
1067
- /** @description The unique identifier of the order. Order ID values are shown in My eBay/Seller Hub, and are also returned by the <b>getOrders</b> method in the <b>orders.orderId</b> field. <br/><br/><span class="tablenote"><strong>Note:</strong> A new order ID format was introduced to all eBay APIs (legacy and REST) in June 2019. In REST APIs that return Order IDs, including the Fulfillment API, all order IDs are returned in the new format, but the <strong>createShippingFulfillment</strong> method will accept both the legacy and new format order ID. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers will be automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support. </span> */
1068
577
  orderId: string;
1069
578
  };
1070
579
  };
1071
- /** @description fulfillment payload */
1072
580
  requestBody: {
1073
581
  content: {
1074
582
  "application/json": components["schemas"]["ShippingFulfillmentDetails"];
1075
583
  };
1076
584
  };
1077
585
  responses: {
1078
- /** @description Created. The call also returns the following location code: <br /><br /><code>{ENV}/sell/fulfillment/v1/order/{ORDERID}/shipping_fulfillment/{FULFILLMENTID}</code> <br /><br />The <code>ENV</code> string is the HTTPS path to the same eBay supported environment in which this call was issued. The <code>ORDERID</code> parameter is the unique identifier of the order addressed by this call; for example, <code>01-03955-36441</code>. The <code>FULFILLMENTID</code> parameter identifies the newly created fulfillment; for example, <code>9405509699937003457459</code>. Use this Get Fulfillment URI to retrieve the contents of the new fulfillment. */
1079
586
  201: {
1080
587
  headers: {
1081
588
  Location?: string;
@@ -1084,165 +591,108 @@ export interface operations {
1084
591
  "application/json": Record<string, never>;
1085
592
  };
1086
593
  };
1087
- /** @description Bad Request */
1088
594
  400: never;
1089
- /** @description Internal Server Error */
1090
595
  500: never;
1091
596
  };
1092
597
  };
1093
- /** @description Use this call to retrieve the contents of a fulfillment based on its unique identifier, <b>fulfillmentId</b> (combined with the associated order's <b>orderId</b>). The <b>fulfillmentId</b> value was originally generated by the <b>createShippingFulfillment</b> call, and is returned by the <b>getShippingFulfillments</b> call in the <b>members.fulfillmentId</b> field. */
1094
598
  getShippingFulfillment: {
1095
599
  parameters: {
1096
600
  path: {
1097
- /** @description The unique identifier of the fulfillment. This eBay-generated value was created by the <b>Create Shipping Fulfillment</b> call, and returned by the <b>getShippingFulfillments</b> call in the <b>fulfillments.fulfillmentId</b> field; for example, <code>9405509699937003457459</code>. */
1098
601
  fulfillmentId: string;
1099
- /** @description The unique identifier of the order. Order ID values are shown in My eBay/Seller Hub, and are also returned by the <b>getOrders</b> method in the <b>orders.orderId</b> field. <br/><br/><span class="tablenote"><strong>Note:</strong> A new order ID format was introduced to all eBay APIs (legacy and REST) in June 2019. In REST APIs that return Order IDs, including the Fulfillment API, all order IDs are returned in the new format, but the <strong>getShippingFulfillment</strong> method will accept both the legacy and new format order ID. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers will be automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support. </span> */
1100
602
  orderId: string;
1101
603
  };
1102
604
  };
1103
605
  responses: {
1104
- /** @description Success */
1105
606
  200: {
1106
607
  content: {
1107
608
  "application/json": components["schemas"]["ShippingFulfillment"];
1108
609
  };
1109
610
  };
1110
- /** @description Bad Request */
1111
611
  400: never;
1112
- /** @description Not Found */
1113
612
  404: never;
1114
- /** @description Internal Server Error */
1115
613
  500: never;
1116
614
  };
1117
615
  };
1118
- /**
1119
- * Get Payment Dispute Details
1120
- * @description This method retrieves detailed information on a specific payment dispute. The payment dispute identifier is passed in as path parameter at the end of the call URI.<br/><br/>Below is a summary of the information that is retrieved:<ul><li>Current status of payment dispute</li><li>Amount of the payment dispute</li><li>Reason the payment dispute was opened</li><li>Order and line items associated with the payment dispute</li><li>Seller response options if an action is currently required on the payment dispute</li><li>Details on the results of the payment dispute if it has been closed</li><li>Details on any evidence that was provided by the seller to fight the payment dispute</li></ul>
1121
- */
1122
616
  getPaymentDispute: {
1123
617
  parameters: {
1124
618
  path: {
1125
- /** @description This is the unique identifier of the payment dispute. This path parameter must be passed in at the end of the call URI to identify the payment dispute to retrieve. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the <strong>paymentDisputeId</strong> field in the <strong>getPaymentDisputeSummaries</strong> response. */
1126
619
  payment_dispute_id: string;
1127
620
  };
1128
621
  };
1129
622
  responses: {
1130
- /** @description Success */
1131
623
  200: {
1132
624
  content: {
1133
625
  "application/json": components["schemas"]["PaymentDispute"];
1134
626
  };
1135
627
  };
1136
- /** @description Bad Request */
1137
628
  400: never;
1138
- /** @description Invalid Payment Dispute Id */
1139
629
  404: never;
1140
- /** @description Internal Server Error */
1141
630
  500: never;
1142
631
  };
1143
632
  };
1144
- /**
1145
- * Get Payment Dispute Evidence File
1146
- * @description This call retrieves a specific evidence file for a payment dispute. The following three identifying parameters are needed in the call URI:<ul><li><strong>payment_dispute_id</strong>: the identifier of the payment dispute. The identifier of each payment dispute is returned in the <strong>getPaymentDisputeSummaries</strong> response.</li><li><strong>evidence_id</strong>: the identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the <strong>evidence</strong> array in the <strong>getPaymentDispute</strong> response.</li><li><strong>file_id</strong>: the identifier of an evidential file. This file must belong to the evidential file set identified through the <strong>evidence_id</strong> query parameter. The identifier of each evidential file is returned under the <strong>evidence.files</strong> array in the <strong>getPaymentDispute</strong> response.</li></ul><p>An actual binary file is returned if the call is successful. An error will occur if any of three identifiers are invalid.</p>
1147
- */
1148
633
  fetchEvidenceContent: {
1149
634
  parameters: {
1150
635
  query: {
1151
- /** @description The identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the <strong>evidence</strong> array in the <strong>getPaymentDispute</strong> response.<br><br>Below is an example of the syntax to use for this query parameter:<br/><br/><code>evidence_id=12345678</code> */
1152
636
  evidence_id: string;
1153
- /** @description The identifier of an evidential file. This file must belong to the evidential file set identified through the <strong>evidence_id</strong> query parameter. The identifier of each evidential file is returned under the <strong>evidence.files</strong> array in the <strong>getPaymentDispute</strong> response. <br><br>Below is an example of the syntax to use for this query parameter:<br/><br/><code>file_id=12345678</code> */
1154
637
  file_id: string;
1155
638
  };
1156
639
  path: {
1157
- /** @description The identifier of the payment dispute. The identifier of each payment dispute is returned in the <strong>getPaymentDisputeSummaries</strong> response. This identifier is passed in as a path parameter at the end of the call URI. */
1158
640
  payment_dispute_id: string;
1159
641
  };
1160
642
  };
1161
643
  responses: {
1162
- /** @description Success */
1163
644
  200: {
1164
645
  content: {
1165
646
  "application/octet-stream": (string)[];
1166
647
  };
1167
648
  };
1168
- /** @description Bad Request */
1169
649
  400: never;
1170
- /** @description Invalid Payment Dispute Id */
1171
650
  404: never;
1172
- /** @description Internal Server Error */
1173
651
  500: never;
1174
652
  };
1175
653
  };
1176
- /**
1177
- * Get Payment Dispute Activity
1178
- * @description This method retrieve a log of activity for a payment dispute. The identifier of the payment dispute is passed in as a path parameter. The output includes a timestamp for each action of the payment dispute, from creation to resolution, and all steps in between.
1179
- */
1180
654
  getActivities: {
1181
655
  parameters: {
1182
656
  path: {
1183
- /** @description This is the unique identifier of the payment dispute. This path parameter must be passed in at the end of the call URI to identify the payment dispute for which the user wishes to see all activity. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the <strong>paymentDisputeId</strong> field in the <strong>getPaymentDisputeSummaries</strong> response.<br><br>This path parameter is required, and the actual identifier value is passed in right after the <strong>payment_dispute</strong> resource. See the Resource URI above. */
1184
657
  payment_dispute_id: string;
1185
658
  };
1186
659
  };
1187
660
  responses: {
1188
- /** @description Success */
1189
661
  200: {
1190
662
  content: {
1191
663
  "application/json": components["schemas"]["PaymentDisputeActivityHistory"];
1192
664
  };
1193
665
  };
1194
- /** @description Bad Request */
1195
666
  400: never;
1196
- /** @description Invalid Payment Dispute Id */
1197
667
  404: never;
1198
- /** @description Internal Server Error */
1199
668
  500: never;
1200
669
  };
1201
670
  };
1202
- /**
1203
- * Search Payment Dispute by Filters
1204
- * @description This method is used retrieve one or more payment disputes filed against the seller. These payment disputes can be open or recently closed. The following filter types are available in the request payload to control the payment disputes that are returned:<ul><li>Dispute filed against a specific order (<b>order_id</b> parameter is used)</li><li>Dispute(s) filed by a specific buyer (<b>buyer_username</b> parameter is used)</li><li>Dispute(s) filed within a specific date range (<b>open_date_from</b> and/or <b>open_date_to</b> parameters are used)</li><li>Disputes in a specific state (<b>payment_dispute_status</b> parameter is used)</li></ul>More than one of these filter types can be used together. See the request payload request fields for more information about how each filter is used.<br/><br/>If none of the filters are used, all open and recently closed payment disputes are returned.<br/><br/>Pagination is also available. See the <b>limit</b> and <b>offset</b> fields for more information on how pagination is used for this method.
1205
- */
1206
671
  getPaymentDisputeSummaries: {
1207
672
  parameters: {
1208
673
  query?: {
1209
- /** @description This filter is used if the seller wishes to retrieve one or more payment disputes filed against a specific order. It is possible that there can be more than one dispute filed against an order if the order has multiple line items. If this filter is used, any other filters are ignored.<br/><br/><span class="tablenote"><strong>Note:</strong> The order identifier passed into this field must be an Order ID in the new format. The legacy APIs still support the old and new order ID format to identify orders, but only the new order ID format is supported in REST-based APIs. eBay rolled out a new Order ID format in June 2019.</span> */
1210
674
  order_id?: string;
1211
- /** @description This filter is used if the seller wishes to retrieve one or more payment disputes opened by a specific seller. The string that is passed in to this query parameter is the eBay user ID of the buyer. */
1212
675
  buyer_username?: string;
1213
- /** @description The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the <b>open_date_from</b> and/or <b>open_date_to</b> filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu.<br><br>The <b>open_date_from</b> field sets the beginning date of the date range, and can be set as far back as 18 months from the present time. If a <b>open_date_from</b> field is used, but a <b>open_date_to</b> field is not used, the <b>open_date_to</b> value will default to 90 days after the date specified in the <b>open_date_from</b> field, or to the present time if less than 90 days in the past.<br/><br/>The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
1214
676
  open_date_from?: string;
1215
- /** @description The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the <b>open_date_from</b> and/or <b>open_date_to</b> filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu.<br><br>The <b>open_date_to</b> field sets the ending date of the date range, and can be set up to 90 days from the date set in the <b>open_date_from</b> field. <br/><br/>The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
1216
677
  open_date_to?: string;
1217
- /** @description This filter is used if the seller wishes to only retrieve payment disputes in a specific state. More than one value can be specified. If no <b>payment_dispute_status</b> filter is used, payment disputes in all states are returned in the response. See <strong>DisputeStateEnum</strong> type for supported values. */
1218
678
  payment_dispute_status?: string;
1219
- /** @description The value passed in this query parameter sets the maximum number of payment disputes to return per page of data. The value passed in this field should be an integer from 1 to 200. If this query parameter is not set, up to 200 records will be returned on each page of results.<br><br><b>Min</b>: 1; <b>Max</b>: 200; <b>Default</b>: 200 */
1220
679
  limit?: string;
1221
- /** @description This field is used to specify the number of records to skip in the result set before returning the first payment dispute in the paginated response. A zero-based index is used, so if you set the <b>offset</b> value to <code>0</code> (default value), the first payment dispute in the result set appears at the top of the response. <br/><br/>Combine <b>offset</b> with the <b>limit</b> parameter to control the payment disputes returned in the response. For example, if you supply an <b>offset</b> value of <code>0</code> and a <b>limit</b> value of <code>10</code>, the response will contain the first 10 payment disputes from the result set that matches the input criteria. If you supply an <b>offset</b> value of <code>10</code> and a <b>limit</b> value of <code>20</code>, the response will contain payment disputes 11-30 from the result set that matches the input criteria.<br><br><b>Min</b>: 0; <b>Max</b>: total number of payment disputes - 1; <b>Default</b>: 0 */
1222
680
  offset?: string;
1223
681
  };
1224
682
  };
1225
683
  responses: {
1226
- /** @description Success */
1227
684
  200: {
1228
685
  content: {
1229
686
  "application/json": components["schemas"]["DisputeSummaryResponse"];
1230
687
  };
1231
688
  };
1232
- /** @description Bad Request */
1233
689
  400: never;
1234
- /** @description Internal Server Error */
1235
690
  500: never;
1236
691
  };
1237
692
  };
1238
- /**
1239
- * Contest Payment Dispute
1240
- * @description This method is used if the seller wishes to contest a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br/><br/><span class="tablenote"><strong>Note:</strong> Before contesting a payment dispute, the seller must upload all evidence files using the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong>), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>If a seller decides to contest a payment dispute, that seller should be prepared to provide evidential documents such as proof of delivery, proof of authentication, or other documents. The type of evidential documents that the seller will provide will depend on why the buyer initiated the payment dispute.<br><br>The <strong>revision</strong> field in the request payload is required, and the <strong>returnAddress</strong> field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields.
1241
- */
1242
693
  contestPaymentDispute: {
1243
694
  parameters: {
1244
695
  path: {
1245
- /** @description This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to contest. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the <strong>paymentDisputeId</strong> field in the <strong>getPaymentDisputeSummaries</strong> response.<br><br>This path parameter is required, and the actual identifier value is passed in right after the <strong>payment_dispute</strong> resource. See the Resource URI above. */
1246
696
  payment_dispute_id: string;
1247
697
  };
1248
698
  };
@@ -1252,26 +702,16 @@ export interface operations {
1252
702
  };
1253
703
  };
1254
704
  responses: {
1255
- /** @description Success */
1256
705
  204: never;
1257
- /** @description Bad Request */
1258
706
  400: never;
1259
- /** @description Not Found */
1260
707
  404: never;
1261
- /** @description Conflict */
1262
708
  409: never;
1263
- /** @description Internal Server Error */
1264
709
  500: never;
1265
710
  };
1266
711
  };
1267
- /**
1268
- * Accept Payment Dispute
1269
- * @description This method is used if the seller wishes to accept a payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br>The <strong>revision</strong> field in the request payload is required, and the <strong>returnAddress</strong> field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields.
1270
- */
1271
712
  acceptPaymentDispute: {
1272
713
  parameters: {
1273
714
  path: {
1274
- /** @description This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to accept. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the <strong>paymentDisputeId</strong> field in the <strong>getPaymentDisputeSummaries</strong> response.<br><br>This path parameter is required, and the actual identifier value is passed in right after the <strong>payment_dispute</strong> resource. See the Resource URI above. */
1275
715
  payment_dispute_id: string;
1276
716
  };
1277
717
  };
@@ -1281,54 +721,34 @@ export interface operations {
1281
721
  };
1282
722
  };
1283
723
  responses: {
1284
- /** @description Success */
1285
724
  204: never;
1286
- /** @description Bad Request */
1287
725
  400: never;
1288
- /** @description Not Found */
1289
726
  404: never;
1290
- /** @description Conflict */
1291
727
  409: never;
1292
- /** @description Internal Server Error */
1293
728
  500: never;
1294
729
  };
1295
730
  };
1296
- /**
1297
- * Upload an Evidence File
1298
- * @description This method is used to upload an evidence file for a contested payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br>The <strong>uploadEvidenceFile</strong> only uploads an encrypted, binary image file (using multipart/form-data HTTP request header), and does not have a request payload. The three image formats supported at this time are .JPEG, .JPG, and .PNG.<br><br>Once the file is successfully uploaded, the seller will need to grab the <strong>fileId</strong> value in the response payload to add this file to a new evidence set using the <strong>addEvidence</strong> method, or to add this file to an existing evidence set using the <strong>updateEvidence</strong> method.
1299
- */
1300
731
  uploadEvidenceFile: {
1301
732
  parameters: {
1302
733
  path: {
1303
- /** @description This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to upload an evidence file. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the <strong>paymentDisputeId</strong> field in the <strong>getPaymentDisputeSummaries</strong> response.<br><br>This path parameter is required, and the actual identifier value is passed in right after the <strong>payment_dispute</strong> resource. See the Resource URI above. */
1304
734
  payment_dispute_id: string;
1305
735
  };
1306
736
  };
1307
737
  responses: {
1308
- /** @description Success */
1309
738
  200: {
1310
739
  content: {
1311
740
  "application/json": components["schemas"]["FileEvidence"];
1312
741
  };
1313
742
  };
1314
- /** @description Bad Request */
1315
743
  400: never;
1316
- /** @description Not Found */
1317
744
  404: never;
1318
- /** @description Conflict */
1319
745
  409: never;
1320
- /** @description Internal Server Error */
1321
746
  500: never;
1322
747
  };
1323
748
  };
1324
- /**
1325
- * Add an Evidence File
1326
- * @description This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br/><br/><span class="tablenote"><strong>Note:</strong> All evidence files should be uploaded using <strong>addEvidence</strong> and <strong>updateEvidence</strong> before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong> or through My eBay), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>The file(s) to add are identified through the <strong>files</strong> array in the request payload. Adding one or more new evidence files for a payment dispute triggers the creation of an evidence file, and the unique identifier for the new evidence file is automatically generated and returned in the <strong>evidenceId</strong> field of the <strong>addEvidence</strong> response payload upon a successful call.<br><br>The type of evidence being added should be specified in the <strong>evidenceType</strong> field. All files being added (if more than one) should correspond to this evidence type.<br><br>Upon a successful call, an <strong>evidenceId</strong> value is returned in the response. This indicates that a new evidence set has been created for the payment dispute, and this evidence set includes the evidence file(s) that were passed in to the <strong>fileId</strong> array. The <strong>evidenceId</strong> value will be needed if the seller wishes to add to the evidence set by using the <strong>updateEvidence</strong> method, or if they want to retrieve a specific evidence file within the evidence set by using the <strong>fetchEvidenceContent</strong> method.
1327
- */
1328
749
  addEvidence: {
1329
750
  parameters: {
1330
751
  path: {
1331
- /** @description This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to add evidence for a contested payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the <strong>paymentDisputeId</strong> field in the <strong>getPaymentDisputeSummaries</strong> response.<br><br>This path parameter is required, and the actual identifier value is passed in right after the <strong>payment_dispute</strong> resource. See the Resource URI above. */
1332
752
  payment_dispute_id: string;
1333
753
  };
1334
754
  };
@@ -1338,30 +758,20 @@ export interface operations {
1338
758
  };
1339
759
  };
1340
760
  responses: {
1341
- /** @description Success */
1342
761
  200: {
1343
762
  content: {
1344
763
  "application/json": components["schemas"]["AddEvidencePaymentDisputeResponse"];
1345
764
  };
1346
765
  };
1347
- /** @description Bad Request */
1348
766
  400: never;
1349
- /** @description Not Found */
1350
767
  404: never;
1351
- /** @description Conflict */
1352
768
  409: never;
1353
- /** @description Internal Server Error */
1354
769
  500: never;
1355
770
  };
1356
771
  };
1357
- /**
1358
- * Update evidence
1359
- * @description This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br/><br/><span class="tablenote"><strong>Note:</strong> All evidence files should be uploaded using <strong>addEvidence</strong> and <strong>updateEvidence</strong> before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong> or through My eBay), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>The unique identifier of the evidence set to update is specified through the <strong>evidenceId</strong> field, and the file(s) to add are identified through the <strong>files</strong> array in the request payload. The unique identifier for an evidence file is automatically generated and returned in the <strong>fileId</strong> field of the <strong>uploadEvidence</strong> response payload upon a successful call. Sellers must make sure to capture the <strong>fileId</strong> value for each evidence file that is uploaded with the <strong>uploadEvidence</strong> method.<br><br>The type of evidence being added should be specified in the <strong>evidenceType</strong> field. All files being added (if more than one) should correspond to this evidence type.<br><br>Upon a successful call, an http status code of <code>204 Success</code> is returned. There is no response payload unless an error occurs. To verify that a new file is a part of the evidence set, the seller can use the <strong>fetchEvidenceContent</strong> method, passing in the proper <strong>evidenceId</strong> and <strong>fileId</strong> values.
1360
- */
1361
772
  updateEvidence: {
1362
773
  parameters: {
1363
774
  path: {
1364
- /** @description This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to update the evidence set for a contested payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the <strong>paymentDisputeId</strong> field in the <strong>getPaymentDisputeSummaries</strong> response.<br><br>This path parameter is required, and the actual identifier value is passed in right after the <strong>payment_dispute</strong> resource. See the Resource URI above. */
1365
775
  payment_dispute_id: string;
1366
776
  };
1367
777
  };
@@ -1371,15 +781,10 @@ export interface operations {
1371
781
  };
1372
782
  };
1373
783
  responses: {
1374
- /** @description Success */
1375
784
  204: never;
1376
- /** @description Bad Request */
1377
785
  400: never;
1378
- /** @description Not Found */
1379
786
  404: never;
1380
- /** @description Conflict */
1381
787
  409: never;
1382
- /** @description Internal Server Error */
1383
788
  500: never;
1384
789
  };
1385
790
  };