@whiplashmerch/whiplash-api-client 0.2.20 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.esm.js +14 -0
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/data-contracts.d.ts +408 -13
- package/generated/data-contracts.ts +403 -6
- package/package.json +1 -1
|
@@ -1,3 +1,211 @@
|
|
|
1
|
+
export interface APIV21EntitiesCustomer {
|
|
2
|
+
/** Customer billing address line 1. */
|
|
3
|
+
billing_address1?: string;
|
|
4
|
+
/** Customer billing address line 2. */
|
|
5
|
+
billing_address2?: string;
|
|
6
|
+
/** Customer billing address line 3. */
|
|
7
|
+
billing_address3?: string;
|
|
8
|
+
/** Customer phone 1. */
|
|
9
|
+
billing_phone1?: string;
|
|
10
|
+
/** Customer phone 2. */
|
|
11
|
+
billing_phone2?: string;
|
|
12
|
+
/** Customer return address line 1. */
|
|
13
|
+
return_address_1?: string;
|
|
14
|
+
/** Customer return address line 2. */
|
|
15
|
+
return_address_2?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Account level
|
|
18
|
+
* @format int32
|
|
19
|
+
*/
|
|
20
|
+
account_level?: number;
|
|
21
|
+
/** Quote, Direct, Enterprise, or Managed */
|
|
22
|
+
account_level_name?: string;
|
|
23
|
+
/**
|
|
24
|
+
* the customer activation date and time
|
|
25
|
+
* @format date-time
|
|
26
|
+
*/
|
|
27
|
+
activated_at?: string;
|
|
28
|
+
/** Customer active? */
|
|
29
|
+
active?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* IDs of warehouses this customer may ship from
|
|
32
|
+
* @format int32
|
|
33
|
+
*/
|
|
34
|
+
allowed_warehouse_ids?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Customer auto merge gestation.
|
|
37
|
+
* @format int32
|
|
38
|
+
*/
|
|
39
|
+
auto_merge_gestation?: number;
|
|
40
|
+
/** auto merge SKUs? */
|
|
41
|
+
auto_merge_skus?: boolean;
|
|
42
|
+
/** Customer billing city. */
|
|
43
|
+
billing_city?: string;
|
|
44
|
+
/** Customer billing company. */
|
|
45
|
+
billing_company?: string;
|
|
46
|
+
/** Customer billing contact name. */
|
|
47
|
+
billing_contact_name?: string;
|
|
48
|
+
/** Customer billing country. */
|
|
49
|
+
billing_country?: string;
|
|
50
|
+
/** Customer billing email. */
|
|
51
|
+
billing_email?: string;
|
|
52
|
+
/** Customer billing residential? */
|
|
53
|
+
billing_residential?: boolean;
|
|
54
|
+
/** Customer billing state. */
|
|
55
|
+
billing_state?: string;
|
|
56
|
+
/** Customer billing zip. */
|
|
57
|
+
billing_zip?: string;
|
|
58
|
+
/**
|
|
59
|
+
* the customer creation date and time
|
|
60
|
+
* @format date-time
|
|
61
|
+
*/
|
|
62
|
+
created_at?: string;
|
|
63
|
+
/**
|
|
64
|
+
* the customer deactivation date and time
|
|
65
|
+
* @format date-time
|
|
66
|
+
*/
|
|
67
|
+
deactivated_at?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Customer default warehouse id.
|
|
70
|
+
* @format int32
|
|
71
|
+
*/
|
|
72
|
+
default_warehouse_id?: number;
|
|
73
|
+
/** Customer EIN / Tax ID */
|
|
74
|
+
ein?: string;
|
|
75
|
+
/** Customer email confirmation from. */
|
|
76
|
+
email_confirmation_from?: string;
|
|
77
|
+
/** Customer email confirmation name. */
|
|
78
|
+
email_confirmation_name?: string;
|
|
79
|
+
/** Customer EORI number. */
|
|
80
|
+
eori_number?: string;
|
|
81
|
+
/** Customer estimated monthly volume. */
|
|
82
|
+
estimated_monthly_volume?: string;
|
|
83
|
+
/** is this account flagged for exit notice? (admins only) */
|
|
84
|
+
exit_notice?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* items that are this many days from expiration will not be allowed to ship
|
|
87
|
+
* @format int32
|
|
88
|
+
*/
|
|
89
|
+
expiration_period?: number;
|
|
90
|
+
/** Customer from email. */
|
|
91
|
+
from_email?: string;
|
|
92
|
+
/** Customer full logo url. */
|
|
93
|
+
full_logo_url?: string;
|
|
94
|
+
/**
|
|
95
|
+
* the customer id
|
|
96
|
+
* @format int32
|
|
97
|
+
*/
|
|
98
|
+
id?: number;
|
|
99
|
+
/** Customer instructions. */
|
|
100
|
+
instructions?: string;
|
|
101
|
+
/** Customer has item scanning preference? */
|
|
102
|
+
item_scanning_preference?: boolean;
|
|
103
|
+
/** items exchangeable by default? */
|
|
104
|
+
items_exchangeable?: boolean;
|
|
105
|
+
/** items returnable by default? */
|
|
106
|
+
items_returnable?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Process Orders setting: Whiplash will automatically turn on Process Orders when an item is received, and turn it off when an item sells. Whiplash will not manage Process Orders. Whiplash will automatically turn on Process Orders only the first time an Item is received.
|
|
109
|
+
* @format int32
|
|
110
|
+
*/
|
|
111
|
+
items_unavailable_on_sellout?: number;
|
|
112
|
+
/** do items for this customer require lot control? */
|
|
113
|
+
lot_control?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Quantity where an item in inventory would be considered having low inventory
|
|
116
|
+
* @format int32
|
|
117
|
+
*/
|
|
118
|
+
low_inventory_threshold?: number;
|
|
119
|
+
/** Customer name. */
|
|
120
|
+
name?: string;
|
|
121
|
+
/** Customer notes. */
|
|
122
|
+
notes?: string;
|
|
123
|
+
/** notify originator? */
|
|
124
|
+
notify_originator?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Customer notify originator inventory.
|
|
127
|
+
* @format int32
|
|
128
|
+
*/
|
|
129
|
+
notify_originator_inventory?: number;
|
|
130
|
+
/** originator permissions? */
|
|
131
|
+
originator_permissions?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Customer partner id. (admins only)
|
|
134
|
+
* @format int32
|
|
135
|
+
*/
|
|
136
|
+
partner_id?: number;
|
|
137
|
+
/** is this account on hold pending a valid payment method? */
|
|
138
|
+
payment_hold?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Minimum number of days worth of stock to keep in forward pick locations
|
|
141
|
+
* @format float
|
|
142
|
+
*/
|
|
143
|
+
replenishment_min?: number;
|
|
144
|
+
/**
|
|
145
|
+
* Target number of days stock to replenish forward pick locations
|
|
146
|
+
* @format float
|
|
147
|
+
*/
|
|
148
|
+
replenishment_target?: number;
|
|
149
|
+
/** request serial numbers? */
|
|
150
|
+
request_serial_numbers?: boolean;
|
|
151
|
+
/** Customer return city. */
|
|
152
|
+
return_city?: string;
|
|
153
|
+
/** Customer return company. */
|
|
154
|
+
return_company?: string;
|
|
155
|
+
/** Customer return country. */
|
|
156
|
+
return_country?: string;
|
|
157
|
+
/** Customer return email. */
|
|
158
|
+
return_email?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Return label expiration time limit.
|
|
161
|
+
* @format int32
|
|
162
|
+
*/
|
|
163
|
+
return_label_expires_in?: number;
|
|
164
|
+
/** Customer return name. */
|
|
165
|
+
return_name?: string;
|
|
166
|
+
/** Customer return phone. */
|
|
167
|
+
return_phone?: string;
|
|
168
|
+
/** limit exchange to same value or less? */
|
|
169
|
+
return_price_restricted?: boolean;
|
|
170
|
+
/** Exchange SKU match policy. */
|
|
171
|
+
return_sku_match?: string;
|
|
172
|
+
/** Customer return state. */
|
|
173
|
+
return_state?: string;
|
|
174
|
+
/**
|
|
175
|
+
* Return time limit.
|
|
176
|
+
* @format int32
|
|
177
|
+
*/
|
|
178
|
+
return_time_limit?: number;
|
|
179
|
+
/** Customer return zip. */
|
|
180
|
+
return_zip?: string;
|
|
181
|
+
/** display customer logo on returns page? */
|
|
182
|
+
rma_display_logo?: boolean;
|
|
183
|
+
/** Return page footer content. */
|
|
184
|
+
rma_footer_content?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Customer shipping method preference.
|
|
187
|
+
* @format int32
|
|
188
|
+
*/
|
|
189
|
+
ship_method_preference?: number;
|
|
190
|
+
/**
|
|
191
|
+
* which locations to pick first: Default, FIFO, FEFO
|
|
192
|
+
* @format int32
|
|
193
|
+
*/
|
|
194
|
+
ship_strategy?: number;
|
|
195
|
+
/** Customer shipping name. */
|
|
196
|
+
shipping_name?: string;
|
|
197
|
+
/** does the customer support return labels? */
|
|
198
|
+
supports_return_labels?: boolean;
|
|
199
|
+
/** Customer VAT number. */
|
|
200
|
+
vat_number?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Customer warehouse fallback.
|
|
203
|
+
* @format int32
|
|
204
|
+
*/
|
|
205
|
+
warehouse_fallback?: number;
|
|
206
|
+
/** Workday UUID */
|
|
207
|
+
workday_uuid?: string;
|
|
208
|
+
}
|
|
1
209
|
export interface APIV21EntitiesPostResponse {
|
|
2
210
|
/**
|
|
3
211
|
* The Whiplash ID of the newly created resource
|
|
@@ -5,6 +213,138 @@ export interface APIV21EntitiesPostResponse {
|
|
|
5
213
|
*/
|
|
6
214
|
id?: number;
|
|
7
215
|
}
|
|
216
|
+
export interface APIV21EntitiesWarehouse {
|
|
217
|
+
/** Warehouse address line 1 */
|
|
218
|
+
shipping_address_1?: string;
|
|
219
|
+
/** Warehouse address line 2 */
|
|
220
|
+
shipping_address_2?: string;
|
|
221
|
+
/** Warehouse country code */
|
|
222
|
+
shipping_country_iso2?: string;
|
|
223
|
+
/** Is this Warehouse accepting new customers? (partners only) */
|
|
224
|
+
accepting_new_customers?: boolean;
|
|
225
|
+
/** Is the Warehouse active? (partners only) */
|
|
226
|
+
active?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Maximum cubic volume per bin (staff only)
|
|
229
|
+
* @format float
|
|
230
|
+
*/
|
|
231
|
+
bin_cubic_volume_max?: number;
|
|
232
|
+
/**
|
|
233
|
+
* Maximum total items per bin (staff only)
|
|
234
|
+
* @format int32
|
|
235
|
+
*/
|
|
236
|
+
bin_total_count_max?: number;
|
|
237
|
+
/** Warehouse contact name (partners only) */
|
|
238
|
+
contact_name?: string;
|
|
239
|
+
/** Warehouse contact phone (partners only) */
|
|
240
|
+
contact_phone?: string;
|
|
241
|
+
/**
|
|
242
|
+
* the warehouse creation date and time (partners only)
|
|
243
|
+
* @format date-time
|
|
244
|
+
*/
|
|
245
|
+
created_at?: string;
|
|
246
|
+
/** Warehouse currency (partners only) */
|
|
247
|
+
currency?: string;
|
|
248
|
+
/** Paper or Robot scanning by default when batching? (staff only) */
|
|
249
|
+
default_pick_strategy?: string;
|
|
250
|
+
/** Does this Warehouse have delivery appointment reminders? (partners only) */
|
|
251
|
+
delivery_appointment_required?: boolean;
|
|
252
|
+
/** Warehouse does domestic return labels? (partners only) */
|
|
253
|
+
domestic_return_labels?: boolean;
|
|
254
|
+
/** the warehouse email address (partners only) */
|
|
255
|
+
email?: string;
|
|
256
|
+
/** Fulfillment cost center */
|
|
257
|
+
fulfillment_cost_center?: string;
|
|
258
|
+
/**
|
|
259
|
+
* the warehouse id
|
|
260
|
+
* @format int32
|
|
261
|
+
*/
|
|
262
|
+
id?: number;
|
|
263
|
+
/** Warehouse does intl return labels? (partners only) */
|
|
264
|
+
international_return_labels?: boolean;
|
|
265
|
+
/** Warehouse label format (partners only) */
|
|
266
|
+
label_format?: string;
|
|
267
|
+
/**
|
|
268
|
+
* Warehouse latitude
|
|
269
|
+
* @format float
|
|
270
|
+
*/
|
|
271
|
+
latitude?: number;
|
|
272
|
+
/**
|
|
273
|
+
* Loading Dock Quantity (partners only)
|
|
274
|
+
* @format int32
|
|
275
|
+
*/
|
|
276
|
+
loading_dock_quantity?: number;
|
|
277
|
+
/**
|
|
278
|
+
* Warehouse longitude
|
|
279
|
+
* @format float
|
|
280
|
+
*/
|
|
281
|
+
longitude?: number;
|
|
282
|
+
/** the warehouse name */
|
|
283
|
+
name?: string;
|
|
284
|
+
/** Miscellaneous notes/info (partners only) */
|
|
285
|
+
notes?: string;
|
|
286
|
+
/**
|
|
287
|
+
* Number of slots/bins in carts--default maximum number of orders in a batch (staff only)
|
|
288
|
+
* @format int32
|
|
289
|
+
*/
|
|
290
|
+
number_of_groups?: number;
|
|
291
|
+
/**
|
|
292
|
+
* Packaging Customer ID (partners only)
|
|
293
|
+
* @format int32
|
|
294
|
+
*/
|
|
295
|
+
packaging_customer_id?: number;
|
|
296
|
+
/** Parcel cost center */
|
|
297
|
+
parcel_cost_center?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Warehouse partner id
|
|
300
|
+
* @format int32
|
|
301
|
+
*/
|
|
302
|
+
partner_id?: number;
|
|
303
|
+
/** Warehouse pickup hours (partners only) */
|
|
304
|
+
pickup_hours?: string;
|
|
305
|
+
/** Warehouse receiving hours (partners only) */
|
|
306
|
+
receiving_hours?: string;
|
|
307
|
+
/** Receiving special instructions (partners only) */
|
|
308
|
+
receiving_special_instructions?: string;
|
|
309
|
+
/** Warehouse city */
|
|
310
|
+
shipping_city?: string;
|
|
311
|
+
/** Warehouse country */
|
|
312
|
+
shipping_country?: string;
|
|
313
|
+
/** Warehouse shipping label format - EPL2 or ZPL (partners only) */
|
|
314
|
+
shipping_label_format?: string;
|
|
315
|
+
/** Warehouse state or province */
|
|
316
|
+
shipping_state?: string;
|
|
317
|
+
/** Warehouse postal code */
|
|
318
|
+
shipping_zip?: string;
|
|
319
|
+
/** Single Item Batch Size (partners only) */
|
|
320
|
+
single_item_batch_size?: string;
|
|
321
|
+
/** Warehouse slug */
|
|
322
|
+
slug?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Warehouse square footage (partners only)
|
|
325
|
+
* @format int32
|
|
326
|
+
*/
|
|
327
|
+
square_footage?: number;
|
|
328
|
+
/** Warehouse timezone in friendly/legacy format (eg. "Eastern Time (US & Canada)") */
|
|
329
|
+
timezone?: string;
|
|
330
|
+
/** Warehouse timezone in standard format (eg. "America/New_York") */
|
|
331
|
+
timezone_raw?: string;
|
|
332
|
+
/**
|
|
333
|
+
* the warehouse last update date and time (partners only)
|
|
334
|
+
* @format date-time
|
|
335
|
+
*/
|
|
336
|
+
updated_at?: string;
|
|
337
|
+
/** Warehouse carrier facility (partners only) */
|
|
338
|
+
ups_carrier_facility?: string;
|
|
339
|
+
/** Warehouse UPS shipping number (partners only) */
|
|
340
|
+
ups_shipper_number?: string;
|
|
341
|
+
/**
|
|
342
|
+
* Warehouse VAT number (partners only)
|
|
343
|
+
* @format float
|
|
344
|
+
*/
|
|
345
|
+
vat?: number;
|
|
346
|
+
warehouse_features?: string;
|
|
347
|
+
}
|
|
8
348
|
export interface APIV2EntitiesApiError {
|
|
9
349
|
/** error message */
|
|
10
350
|
message?: string;
|
|
@@ -74,7 +414,7 @@ export interface APIV2EntitiesConsumerReturn {
|
|
|
74
414
|
* @format date-time
|
|
75
415
|
*/
|
|
76
416
|
created_at?: string;
|
|
77
|
-
customer?:
|
|
417
|
+
customer?: APIV21EntitiesCustomer;
|
|
78
418
|
/**
|
|
79
419
|
* the consumer return customer id
|
|
80
420
|
* @format int32
|
|
@@ -163,7 +503,7 @@ export interface APIV2EntitiesConsumerReturn {
|
|
|
163
503
|
* @format date-time
|
|
164
504
|
*/
|
|
165
505
|
updated_at?: string;
|
|
166
|
-
warehouse?:
|
|
506
|
+
warehouse?: APIV21EntitiesWarehouse;
|
|
167
507
|
/**
|
|
168
508
|
* the consumer return warehouse id
|
|
169
509
|
* @format int32
|
|
@@ -688,7 +1028,7 @@ export interface APIV2EntitiesItemWarehouseQuantity {
|
|
|
688
1028
|
created_at?: string;
|
|
689
1029
|
/** Warehouse currency (partners only) */
|
|
690
1030
|
currency?: string;
|
|
691
|
-
/** Paper
|
|
1031
|
+
/** Paper or Robot scanning by default when batching? (staff only) */
|
|
692
1032
|
default_pick_strategy?: string;
|
|
693
1033
|
/** Does this Warehouse have delivery appointment reminders? (partners only) */
|
|
694
1034
|
delivery_appointment_required?: boolean;
|
|
@@ -1018,6 +1358,8 @@ export interface APIV2EntitiesOrder {
|
|
|
1018
1358
|
full_name?: string;
|
|
1019
1359
|
/** is the order a gift? */
|
|
1020
1360
|
gift?: boolean;
|
|
1361
|
+
/** is the order a global_e order? */
|
|
1362
|
+
global_e_ge_order?: boolean;
|
|
1021
1363
|
/** the order humanized id */
|
|
1022
1364
|
humanize_id?: string;
|
|
1023
1365
|
/**
|
|
@@ -1129,6 +1471,7 @@ export interface APIV2EntitiesOrder {
|
|
|
1129
1471
|
* @format date-time
|
|
1130
1472
|
*/
|
|
1131
1473
|
shipped_on?: string;
|
|
1474
|
+
shipping_carrier_facility?: string;
|
|
1132
1475
|
/** the order shipping city */
|
|
1133
1476
|
shipping_city?: string;
|
|
1134
1477
|
/** the order shipping company */
|
|
@@ -1137,6 +1480,8 @@ export interface APIV2EntitiesOrder {
|
|
|
1137
1480
|
shipping_confirmation_sent?: boolean;
|
|
1138
1481
|
/** the order shipping country */
|
|
1139
1482
|
shipping_country?: string;
|
|
1483
|
+
/** pickup option for carrier facility on the address destination */
|
|
1484
|
+
shipping_hold_for_pickup?: boolean;
|
|
1140
1485
|
shipping_method?: APIV2EntitiesShippingMethod;
|
|
1141
1486
|
/**
|
|
1142
1487
|
* the order shipping method id
|
|
@@ -2115,7 +2460,7 @@ export interface APIV2EntitiesWarehouse {
|
|
|
2115
2460
|
created_at?: string;
|
|
2116
2461
|
/** Warehouse currency (partners only) */
|
|
2117
2462
|
currency?: string;
|
|
2118
|
-
/** Paper
|
|
2463
|
+
/** Paper or Robot scanning by default when batching? (staff only) */
|
|
2119
2464
|
default_pick_strategy?: string;
|
|
2120
2465
|
/** Does this Warehouse have delivery appointment reminders? (partners only) */
|
|
2121
2466
|
delivery_appointment_required?: boolean;
|
|
@@ -3140,7 +3485,9 @@ export interface GetApiV2TemplatesParams {
|
|
|
3140
3485
|
/** hazmat class */
|
|
3141
3486
|
export declare enum ApiV2EntitiesItemHazmatType {
|
|
3142
3487
|
Ormd = "ormd",
|
|
3143
|
-
Lithium = "lithium"
|
|
3488
|
+
Lithium = "lithium",
|
|
3489
|
+
ORMD = "ORMD",
|
|
3490
|
+
LITHIUM = "LITHIUM"
|
|
3144
3491
|
}
|
|
3145
3492
|
/** The country of origin for this item (as an iso2 country code) */
|
|
3146
3493
|
export declare enum ApiV2EntitiesItemOriginCountry {
|
|
@@ -3829,7 +4176,9 @@ export interface PostApiV21Items {
|
|
|
3829
4176
|
/** hazmat class */
|
|
3830
4177
|
export declare enum PostApiV21ItemsHazmatType {
|
|
3831
4178
|
Ormd = "ormd",
|
|
3832
|
-
Lithium = "lithium"
|
|
4179
|
+
Lithium = "lithium",
|
|
4180
|
+
ORMD = "ORMD",
|
|
4181
|
+
LITHIUM = "LITHIUM"
|
|
3833
4182
|
}
|
|
3834
4183
|
/** Add an item to an bundle */
|
|
3835
4184
|
export interface PostApiV21ItemsIdBundleItems {
|
|
@@ -4178,6 +4527,7 @@ export interface PostApiV21NotificationSubscriptions {
|
|
|
4178
4527
|
}
|
|
4179
4528
|
/** Create an order */
|
|
4180
4529
|
export interface PostApiV21Orders {
|
|
4530
|
+
""?: string;
|
|
4181
4531
|
/** the order billing street address 1 */
|
|
4182
4532
|
billing_address_1?: string;
|
|
4183
4533
|
/** the order billing street address 2 */
|
|
@@ -4281,6 +4631,8 @@ export interface PostApiV21Orders {
|
|
|
4281
4631
|
full_name?: string;
|
|
4282
4632
|
/** is the order a gift? */
|
|
4283
4633
|
gift?: boolean;
|
|
4634
|
+
/** is the order a global_e order? */
|
|
4635
|
+
global_e_ge_order?: boolean;
|
|
4284
4636
|
/** the order humanized id */
|
|
4285
4637
|
humanize_id?: string;
|
|
4286
4638
|
/** desired incoterm for the order */
|
|
@@ -4458,12 +4810,16 @@ export interface PostApiV21Orders {
|
|
|
4458
4810
|
saturday_delivery?: boolean;
|
|
4459
4811
|
/** the order ship notes */
|
|
4460
4812
|
ship_notes?: string;
|
|
4813
|
+
/** carrier facility access point for the address destination */
|
|
4814
|
+
shipping_carrier_facility?: string;
|
|
4461
4815
|
/** the order shipping city */
|
|
4462
4816
|
shipping_city?: string;
|
|
4463
4817
|
/** the order shipping company */
|
|
4464
4818
|
shipping_company?: string;
|
|
4465
4819
|
/** the order shipping country */
|
|
4466
4820
|
shipping_country?: string;
|
|
4821
|
+
/** pickup option for carrier facility on the address destination */
|
|
4822
|
+
shipping_hold_for_pickup?: boolean;
|
|
4467
4823
|
/**
|
|
4468
4824
|
* the order shipping method id
|
|
4469
4825
|
* @format int32
|
|
@@ -4749,7 +5105,6 @@ export interface PostApiV21Shipnotices {
|
|
|
4749
5105
|
* @format int32
|
|
4750
5106
|
*/
|
|
4751
5107
|
shipnotice_item_sku_count?: number;
|
|
4752
|
-
shipnotice_items?: string;
|
|
4753
5108
|
shipnotice_items_attributes?: {
|
|
4754
5109
|
/**
|
|
4755
5110
|
* the number of this shipnotice item in the shipnotice
|
|
@@ -5254,7 +5609,9 @@ export interface PostApiV2Items {
|
|
|
5254
5609
|
/** hazmat class */
|
|
5255
5610
|
export declare enum PostApiV2ItemsHazmatType {
|
|
5256
5611
|
Ormd = "ormd",
|
|
5257
|
-
Lithium = "lithium"
|
|
5612
|
+
Lithium = "lithium",
|
|
5613
|
+
ORMD = "ORMD",
|
|
5614
|
+
LITHIUM = "LITHIUM"
|
|
5258
5615
|
}
|
|
5259
5616
|
/** Add an item to an bundle */
|
|
5260
5617
|
export interface PostApiV2ItemsIdBundleItems {
|
|
@@ -5603,6 +5960,7 @@ export interface PostApiV2NotificationSubscriptions {
|
|
|
5603
5960
|
}
|
|
5604
5961
|
/** Create an order */
|
|
5605
5962
|
export interface PostApiV2Orders {
|
|
5963
|
+
""?: string;
|
|
5606
5964
|
/** the order billing street address 1 */
|
|
5607
5965
|
billing_address_1?: string;
|
|
5608
5966
|
/** the order billing street address 2 */
|
|
@@ -5706,6 +6064,8 @@ export interface PostApiV2Orders {
|
|
|
5706
6064
|
full_name?: string;
|
|
5707
6065
|
/** is the order a gift? */
|
|
5708
6066
|
gift?: boolean;
|
|
6067
|
+
/** is the order a global_e order? */
|
|
6068
|
+
global_e_ge_order?: boolean;
|
|
5709
6069
|
/** the order humanized id */
|
|
5710
6070
|
humanize_id?: string;
|
|
5711
6071
|
/** desired incoterm for the order */
|
|
@@ -5883,12 +6243,16 @@ export interface PostApiV2Orders {
|
|
|
5883
6243
|
saturday_delivery?: boolean;
|
|
5884
6244
|
/** the order ship notes */
|
|
5885
6245
|
ship_notes?: string;
|
|
6246
|
+
/** carrier facility access point for the address destination */
|
|
6247
|
+
shipping_carrier_facility?: string;
|
|
5886
6248
|
/** the order shipping city */
|
|
5887
6249
|
shipping_city?: string;
|
|
5888
6250
|
/** the order shipping company */
|
|
5889
6251
|
shipping_company?: string;
|
|
5890
6252
|
/** the order shipping country */
|
|
5891
6253
|
shipping_country?: string;
|
|
6254
|
+
/** pickup option for carrier facility on the address destination */
|
|
6255
|
+
shipping_hold_for_pickup?: boolean;
|
|
5892
6256
|
/**
|
|
5893
6257
|
* the order shipping method id
|
|
5894
6258
|
* @format int32
|
|
@@ -6174,7 +6538,6 @@ export interface PostApiV2Shipnotices {
|
|
|
6174
6538
|
* @format int32
|
|
6175
6539
|
*/
|
|
6176
6540
|
shipnotice_item_sku_count?: number;
|
|
6177
|
-
shipnotice_items?: string;
|
|
6178
6541
|
shipnotice_items_attributes?: {
|
|
6179
6542
|
/**
|
|
6180
6543
|
* the number of this shipnotice item in the shipnotice
|
|
@@ -6796,7 +7159,9 @@ export interface PutApiV21Items {
|
|
|
6796
7159
|
/** hazmat class */
|
|
6797
7160
|
export declare enum PutApiV21ItemsHazmatType {
|
|
6798
7161
|
Ormd = "ormd",
|
|
6799
|
-
Lithium = "lithium"
|
|
7162
|
+
Lithium = "lithium",
|
|
7163
|
+
ORMD = "ORMD",
|
|
7164
|
+
LITHIUM = "LITHIUM"
|
|
6800
7165
|
}
|
|
6801
7166
|
/** Perform an action on an item */
|
|
6802
7167
|
export interface PutApiV21ItemsIdCall {
|
|
@@ -7225,7 +7590,9 @@ export interface PutApiV21ItemsOriginator {
|
|
|
7225
7590
|
/** hazmat class */
|
|
7226
7591
|
export declare enum PutApiV21ItemsOriginatorHazmatType {
|
|
7227
7592
|
Ormd = "ormd",
|
|
7228
|
-
Lithium = "lithium"
|
|
7593
|
+
Lithium = "lithium",
|
|
7594
|
+
ORMD = "ORMD",
|
|
7595
|
+
LITHIUM = "LITHIUM"
|
|
7229
7596
|
}
|
|
7230
7597
|
/** The country of origin for this item (as an iso2 country code) */
|
|
7231
7598
|
export declare enum PutApiV21ItemsOriginatorOriginCountry {
|
|
@@ -7804,6 +8171,8 @@ export interface PutApiV21Orders {
|
|
|
7804
8171
|
full_name?: string;
|
|
7805
8172
|
/** is the order a gift? */
|
|
7806
8173
|
gift?: boolean;
|
|
8174
|
+
/** is the order a global_e order? */
|
|
8175
|
+
global_e_ge_order?: boolean;
|
|
7807
8176
|
/** the order humanized id */
|
|
7808
8177
|
humanize_id?: string;
|
|
7809
8178
|
/** desired incoterm for the order */
|
|
@@ -7870,12 +8239,16 @@ export interface PutApiV21Orders {
|
|
|
7870
8239
|
saturday_delivery?: boolean;
|
|
7871
8240
|
/** the order ship notes */
|
|
7872
8241
|
ship_notes?: string;
|
|
8242
|
+
/** carrier facility access point for the address destination */
|
|
8243
|
+
shipping_carrier_facility?: string;
|
|
7873
8244
|
/** the order shipping city */
|
|
7874
8245
|
shipping_city?: string;
|
|
7875
8246
|
/** the order shipping company */
|
|
7876
8247
|
shipping_company?: string;
|
|
7877
8248
|
/** the order shipping country */
|
|
7878
8249
|
shipping_country?: string;
|
|
8250
|
+
/** pickup option for carrier facility on the address destination */
|
|
8251
|
+
shipping_hold_for_pickup?: boolean;
|
|
7879
8252
|
/**
|
|
7880
8253
|
* the order shipping method id
|
|
7881
8254
|
* @format int32
|
|
@@ -8052,6 +8425,8 @@ export interface PutApiV21OrdersOriginator {
|
|
|
8052
8425
|
full_name?: string;
|
|
8053
8426
|
/** is the order a gift? */
|
|
8054
8427
|
gift?: boolean;
|
|
8428
|
+
/** is the order a global_e order? */
|
|
8429
|
+
global_e_ge_order?: boolean;
|
|
8055
8430
|
/** the order humanized id */
|
|
8056
8431
|
humanize_id?: string;
|
|
8057
8432
|
/** desired incoterm for the order */
|
|
@@ -8118,12 +8493,16 @@ export interface PutApiV21OrdersOriginator {
|
|
|
8118
8493
|
saturday_delivery?: boolean;
|
|
8119
8494
|
/** the order ship notes */
|
|
8120
8495
|
ship_notes?: string;
|
|
8496
|
+
/** carrier facility access point for the address destination */
|
|
8497
|
+
shipping_carrier_facility?: string;
|
|
8121
8498
|
/** the order shipping city */
|
|
8122
8499
|
shipping_city?: string;
|
|
8123
8500
|
/** the order shipping company */
|
|
8124
8501
|
shipping_company?: string;
|
|
8125
8502
|
/** the order shipping country */
|
|
8126
8503
|
shipping_country?: string;
|
|
8504
|
+
/** pickup option for carrier facility on the address destination */
|
|
8505
|
+
shipping_hold_for_pickup?: boolean;
|
|
8127
8506
|
/**
|
|
8128
8507
|
* the order shipping method id
|
|
8129
8508
|
* @format int32
|
|
@@ -8957,7 +9336,9 @@ export interface PutApiV2Items {
|
|
|
8957
9336
|
/** hazmat class */
|
|
8958
9337
|
export declare enum PutApiV2ItemsHazmatType {
|
|
8959
9338
|
Ormd = "ormd",
|
|
8960
|
-
Lithium = "lithium"
|
|
9339
|
+
Lithium = "lithium",
|
|
9340
|
+
ORMD = "ORMD",
|
|
9341
|
+
LITHIUM = "LITHIUM"
|
|
8961
9342
|
}
|
|
8962
9343
|
/** Perform an action on an item */
|
|
8963
9344
|
export interface PutApiV2ItemsIdCall {
|
|
@@ -9386,7 +9767,9 @@ export interface PutApiV2ItemsOriginator {
|
|
|
9386
9767
|
/** hazmat class */
|
|
9387
9768
|
export declare enum PutApiV2ItemsOriginatorHazmatType {
|
|
9388
9769
|
Ormd = "ormd",
|
|
9389
|
-
Lithium = "lithium"
|
|
9770
|
+
Lithium = "lithium",
|
|
9771
|
+
ORMD = "ORMD",
|
|
9772
|
+
LITHIUM = "LITHIUM"
|
|
9390
9773
|
}
|
|
9391
9774
|
/** The country of origin for this item (as an iso2 country code) */
|
|
9392
9775
|
export declare enum PutApiV2ItemsOriginatorOriginCountry {
|
|
@@ -9965,6 +10348,8 @@ export interface PutApiV2Orders {
|
|
|
9965
10348
|
full_name?: string;
|
|
9966
10349
|
/** is the order a gift? */
|
|
9967
10350
|
gift?: boolean;
|
|
10351
|
+
/** is the order a global_e order? */
|
|
10352
|
+
global_e_ge_order?: boolean;
|
|
9968
10353
|
/** the order humanized id */
|
|
9969
10354
|
humanize_id?: string;
|
|
9970
10355
|
/** desired incoterm for the order */
|
|
@@ -10031,12 +10416,16 @@ export interface PutApiV2Orders {
|
|
|
10031
10416
|
saturday_delivery?: boolean;
|
|
10032
10417
|
/** the order ship notes */
|
|
10033
10418
|
ship_notes?: string;
|
|
10419
|
+
/** carrier facility access point for the address destination */
|
|
10420
|
+
shipping_carrier_facility?: string;
|
|
10034
10421
|
/** the order shipping city */
|
|
10035
10422
|
shipping_city?: string;
|
|
10036
10423
|
/** the order shipping company */
|
|
10037
10424
|
shipping_company?: string;
|
|
10038
10425
|
/** the order shipping country */
|
|
10039
10426
|
shipping_country?: string;
|
|
10427
|
+
/** pickup option for carrier facility on the address destination */
|
|
10428
|
+
shipping_hold_for_pickup?: boolean;
|
|
10040
10429
|
/**
|
|
10041
10430
|
* the order shipping method id
|
|
10042
10431
|
* @format int32
|
|
@@ -10211,6 +10600,8 @@ export interface PutApiV2OrdersOriginator {
|
|
|
10211
10600
|
full_name?: string;
|
|
10212
10601
|
/** is the order a gift? */
|
|
10213
10602
|
gift?: boolean;
|
|
10603
|
+
/** is the order a global_e order? */
|
|
10604
|
+
global_e_ge_order?: boolean;
|
|
10214
10605
|
/** the order humanized id */
|
|
10215
10606
|
humanize_id?: string;
|
|
10216
10607
|
/** desired incoterm for the order */
|
|
@@ -10277,12 +10668,16 @@ export interface PutApiV2OrdersOriginator {
|
|
|
10277
10668
|
saturday_delivery?: boolean;
|
|
10278
10669
|
/** the order ship notes */
|
|
10279
10670
|
ship_notes?: string;
|
|
10671
|
+
/** carrier facility access point for the address destination */
|
|
10672
|
+
shipping_carrier_facility?: string;
|
|
10280
10673
|
/** the order shipping city */
|
|
10281
10674
|
shipping_city?: string;
|
|
10282
10675
|
/** the order shipping company */
|
|
10283
10676
|
shipping_company?: string;
|
|
10284
10677
|
/** the order shipping country */
|
|
10285
10678
|
shipping_country?: string;
|
|
10679
|
+
/** pickup option for carrier facility on the address destination */
|
|
10680
|
+
shipping_hold_for_pickup?: boolean;
|
|
10286
10681
|
/**
|
|
10287
10682
|
* the order shipping method id
|
|
10288
10683
|
* @format int32
|