ebay-api 9.4.3 → 10.0.0-RC.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.
- package/README.md +33 -2
- package/dist/api/restful/buy/browse/index.d.ts +1 -4
- package/dist/api/restful/buy/browse/index.js +0 -9
- package/dist/api/restful/buy/feed/index.d.ts +1 -0
- package/dist/api/restful/buy/feed/index.js +8 -0
- package/dist/api/restful/buy/marketing/index.d.ts +1 -3
- package/dist/api/restful/buy/marketing/index.js +0 -10
- package/dist/api/restful/buy/order/index.d.ts +1 -1
- package/dist/api/restful/buy/order/index.js +1 -1
- package/dist/api/restful/commerce/media/index.d.ts +8 -1
- package/dist/api/restful/commerce/media/index.js +24 -0
- package/dist/api/restful/commerce/notification/index.d.ts +5 -2
- package/dist/api/restful/commerce/notification/index.js +15 -1
- package/dist/api/restful/commerce/taxonomy/index.d.ts +1 -0
- package/dist/api/restful/commerce/taxonomy/index.js +4 -0
- package/dist/api/restful/sell/compliance/index.d.ts +0 -2
- package/dist/api/restful/sell/compliance/index.js +0 -3
- package/dist/api/restful/sell/feed/index.d.ts +7 -7
- package/dist/api/restful/sell/finances/index.d.ts +1 -1
- package/dist/api/restful/sell/listing/index.d.ts +2 -1
- package/dist/api/restful/sell/logistics/index.d.ts +6 -5
- package/dist/api/restful/sell/marketing/index.d.ts +4 -1
- package/dist/api/restful/sell/marketing/index.js +10 -0
- package/dist/api/restful/sell/metadata/index.d.ts +15 -0
- package/dist/api/restful/sell/metadata/index.js +65 -0
- package/dist/api/restful/sell/negotiation/index.d.ts +2 -1
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +239 -655
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +34 -171
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +146 -217
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +19 -208
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +13 -84
- package/dist/types/restful/specs/buy_order_v2_oas3.d.ts +470 -0
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +37 -562
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +10 -130
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +6 -39
- package/dist/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +209 -132
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +272 -716
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +77 -339
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +11 -38
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +24 -91
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +21 -132
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +193 -1696
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +21 -148
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +122 -902
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +99 -275
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +212 -1257
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +77 -281
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +563 -3197
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +709 -330
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +15 -82
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +10 -43
- package/dist/types/restfulTypes.d.ts +33 -14
- package/lib/api/restful/buy/browse/index.d.ts +1 -4
- package/lib/api/restful/buy/browse/index.js +0 -9
- package/lib/api/restful/buy/feed/index.d.ts +1 -0
- package/lib/api/restful/buy/feed/index.js +8 -0
- package/lib/api/restful/buy/marketing/index.d.ts +1 -3
- package/lib/api/restful/buy/marketing/index.js +0 -10
- package/lib/api/restful/buy/order/index.d.ts +1 -1
- package/lib/api/restful/buy/order/index.js +1 -1
- package/lib/api/restful/commerce/media/index.d.ts +8 -1
- package/lib/api/restful/commerce/media/index.js +24 -0
- package/lib/api/restful/commerce/notification/index.d.ts +5 -2
- package/lib/api/restful/commerce/notification/index.js +15 -1
- package/lib/api/restful/commerce/taxonomy/index.d.ts +1 -0
- package/lib/api/restful/commerce/taxonomy/index.js +4 -0
- package/lib/api/restful/sell/compliance/index.d.ts +0 -2
- package/lib/api/restful/sell/compliance/index.js +0 -3
- package/lib/api/restful/sell/feed/index.d.ts +7 -7
- package/lib/api/restful/sell/finances/index.d.ts +1 -1
- package/lib/api/restful/sell/listing/index.d.ts +2 -1
- package/lib/api/restful/sell/logistics/index.d.ts +6 -5
- package/lib/api/restful/sell/marketing/index.d.ts +4 -1
- package/lib/api/restful/sell/marketing/index.js +10 -0
- package/lib/api/restful/sell/metadata/index.d.ts +15 -0
- package/lib/api/restful/sell/metadata/index.js +65 -0
- package/lib/api/restful/sell/negotiation/index.d.ts +2 -1
- package/lib/ebay-api.min.js +1 -1
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +239 -655
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +34 -171
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +146 -217
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +19 -208
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +13 -84
- package/lib/types/restful/specs/buy_order_v2_oas3.d.ts +470 -0
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +37 -562
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +10 -130
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +6 -39
- package/lib/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +209 -132
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +272 -716
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +77 -339
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +11 -38
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +24 -91
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +21 -132
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +193 -1696
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +21 -148
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +122 -902
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +99 -275
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +212 -1257
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +77 -281
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +563 -3197
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +709 -330
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +15 -82
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +10 -43
- package/lib/types/restfulTypes.d.ts +33 -14
- package/package.json +2 -1
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -2400
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -2400
- /package/dist/types/restful/specs/{buy_order_v1_beta_oas3.js → buy_order_v2_oas3.js} +0 -0
- /package/lib/types/restful/specs/{buy_order_v1_beta_oas3.js → buy_order_v2_oas3.js} +0 -0
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
export interface paths {
|
|
2
|
+
"/guest_checkout_session/{checkoutSessionId}/apply_coupon": {
|
|
3
|
+
post: operations["applyGuestCoupon"];
|
|
4
|
+
};
|
|
5
|
+
"/guest_checkout_session/{checkoutSessionId}": {
|
|
6
|
+
get: operations["getGuestCheckoutSession"];
|
|
7
|
+
};
|
|
8
|
+
"/guest_checkout_session/initiate": {
|
|
9
|
+
post: operations["initiateGuestCheckoutSession"];
|
|
10
|
+
};
|
|
11
|
+
"/guest_checkout_session/{checkoutSessionId}/remove_coupon": {
|
|
12
|
+
post: operations["removeGuestCoupon"];
|
|
13
|
+
};
|
|
14
|
+
"/guest_checkout_session/{checkoutSessionId}/update_quantity": {
|
|
15
|
+
post: operations["updateGuestQuantity"];
|
|
16
|
+
};
|
|
17
|
+
"/guest_checkout_session/{checkoutSessionId}/update_shipping_address": {
|
|
18
|
+
post: operations["updateGuestShippingAddress"];
|
|
19
|
+
};
|
|
20
|
+
"/guest_checkout_session/{checkoutSessionId}/update_shipping_option": {
|
|
21
|
+
post: operations["updateGuestShippingOption"];
|
|
22
|
+
};
|
|
23
|
+
"/guest_purchase_order/{purchaseOrderId}": {
|
|
24
|
+
get: operations["getGuestPurchaseOrder"];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export type webhooks = Record<string, never>;
|
|
28
|
+
export interface components {
|
|
29
|
+
schemas: {
|
|
30
|
+
Adjustment: {
|
|
31
|
+
amount?: components["schemas"]["Amount"];
|
|
32
|
+
label?: string;
|
|
33
|
+
};
|
|
34
|
+
Amount: {
|
|
35
|
+
currency?: string;
|
|
36
|
+
value?: string;
|
|
37
|
+
};
|
|
38
|
+
AuthenticityVerificationProgram: {
|
|
39
|
+
description?: string;
|
|
40
|
+
outcomeReason?: string;
|
|
41
|
+
status?: string;
|
|
42
|
+
termsWebUrl?: string;
|
|
43
|
+
};
|
|
44
|
+
Coupon: {
|
|
45
|
+
redemptionCode?: string;
|
|
46
|
+
};
|
|
47
|
+
CouponRequest: {
|
|
48
|
+
redemptionCode?: string;
|
|
49
|
+
};
|
|
50
|
+
CreateGuestCheckoutSessionRequestV2: {
|
|
51
|
+
contactEmail?: string;
|
|
52
|
+
lineItemInputs?: (components["schemas"]["LineItemInput"])[];
|
|
53
|
+
shippingAddress?: components["schemas"]["ShippingAddress"];
|
|
54
|
+
};
|
|
55
|
+
Error: {
|
|
56
|
+
category?: string;
|
|
57
|
+
domain?: string;
|
|
58
|
+
errorId?: number;
|
|
59
|
+
inputRefIds?: (string)[];
|
|
60
|
+
longMessage?: string;
|
|
61
|
+
message?: string;
|
|
62
|
+
outputRefIds?: (string)[];
|
|
63
|
+
parameters?: (components["schemas"]["ErrorParameter"])[];
|
|
64
|
+
subdomain?: string;
|
|
65
|
+
};
|
|
66
|
+
ErrorParameter: {
|
|
67
|
+
name?: string;
|
|
68
|
+
value?: string;
|
|
69
|
+
};
|
|
70
|
+
Fee: {
|
|
71
|
+
amount?: components["schemas"]["Amount"];
|
|
72
|
+
feeType?: string;
|
|
73
|
+
};
|
|
74
|
+
GuestCheckoutSessionResponseV2: {
|
|
75
|
+
appliedCoupons?: (components["schemas"]["Coupon"])[];
|
|
76
|
+
checkoutSessionId?: string;
|
|
77
|
+
lineItems?: (components["schemas"]["LineItem"])[];
|
|
78
|
+
pricingSummary?: components["schemas"]["PricingSummaryV2"];
|
|
79
|
+
shippingAddress?: components["schemas"]["ShippingAddress"];
|
|
80
|
+
warnings?: (components["schemas"]["Error"])[];
|
|
81
|
+
};
|
|
82
|
+
GuestPurchaseOrderV2: {
|
|
83
|
+
lineItems?: (components["schemas"]["OrderLineItemV2"])[];
|
|
84
|
+
pricingSummary?: components["schemas"]["PricingSummary"];
|
|
85
|
+
purchaseOrderCreationDate?: string;
|
|
86
|
+
purchaseOrderId?: string;
|
|
87
|
+
purchaseOrderPaymentStatus?: string;
|
|
88
|
+
purchaseOrderStatus?: string;
|
|
89
|
+
refundedAmount?: components["schemas"]["Amount"];
|
|
90
|
+
warnings?: (components["schemas"]["Error"])[];
|
|
91
|
+
};
|
|
92
|
+
Image: {
|
|
93
|
+
imageUrl?: string;
|
|
94
|
+
};
|
|
95
|
+
ImportChargesV2: {
|
|
96
|
+
amount?: components["schemas"]["Amount"];
|
|
97
|
+
applicableChargeType?: string;
|
|
98
|
+
};
|
|
99
|
+
ImportTax: {
|
|
100
|
+
amount?: components["schemas"]["Amount"];
|
|
101
|
+
importTaxType?: string;
|
|
102
|
+
};
|
|
103
|
+
LegacyReference: {
|
|
104
|
+
legacyItemId?: string;
|
|
105
|
+
legacyOrderId?: string;
|
|
106
|
+
legacyTransactionId?: string;
|
|
107
|
+
};
|
|
108
|
+
LineItem: {
|
|
109
|
+
authenticityVerification?: components["schemas"]["AuthenticityVerificationProgram"];
|
|
110
|
+
baseUnitPrice?: components["schemas"]["Amount"];
|
|
111
|
+
fees?: (components["schemas"]["Fee"])[];
|
|
112
|
+
image?: components["schemas"]["Image"];
|
|
113
|
+
itemId?: string;
|
|
114
|
+
lineItemId?: string;
|
|
115
|
+
netPrice?: components["schemas"]["Amount"];
|
|
116
|
+
promotions?: (components["schemas"]["Promotion"])[];
|
|
117
|
+
quantity?: number;
|
|
118
|
+
seller?: components["schemas"]["Seller"];
|
|
119
|
+
shippingOptions?: (components["schemas"]["ShippingOption"])[];
|
|
120
|
+
taxDetails?: (components["schemas"]["TaxDetail"])[];
|
|
121
|
+
title?: string;
|
|
122
|
+
};
|
|
123
|
+
LineItemInput: {
|
|
124
|
+
itemId?: string;
|
|
125
|
+
quantity?: number;
|
|
126
|
+
};
|
|
127
|
+
OrderLineItemV2: {
|
|
128
|
+
authenticityVerification?: components["schemas"]["AuthenticityVerificationProgram"];
|
|
129
|
+
baseUnitPrice?: components["schemas"]["Amount"];
|
|
130
|
+
fees?: (components["schemas"]["Fee"])[];
|
|
131
|
+
image?: components["schemas"]["Image"];
|
|
132
|
+
itemId?: string;
|
|
133
|
+
itemOnHold?: boolean;
|
|
134
|
+
legacyReference?: components["schemas"]["LegacyReference"];
|
|
135
|
+
lineItemId?: string;
|
|
136
|
+
lineItemPaymentStatus?: string;
|
|
137
|
+
lineItemStatus?: string;
|
|
138
|
+
netPrice?: components["schemas"]["Amount"];
|
|
139
|
+
orderId?: string;
|
|
140
|
+
promotions?: (components["schemas"]["Promotion"])[];
|
|
141
|
+
quantity?: number;
|
|
142
|
+
seller?: components["schemas"]["Seller"];
|
|
143
|
+
shippingDetail?: components["schemas"]["ShippingDetail"];
|
|
144
|
+
taxDetails?: (components["schemas"]["TaxDetail"])[];
|
|
145
|
+
title?: string;
|
|
146
|
+
};
|
|
147
|
+
PricingSummary: {
|
|
148
|
+
additionalSavings?: components["schemas"]["Amount"];
|
|
149
|
+
adjustment?: components["schemas"]["Adjustment"];
|
|
150
|
+
deliveryCost?: components["schemas"]["Amount"];
|
|
151
|
+
deliveryDiscount?: components["schemas"]["Amount"];
|
|
152
|
+
fee?: components["schemas"]["Amount"];
|
|
153
|
+
importCharges?: components["schemas"]["Amount"];
|
|
154
|
+
importTax?: components["schemas"]["ImportTax"];
|
|
155
|
+
priceDiscount?: components["schemas"]["Amount"];
|
|
156
|
+
priceSubtotal?: components["schemas"]["Amount"];
|
|
157
|
+
tax?: components["schemas"]["Amount"];
|
|
158
|
+
total?: components["schemas"]["Amount"];
|
|
159
|
+
};
|
|
160
|
+
PricingSummaryV2: {
|
|
161
|
+
additionalSavings?: components["schemas"]["Amount"];
|
|
162
|
+
adjustment?: components["schemas"]["Adjustment"];
|
|
163
|
+
deliveryCost?: components["schemas"]["Amount"];
|
|
164
|
+
fee?: components["schemas"]["Amount"];
|
|
165
|
+
importCharges?: components["schemas"]["ImportChargesV2"];
|
|
166
|
+
importTax?: components["schemas"]["ImportTax"];
|
|
167
|
+
priceDiscount?: components["schemas"]["Amount"];
|
|
168
|
+
priceSubtotal?: components["schemas"]["Amount"];
|
|
169
|
+
tax?: components["schemas"]["Amount"];
|
|
170
|
+
total?: components["schemas"]["Amount"];
|
|
171
|
+
};
|
|
172
|
+
Promotion: {
|
|
173
|
+
discount?: components["schemas"]["Amount"];
|
|
174
|
+
message?: string;
|
|
175
|
+
promotionType?: string;
|
|
176
|
+
};
|
|
177
|
+
Recipient: {
|
|
178
|
+
firstName?: string;
|
|
179
|
+
lastName?: string;
|
|
180
|
+
};
|
|
181
|
+
Region: {
|
|
182
|
+
regionName?: string;
|
|
183
|
+
regionType?: string;
|
|
184
|
+
};
|
|
185
|
+
Seller: {
|
|
186
|
+
username?: string;
|
|
187
|
+
};
|
|
188
|
+
ShippingAddress: {
|
|
189
|
+
addressLine1?: string;
|
|
190
|
+
addressLine2?: string;
|
|
191
|
+
city?: string;
|
|
192
|
+
country?: string;
|
|
193
|
+
county?: string;
|
|
194
|
+
phoneNumber?: string;
|
|
195
|
+
postalCode?: string;
|
|
196
|
+
recipient?: components["schemas"]["Recipient"];
|
|
197
|
+
stateOrProvince?: string;
|
|
198
|
+
};
|
|
199
|
+
ShippingAddressImpl: {
|
|
200
|
+
addressLine1?: string;
|
|
201
|
+
addressLine2?: string;
|
|
202
|
+
city?: string;
|
|
203
|
+
country?: string;
|
|
204
|
+
county?: string;
|
|
205
|
+
phoneNumber?: string;
|
|
206
|
+
postalCode?: string;
|
|
207
|
+
recipient?: components["schemas"]["Recipient"];
|
|
208
|
+
stateOrProvince?: string;
|
|
209
|
+
};
|
|
210
|
+
ShippingDetail: {
|
|
211
|
+
maxEstimatedDeliveryDate?: string;
|
|
212
|
+
minEstimatedDeliveryDate?: string;
|
|
213
|
+
shippingCarrierCode?: string;
|
|
214
|
+
shippingServiceCode?: string;
|
|
215
|
+
};
|
|
216
|
+
ShippingOption: {
|
|
217
|
+
baseDeliveryCost?: components["schemas"]["Amount"];
|
|
218
|
+
deliveryDiscount?: components["schemas"]["Amount"];
|
|
219
|
+
importCharges?: components["schemas"]["Amount"];
|
|
220
|
+
maxEstimatedDeliveryDate?: string;
|
|
221
|
+
minEstimatedDeliveryDate?: string;
|
|
222
|
+
selected?: boolean;
|
|
223
|
+
shippingCarrierCode?: string;
|
|
224
|
+
shippingOptionId?: string;
|
|
225
|
+
shippingServiceCode?: string;
|
|
226
|
+
};
|
|
227
|
+
TaxDetail: {
|
|
228
|
+
includedInPrice?: boolean;
|
|
229
|
+
taxJurisdiction?: components["schemas"]["TaxJurisdiction"];
|
|
230
|
+
taxType?: string;
|
|
231
|
+
};
|
|
232
|
+
TaxJurisdiction: {
|
|
233
|
+
region?: components["schemas"]["Region"];
|
|
234
|
+
taxJurisdictionId?: string;
|
|
235
|
+
};
|
|
236
|
+
UpdateQuantity: {
|
|
237
|
+
lineItemId?: string;
|
|
238
|
+
quantity?: number;
|
|
239
|
+
};
|
|
240
|
+
UpdateShippingOption: {
|
|
241
|
+
lineItemId?: string;
|
|
242
|
+
shippingOptionId?: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
responses: never;
|
|
246
|
+
parameters: never;
|
|
247
|
+
requestBodies: never;
|
|
248
|
+
headers: never;
|
|
249
|
+
pathItems: never;
|
|
250
|
+
}
|
|
251
|
+
export type external = Record<string, never>;
|
|
252
|
+
export interface operations {
|
|
253
|
+
applyGuestCoupon: {
|
|
254
|
+
parameters: {
|
|
255
|
+
header: {
|
|
256
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
257
|
+
"Content-Type": string;
|
|
258
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
259
|
+
};
|
|
260
|
+
path: {
|
|
261
|
+
checkoutSessionId: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
requestBody?: {
|
|
265
|
+
content: {
|
|
266
|
+
"application/json": components["schemas"]["CouponRequest"];
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
responses: {
|
|
270
|
+
200: {
|
|
271
|
+
content: {
|
|
272
|
+
"application/json": components["schemas"]["GuestCheckoutSessionResponseV2"];
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
400: never;
|
|
276
|
+
403: never;
|
|
277
|
+
404: never;
|
|
278
|
+
409: never;
|
|
279
|
+
500: never;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
getGuestCheckoutSession: {
|
|
283
|
+
parameters: {
|
|
284
|
+
header: {
|
|
285
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
286
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
287
|
+
};
|
|
288
|
+
path: {
|
|
289
|
+
checkoutSessionId: string;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
responses: {
|
|
293
|
+
200: {
|
|
294
|
+
content: {
|
|
295
|
+
"application/json": components["schemas"]["GuestCheckoutSessionResponseV2"];
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
400: never;
|
|
299
|
+
403: never;
|
|
300
|
+
404: never;
|
|
301
|
+
409: never;
|
|
302
|
+
500: never;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
initiateGuestCheckoutSession: {
|
|
306
|
+
parameters: {
|
|
307
|
+
header: {
|
|
308
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
309
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
310
|
+
"Content-Type": string;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
requestBody?: {
|
|
314
|
+
content: {
|
|
315
|
+
"application/json": components["schemas"]["CreateGuestCheckoutSessionRequestV2"];
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
responses: {
|
|
319
|
+
200: {
|
|
320
|
+
headers: {
|
|
321
|
+
"X-EBAY-SECURITY-SIGNATURE"?: string;
|
|
322
|
+
};
|
|
323
|
+
content: {
|
|
324
|
+
"application/json": components["schemas"]["GuestCheckoutSessionResponseV2"];
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
400: never;
|
|
328
|
+
409: never;
|
|
329
|
+
500: never;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
removeGuestCoupon: {
|
|
333
|
+
parameters: {
|
|
334
|
+
header: {
|
|
335
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
336
|
+
"Content-Type": string;
|
|
337
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
338
|
+
};
|
|
339
|
+
path: {
|
|
340
|
+
checkoutSessionId: string;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
requestBody?: {
|
|
344
|
+
content: {
|
|
345
|
+
"application/json": components["schemas"]["CouponRequest"];
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
responses: {
|
|
349
|
+
200: {
|
|
350
|
+
content: {
|
|
351
|
+
"application/json": components["schemas"]["GuestCheckoutSessionResponseV2"];
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
400: never;
|
|
355
|
+
403: never;
|
|
356
|
+
404: never;
|
|
357
|
+
409: never;
|
|
358
|
+
500: never;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
updateGuestQuantity: {
|
|
362
|
+
parameters: {
|
|
363
|
+
header: {
|
|
364
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
365
|
+
"Content-Type": string;
|
|
366
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
367
|
+
};
|
|
368
|
+
path: {
|
|
369
|
+
checkoutSessionId: string;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
requestBody?: {
|
|
373
|
+
content: {
|
|
374
|
+
"application/json": components["schemas"]["UpdateQuantity"];
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
responses: {
|
|
378
|
+
200: {
|
|
379
|
+
content: {
|
|
380
|
+
"application/json": components["schemas"]["GuestCheckoutSessionResponseV2"];
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
400: never;
|
|
384
|
+
403: never;
|
|
385
|
+
404: never;
|
|
386
|
+
409: never;
|
|
387
|
+
500: never;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
updateGuestShippingAddress: {
|
|
391
|
+
parameters: {
|
|
392
|
+
header: {
|
|
393
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
394
|
+
"Content-Type": string;
|
|
395
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
396
|
+
};
|
|
397
|
+
path: {
|
|
398
|
+
checkoutSessionId: string;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
requestBody?: {
|
|
402
|
+
content: {
|
|
403
|
+
"application/json": components["schemas"]["ShippingAddressImpl"];
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
responses: {
|
|
407
|
+
200: {
|
|
408
|
+
content: {
|
|
409
|
+
"application/json": components["schemas"]["GuestCheckoutSessionResponseV2"];
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
400: never;
|
|
413
|
+
403: never;
|
|
414
|
+
404: never;
|
|
415
|
+
409: never;
|
|
416
|
+
500: never;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
updateGuestShippingOption: {
|
|
420
|
+
parameters: {
|
|
421
|
+
header: {
|
|
422
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
423
|
+
"Content-Type": string;
|
|
424
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
425
|
+
};
|
|
426
|
+
path: {
|
|
427
|
+
checkoutSessionId: string;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
requestBody?: {
|
|
431
|
+
content: {
|
|
432
|
+
"application/json": components["schemas"]["UpdateShippingOption"];
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
responses: {
|
|
436
|
+
200: {
|
|
437
|
+
content: {
|
|
438
|
+
"application/json": components["schemas"]["GuestCheckoutSessionResponseV2"];
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
400: never;
|
|
442
|
+
403: never;
|
|
443
|
+
404: never;
|
|
444
|
+
409: never;
|
|
445
|
+
500: never;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
getGuestPurchaseOrder: {
|
|
449
|
+
parameters: {
|
|
450
|
+
header?: {
|
|
451
|
+
"X-EBAY-C-MARKETPLACE-ID"?: string;
|
|
452
|
+
"X-EBAY-C-ENDUSERCTX"?: string;
|
|
453
|
+
};
|
|
454
|
+
path: {
|
|
455
|
+
purchaseOrderId: string;
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
responses: {
|
|
459
|
+
200: {
|
|
460
|
+
content: {
|
|
461
|
+
"application/json": components["schemas"]["GuestPurchaseOrderV2"];
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
400: never;
|
|
465
|
+
403: never;
|
|
466
|
+
404: never;
|
|
467
|
+
500: never;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
}
|