@whiplashmerch/whiplash-api-client 0.2.20 → 0.3.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/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
|
@@ -9,6 +9,215 @@
|
|
|
9
9
|
* ---------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
+
export interface APIV21EntitiesCustomer {
|
|
13
|
+
/** Customer billing address line 1. */
|
|
14
|
+
billing_address1?: string;
|
|
15
|
+
/** Customer billing address line 2. */
|
|
16
|
+
billing_address2?: string;
|
|
17
|
+
/** Customer billing address line 3. */
|
|
18
|
+
billing_address3?: string;
|
|
19
|
+
/** Customer phone 1. */
|
|
20
|
+
billing_phone1?: string;
|
|
21
|
+
/** Customer phone 2. */
|
|
22
|
+
billing_phone2?: string;
|
|
23
|
+
/** Customer return address line 1. */
|
|
24
|
+
return_address_1?: string;
|
|
25
|
+
/** Customer return address line 2. */
|
|
26
|
+
return_address_2?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Account level
|
|
29
|
+
* @format int32
|
|
30
|
+
*/
|
|
31
|
+
account_level?: number;
|
|
32
|
+
/** Quote, Direct, Enterprise, or Managed */
|
|
33
|
+
account_level_name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* the customer activation date and time
|
|
36
|
+
* @format date-time
|
|
37
|
+
*/
|
|
38
|
+
activated_at?: string;
|
|
39
|
+
/** Customer active? */
|
|
40
|
+
active?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* IDs of warehouses this customer may ship from
|
|
43
|
+
* @format int32
|
|
44
|
+
*/
|
|
45
|
+
allowed_warehouse_ids?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Customer auto merge gestation.
|
|
48
|
+
* @format int32
|
|
49
|
+
*/
|
|
50
|
+
auto_merge_gestation?: number;
|
|
51
|
+
/** auto merge SKUs? */
|
|
52
|
+
auto_merge_skus?: boolean;
|
|
53
|
+
/** Customer billing city. */
|
|
54
|
+
billing_city?: string;
|
|
55
|
+
/** Customer billing company. */
|
|
56
|
+
billing_company?: string;
|
|
57
|
+
/** Customer billing contact name. */
|
|
58
|
+
billing_contact_name?: string;
|
|
59
|
+
/** Customer billing country. */
|
|
60
|
+
billing_country?: string;
|
|
61
|
+
/** Customer billing email. */
|
|
62
|
+
billing_email?: string;
|
|
63
|
+
/** Customer billing residential? */
|
|
64
|
+
billing_residential?: boolean;
|
|
65
|
+
/** Customer billing state. */
|
|
66
|
+
billing_state?: string;
|
|
67
|
+
/** Customer billing zip. */
|
|
68
|
+
billing_zip?: string;
|
|
69
|
+
/**
|
|
70
|
+
* the customer creation date and time
|
|
71
|
+
* @format date-time
|
|
72
|
+
*/
|
|
73
|
+
created_at?: string;
|
|
74
|
+
/**
|
|
75
|
+
* the customer deactivation date and time
|
|
76
|
+
* @format date-time
|
|
77
|
+
*/
|
|
78
|
+
deactivated_at?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Customer default warehouse id.
|
|
81
|
+
* @format int32
|
|
82
|
+
*/
|
|
83
|
+
default_warehouse_id?: number;
|
|
84
|
+
/** Customer EIN / Tax ID */
|
|
85
|
+
ein?: string;
|
|
86
|
+
/** Customer email confirmation from. */
|
|
87
|
+
email_confirmation_from?: string;
|
|
88
|
+
/** Customer email confirmation name. */
|
|
89
|
+
email_confirmation_name?: string;
|
|
90
|
+
/** Customer EORI number. */
|
|
91
|
+
eori_number?: string;
|
|
92
|
+
/** Customer estimated monthly volume. */
|
|
93
|
+
estimated_monthly_volume?: string;
|
|
94
|
+
/** is this account flagged for exit notice? (admins only) */
|
|
95
|
+
exit_notice?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* items that are this many days from expiration will not be allowed to ship
|
|
98
|
+
* @format int32
|
|
99
|
+
*/
|
|
100
|
+
expiration_period?: number;
|
|
101
|
+
/** Customer from email. */
|
|
102
|
+
from_email?: string;
|
|
103
|
+
/** Customer full logo url. */
|
|
104
|
+
full_logo_url?: string;
|
|
105
|
+
/**
|
|
106
|
+
* the customer id
|
|
107
|
+
* @format int32
|
|
108
|
+
*/
|
|
109
|
+
id?: number;
|
|
110
|
+
/** Customer instructions. */
|
|
111
|
+
instructions?: string;
|
|
112
|
+
/** Customer has item scanning preference? */
|
|
113
|
+
item_scanning_preference?: boolean;
|
|
114
|
+
/** items exchangeable by default? */
|
|
115
|
+
items_exchangeable?: boolean;
|
|
116
|
+
/** items returnable by default? */
|
|
117
|
+
items_returnable?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* 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.
|
|
120
|
+
* @format int32
|
|
121
|
+
*/
|
|
122
|
+
items_unavailable_on_sellout?: number;
|
|
123
|
+
/** do items for this customer require lot control? */
|
|
124
|
+
lot_control?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Quantity where an item in inventory would be considered having low inventory
|
|
127
|
+
* @format int32
|
|
128
|
+
*/
|
|
129
|
+
low_inventory_threshold?: number;
|
|
130
|
+
/** Customer name. */
|
|
131
|
+
name?: string;
|
|
132
|
+
/** Customer notes. */
|
|
133
|
+
notes?: string;
|
|
134
|
+
/** notify originator? */
|
|
135
|
+
notify_originator?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Customer notify originator inventory.
|
|
138
|
+
* @format int32
|
|
139
|
+
*/
|
|
140
|
+
notify_originator_inventory?: number;
|
|
141
|
+
/** originator permissions? */
|
|
142
|
+
originator_permissions?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Customer partner id. (admins only)
|
|
145
|
+
* @format int32
|
|
146
|
+
*/
|
|
147
|
+
partner_id?: number;
|
|
148
|
+
/** is this account on hold pending a valid payment method? */
|
|
149
|
+
payment_hold?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Minimum number of days worth of stock to keep in forward pick locations
|
|
152
|
+
* @format float
|
|
153
|
+
*/
|
|
154
|
+
replenishment_min?: number;
|
|
155
|
+
/**
|
|
156
|
+
* Target number of days stock to replenish forward pick locations
|
|
157
|
+
* @format float
|
|
158
|
+
*/
|
|
159
|
+
replenishment_target?: number;
|
|
160
|
+
/** request serial numbers? */
|
|
161
|
+
request_serial_numbers?: boolean;
|
|
162
|
+
/** Customer return city. */
|
|
163
|
+
return_city?: string;
|
|
164
|
+
/** Customer return company. */
|
|
165
|
+
return_company?: string;
|
|
166
|
+
/** Customer return country. */
|
|
167
|
+
return_country?: string;
|
|
168
|
+
/** Customer return email. */
|
|
169
|
+
return_email?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Return label expiration time limit.
|
|
172
|
+
* @format int32
|
|
173
|
+
*/
|
|
174
|
+
return_label_expires_in?: number;
|
|
175
|
+
/** Customer return name. */
|
|
176
|
+
return_name?: string;
|
|
177
|
+
/** Customer return phone. */
|
|
178
|
+
return_phone?: string;
|
|
179
|
+
/** limit exchange to same value or less? */
|
|
180
|
+
return_price_restricted?: boolean;
|
|
181
|
+
/** Exchange SKU match policy. */
|
|
182
|
+
return_sku_match?: string;
|
|
183
|
+
/** Customer return state. */
|
|
184
|
+
return_state?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Return time limit.
|
|
187
|
+
* @format int32
|
|
188
|
+
*/
|
|
189
|
+
return_time_limit?: number;
|
|
190
|
+
/** Customer return zip. */
|
|
191
|
+
return_zip?: string;
|
|
192
|
+
/** display customer logo on returns page? */
|
|
193
|
+
rma_display_logo?: boolean;
|
|
194
|
+
/** Return page footer content. */
|
|
195
|
+
rma_footer_content?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Customer shipping method preference.
|
|
198
|
+
* @format int32
|
|
199
|
+
*/
|
|
200
|
+
ship_method_preference?: number;
|
|
201
|
+
/**
|
|
202
|
+
* which locations to pick first: Default, FIFO, FEFO
|
|
203
|
+
* @format int32
|
|
204
|
+
*/
|
|
205
|
+
ship_strategy?: number;
|
|
206
|
+
/** Customer shipping name. */
|
|
207
|
+
shipping_name?: string;
|
|
208
|
+
/** does the customer support return labels? */
|
|
209
|
+
supports_return_labels?: boolean;
|
|
210
|
+
/** Customer VAT number. */
|
|
211
|
+
vat_number?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Customer warehouse fallback.
|
|
214
|
+
* @format int32
|
|
215
|
+
*/
|
|
216
|
+
warehouse_fallback?: number;
|
|
217
|
+
/** Workday UUID */
|
|
218
|
+
workday_uuid?: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
12
221
|
export interface APIV21EntitiesPostResponse {
|
|
13
222
|
/**
|
|
14
223
|
* The Whiplash ID of the newly created resource
|
|
@@ -17,6 +226,139 @@ export interface APIV21EntitiesPostResponse {
|
|
|
17
226
|
id?: number;
|
|
18
227
|
}
|
|
19
228
|
|
|
229
|
+
export interface APIV21EntitiesWarehouse {
|
|
230
|
+
/** Warehouse address line 1 */
|
|
231
|
+
shipping_address_1?: string;
|
|
232
|
+
/** Warehouse address line 2 */
|
|
233
|
+
shipping_address_2?: string;
|
|
234
|
+
/** Warehouse country code */
|
|
235
|
+
shipping_country_iso2?: string;
|
|
236
|
+
/** Is this Warehouse accepting new customers? (partners only) */
|
|
237
|
+
accepting_new_customers?: boolean;
|
|
238
|
+
/** Is the Warehouse active? (partners only) */
|
|
239
|
+
active?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Maximum cubic volume per bin (staff only)
|
|
242
|
+
* @format float
|
|
243
|
+
*/
|
|
244
|
+
bin_cubic_volume_max?: number;
|
|
245
|
+
/**
|
|
246
|
+
* Maximum total items per bin (staff only)
|
|
247
|
+
* @format int32
|
|
248
|
+
*/
|
|
249
|
+
bin_total_count_max?: number;
|
|
250
|
+
/** Warehouse contact name (partners only) */
|
|
251
|
+
contact_name?: string;
|
|
252
|
+
/** Warehouse contact phone (partners only) */
|
|
253
|
+
contact_phone?: string;
|
|
254
|
+
/**
|
|
255
|
+
* the warehouse creation date and time (partners only)
|
|
256
|
+
* @format date-time
|
|
257
|
+
*/
|
|
258
|
+
created_at?: string;
|
|
259
|
+
/** Warehouse currency (partners only) */
|
|
260
|
+
currency?: string;
|
|
261
|
+
/** Paper or Robot scanning by default when batching? (staff only) */
|
|
262
|
+
default_pick_strategy?: string;
|
|
263
|
+
/** Does this Warehouse have delivery appointment reminders? (partners only) */
|
|
264
|
+
delivery_appointment_required?: boolean;
|
|
265
|
+
/** Warehouse does domestic return labels? (partners only) */
|
|
266
|
+
domestic_return_labels?: boolean;
|
|
267
|
+
/** the warehouse email address (partners only) */
|
|
268
|
+
email?: string;
|
|
269
|
+
/** Fulfillment cost center */
|
|
270
|
+
fulfillment_cost_center?: string;
|
|
271
|
+
/**
|
|
272
|
+
* the warehouse id
|
|
273
|
+
* @format int32
|
|
274
|
+
*/
|
|
275
|
+
id?: number;
|
|
276
|
+
/** Warehouse does intl return labels? (partners only) */
|
|
277
|
+
international_return_labels?: boolean;
|
|
278
|
+
/** Warehouse label format (partners only) */
|
|
279
|
+
label_format?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Warehouse latitude
|
|
282
|
+
* @format float
|
|
283
|
+
*/
|
|
284
|
+
latitude?: number;
|
|
285
|
+
/**
|
|
286
|
+
* Loading Dock Quantity (partners only)
|
|
287
|
+
* @format int32
|
|
288
|
+
*/
|
|
289
|
+
loading_dock_quantity?: number;
|
|
290
|
+
/**
|
|
291
|
+
* Warehouse longitude
|
|
292
|
+
* @format float
|
|
293
|
+
*/
|
|
294
|
+
longitude?: number;
|
|
295
|
+
/** the warehouse name */
|
|
296
|
+
name?: string;
|
|
297
|
+
/** Miscellaneous notes/info (partners only) */
|
|
298
|
+
notes?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Number of slots/bins in carts--default maximum number of orders in a batch (staff only)
|
|
301
|
+
* @format int32
|
|
302
|
+
*/
|
|
303
|
+
number_of_groups?: number;
|
|
304
|
+
/**
|
|
305
|
+
* Packaging Customer ID (partners only)
|
|
306
|
+
* @format int32
|
|
307
|
+
*/
|
|
308
|
+
packaging_customer_id?: number;
|
|
309
|
+
/** Parcel cost center */
|
|
310
|
+
parcel_cost_center?: string;
|
|
311
|
+
/**
|
|
312
|
+
* Warehouse partner id
|
|
313
|
+
* @format int32
|
|
314
|
+
*/
|
|
315
|
+
partner_id?: number;
|
|
316
|
+
/** Warehouse pickup hours (partners only) */
|
|
317
|
+
pickup_hours?: string;
|
|
318
|
+
/** Warehouse receiving hours (partners only) */
|
|
319
|
+
receiving_hours?: string;
|
|
320
|
+
/** Receiving special instructions (partners only) */
|
|
321
|
+
receiving_special_instructions?: string;
|
|
322
|
+
/** Warehouse city */
|
|
323
|
+
shipping_city?: string;
|
|
324
|
+
/** Warehouse country */
|
|
325
|
+
shipping_country?: string;
|
|
326
|
+
/** Warehouse shipping label format - EPL2 or ZPL (partners only) */
|
|
327
|
+
shipping_label_format?: string;
|
|
328
|
+
/** Warehouse state or province */
|
|
329
|
+
shipping_state?: string;
|
|
330
|
+
/** Warehouse postal code */
|
|
331
|
+
shipping_zip?: string;
|
|
332
|
+
/** Single Item Batch Size (partners only) */
|
|
333
|
+
single_item_batch_size?: string;
|
|
334
|
+
/** Warehouse slug */
|
|
335
|
+
slug?: string;
|
|
336
|
+
/**
|
|
337
|
+
* Warehouse square footage (partners only)
|
|
338
|
+
* @format int32
|
|
339
|
+
*/
|
|
340
|
+
square_footage?: number;
|
|
341
|
+
/** Warehouse timezone in friendly/legacy format (eg. "Eastern Time (US & Canada)") */
|
|
342
|
+
timezone?: string;
|
|
343
|
+
/** Warehouse timezone in standard format (eg. "America/New_York") */
|
|
344
|
+
timezone_raw?: string;
|
|
345
|
+
/**
|
|
346
|
+
* the warehouse last update date and time (partners only)
|
|
347
|
+
* @format date-time
|
|
348
|
+
*/
|
|
349
|
+
updated_at?: string;
|
|
350
|
+
/** Warehouse carrier facility (partners only) */
|
|
351
|
+
ups_carrier_facility?: string;
|
|
352
|
+
/** Warehouse UPS shipping number (partners only) */
|
|
353
|
+
ups_shipper_number?: string;
|
|
354
|
+
/**
|
|
355
|
+
* Warehouse VAT number (partners only)
|
|
356
|
+
* @format float
|
|
357
|
+
*/
|
|
358
|
+
vat?: number;
|
|
359
|
+
warehouse_features?: string;
|
|
360
|
+
}
|
|
361
|
+
|
|
20
362
|
export interface APIV2EntitiesApiError {
|
|
21
363
|
/** error message */
|
|
22
364
|
message?: string;
|
|
@@ -88,7 +430,7 @@ export interface APIV2EntitiesConsumerReturn {
|
|
|
88
430
|
* @format date-time
|
|
89
431
|
*/
|
|
90
432
|
created_at?: string;
|
|
91
|
-
customer?:
|
|
433
|
+
customer?: APIV21EntitiesCustomer;
|
|
92
434
|
/**
|
|
93
435
|
* the consumer return customer id
|
|
94
436
|
* @format int32
|
|
@@ -177,7 +519,7 @@ export interface APIV2EntitiesConsumerReturn {
|
|
|
177
519
|
* @format date-time
|
|
178
520
|
*/
|
|
179
521
|
updated_at?: string;
|
|
180
|
-
warehouse?:
|
|
522
|
+
warehouse?: APIV21EntitiesWarehouse;
|
|
181
523
|
/**
|
|
182
524
|
* the consumer return warehouse id
|
|
183
525
|
* @format int32
|
|
@@ -707,7 +1049,7 @@ export interface APIV2EntitiesItemWarehouseQuantity {
|
|
|
707
1049
|
created_at?: string;
|
|
708
1050
|
/** Warehouse currency (partners only) */
|
|
709
1051
|
currency?: string;
|
|
710
|
-
/** Paper
|
|
1052
|
+
/** Paper or Robot scanning by default when batching? (staff only) */
|
|
711
1053
|
default_pick_strategy?: string;
|
|
712
1054
|
/** Does this Warehouse have delivery appointment reminders? (partners only) */
|
|
713
1055
|
delivery_appointment_required?: boolean;
|
|
@@ -1042,6 +1384,8 @@ export interface APIV2EntitiesOrder {
|
|
|
1042
1384
|
full_name?: string;
|
|
1043
1385
|
/** is the order a gift? */
|
|
1044
1386
|
gift?: boolean;
|
|
1387
|
+
/** is the order a global_e order? */
|
|
1388
|
+
global_e_ge_order?: boolean;
|
|
1045
1389
|
/** the order humanized id */
|
|
1046
1390
|
humanize_id?: string;
|
|
1047
1391
|
/**
|
|
@@ -1153,6 +1497,7 @@ export interface APIV2EntitiesOrder {
|
|
|
1153
1497
|
* @format date-time
|
|
1154
1498
|
*/
|
|
1155
1499
|
shipped_on?: string;
|
|
1500
|
+
shipping_carrier_facility?: string;
|
|
1156
1501
|
/** the order shipping city */
|
|
1157
1502
|
shipping_city?: string;
|
|
1158
1503
|
/** the order shipping company */
|
|
@@ -1161,6 +1506,8 @@ export interface APIV2EntitiesOrder {
|
|
|
1161
1506
|
shipping_confirmation_sent?: boolean;
|
|
1162
1507
|
/** the order shipping country */
|
|
1163
1508
|
shipping_country?: string;
|
|
1509
|
+
/** pickup option for carrier facility on the address destination */
|
|
1510
|
+
shipping_hold_for_pickup?: boolean;
|
|
1164
1511
|
shipping_method?: APIV2EntitiesShippingMethod;
|
|
1165
1512
|
/**
|
|
1166
1513
|
* the order shipping method id
|
|
@@ -2156,7 +2503,7 @@ export interface APIV2EntitiesWarehouse {
|
|
|
2156
2503
|
created_at?: string;
|
|
2157
2504
|
/** Warehouse currency (partners only) */
|
|
2158
2505
|
currency?: string;
|
|
2159
|
-
/** Paper
|
|
2506
|
+
/** Paper or Robot scanning by default when batching? (staff only) */
|
|
2160
2507
|
default_pick_strategy?: string;
|
|
2161
2508
|
/** Does this Warehouse have delivery appointment reminders? (partners only) */
|
|
2162
2509
|
delivery_appointment_required?: boolean;
|
|
@@ -3259,6 +3606,8 @@ export interface GetApiV2TemplatesParams {
|
|
|
3259
3606
|
export enum ApiV2EntitiesItemHazmatType {
|
|
3260
3607
|
Ormd = "ormd",
|
|
3261
3608
|
Lithium = "lithium",
|
|
3609
|
+
ORMD = "ORMD",
|
|
3610
|
+
LITHIUM = "LITHIUM",
|
|
3262
3611
|
}
|
|
3263
3612
|
|
|
3264
3613
|
/** The country of origin for this item (as an iso2 country code) */
|
|
@@ -3957,6 +4306,8 @@ export interface PostApiV21Items {
|
|
|
3957
4306
|
export enum PostApiV21ItemsHazmatType {
|
|
3958
4307
|
Ormd = "ormd",
|
|
3959
4308
|
Lithium = "lithium",
|
|
4309
|
+
ORMD = "ORMD",
|
|
4310
|
+
LITHIUM = "LITHIUM",
|
|
3960
4311
|
}
|
|
3961
4312
|
|
|
3962
4313
|
/** Add an item to an bundle */
|
|
@@ -4310,6 +4661,7 @@ export interface PostApiV21NotificationSubscriptions {
|
|
|
4310
4661
|
|
|
4311
4662
|
/** Create an order */
|
|
4312
4663
|
export interface PostApiV21Orders {
|
|
4664
|
+
""?: string;
|
|
4313
4665
|
/** the order billing street address 1 */
|
|
4314
4666
|
billing_address_1?: string;
|
|
4315
4667
|
/** the order billing street address 2 */
|
|
@@ -4413,6 +4765,8 @@ export interface PostApiV21Orders {
|
|
|
4413
4765
|
full_name?: string;
|
|
4414
4766
|
/** is the order a gift? */
|
|
4415
4767
|
gift?: boolean;
|
|
4768
|
+
/** is the order a global_e order? */
|
|
4769
|
+
global_e_ge_order?: boolean;
|
|
4416
4770
|
/** the order humanized id */
|
|
4417
4771
|
humanize_id?: string;
|
|
4418
4772
|
/** desired incoterm for the order */
|
|
@@ -4590,12 +4944,16 @@ export interface PostApiV21Orders {
|
|
|
4590
4944
|
saturday_delivery?: boolean;
|
|
4591
4945
|
/** the order ship notes */
|
|
4592
4946
|
ship_notes?: string;
|
|
4947
|
+
/** carrier facility access point for the address destination */
|
|
4948
|
+
shipping_carrier_facility?: string;
|
|
4593
4949
|
/** the order shipping city */
|
|
4594
4950
|
shipping_city?: string;
|
|
4595
4951
|
/** the order shipping company */
|
|
4596
4952
|
shipping_company?: string;
|
|
4597
4953
|
/** the order shipping country */
|
|
4598
4954
|
shipping_country?: string;
|
|
4955
|
+
/** pickup option for carrier facility on the address destination */
|
|
4956
|
+
shipping_hold_for_pickup?: boolean;
|
|
4599
4957
|
/**
|
|
4600
4958
|
* the order shipping method id
|
|
4601
4959
|
* @format int32
|
|
@@ -4887,7 +5245,6 @@ export interface PostApiV21Shipnotices {
|
|
|
4887
5245
|
* @format int32
|
|
4888
5246
|
*/
|
|
4889
5247
|
shipnotice_item_sku_count?: number;
|
|
4890
|
-
shipnotice_items?: string;
|
|
4891
5248
|
shipnotice_items_attributes?: {
|
|
4892
5249
|
/**
|
|
4893
5250
|
* the number of this shipnotice item in the shipnotice
|
|
@@ -5402,6 +5759,8 @@ export interface PostApiV2Items {
|
|
|
5402
5759
|
export enum PostApiV2ItemsHazmatType {
|
|
5403
5760
|
Ormd = "ormd",
|
|
5404
5761
|
Lithium = "lithium",
|
|
5762
|
+
ORMD = "ORMD",
|
|
5763
|
+
LITHIUM = "LITHIUM",
|
|
5405
5764
|
}
|
|
5406
5765
|
|
|
5407
5766
|
/** Add an item to an bundle */
|
|
@@ -5755,6 +6114,7 @@ export interface PostApiV2NotificationSubscriptions {
|
|
|
5755
6114
|
|
|
5756
6115
|
/** Create an order */
|
|
5757
6116
|
export interface PostApiV2Orders {
|
|
6117
|
+
""?: string;
|
|
5758
6118
|
/** the order billing street address 1 */
|
|
5759
6119
|
billing_address_1?: string;
|
|
5760
6120
|
/** the order billing street address 2 */
|
|
@@ -5858,6 +6218,8 @@ export interface PostApiV2Orders {
|
|
|
5858
6218
|
full_name?: string;
|
|
5859
6219
|
/** is the order a gift? */
|
|
5860
6220
|
gift?: boolean;
|
|
6221
|
+
/** is the order a global_e order? */
|
|
6222
|
+
global_e_ge_order?: boolean;
|
|
5861
6223
|
/** the order humanized id */
|
|
5862
6224
|
humanize_id?: string;
|
|
5863
6225
|
/** desired incoterm for the order */
|
|
@@ -6035,12 +6397,16 @@ export interface PostApiV2Orders {
|
|
|
6035
6397
|
saturday_delivery?: boolean;
|
|
6036
6398
|
/** the order ship notes */
|
|
6037
6399
|
ship_notes?: string;
|
|
6400
|
+
/** carrier facility access point for the address destination */
|
|
6401
|
+
shipping_carrier_facility?: string;
|
|
6038
6402
|
/** the order shipping city */
|
|
6039
6403
|
shipping_city?: string;
|
|
6040
6404
|
/** the order shipping company */
|
|
6041
6405
|
shipping_company?: string;
|
|
6042
6406
|
/** the order shipping country */
|
|
6043
6407
|
shipping_country?: string;
|
|
6408
|
+
/** pickup option for carrier facility on the address destination */
|
|
6409
|
+
shipping_hold_for_pickup?: boolean;
|
|
6044
6410
|
/**
|
|
6045
6411
|
* the order shipping method id
|
|
6046
6412
|
* @format int32
|
|
@@ -6332,7 +6698,6 @@ export interface PostApiV2Shipnotices {
|
|
|
6332
6698
|
* @format int32
|
|
6333
6699
|
*/
|
|
6334
6700
|
shipnotice_item_sku_count?: number;
|
|
6335
|
-
shipnotice_items?: string;
|
|
6336
6701
|
shipnotice_items_attributes?: {
|
|
6337
6702
|
/**
|
|
6338
6703
|
* the number of this shipnotice item in the shipnotice
|
|
@@ -6967,6 +7332,8 @@ export interface PutApiV21Items {
|
|
|
6967
7332
|
export enum PutApiV21ItemsHazmatType {
|
|
6968
7333
|
Ormd = "ormd",
|
|
6969
7334
|
Lithium = "lithium",
|
|
7335
|
+
ORMD = "ORMD",
|
|
7336
|
+
LITHIUM = "LITHIUM",
|
|
6970
7337
|
}
|
|
6971
7338
|
|
|
6972
7339
|
/** Perform an action on an item */
|
|
@@ -7401,6 +7768,8 @@ export interface PutApiV21ItemsOriginator {
|
|
|
7401
7768
|
export enum PutApiV21ItemsOriginatorHazmatType {
|
|
7402
7769
|
Ormd = "ormd",
|
|
7403
7770
|
Lithium = "lithium",
|
|
7771
|
+
ORMD = "ORMD",
|
|
7772
|
+
LITHIUM = "LITHIUM",
|
|
7404
7773
|
}
|
|
7405
7774
|
|
|
7406
7775
|
/** The country of origin for this item (as an iso2 country code) */
|
|
@@ -7987,6 +8356,8 @@ export interface PutApiV21Orders {
|
|
|
7987
8356
|
full_name?: string;
|
|
7988
8357
|
/** is the order a gift? */
|
|
7989
8358
|
gift?: boolean;
|
|
8359
|
+
/** is the order a global_e order? */
|
|
8360
|
+
global_e_ge_order?: boolean;
|
|
7990
8361
|
/** the order humanized id */
|
|
7991
8362
|
humanize_id?: string;
|
|
7992
8363
|
/** desired incoterm for the order */
|
|
@@ -8053,12 +8424,16 @@ export interface PutApiV21Orders {
|
|
|
8053
8424
|
saturday_delivery?: boolean;
|
|
8054
8425
|
/** the order ship notes */
|
|
8055
8426
|
ship_notes?: string;
|
|
8427
|
+
/** carrier facility access point for the address destination */
|
|
8428
|
+
shipping_carrier_facility?: string;
|
|
8056
8429
|
/** the order shipping city */
|
|
8057
8430
|
shipping_city?: string;
|
|
8058
8431
|
/** the order shipping company */
|
|
8059
8432
|
shipping_company?: string;
|
|
8060
8433
|
/** the order shipping country */
|
|
8061
8434
|
shipping_country?: string;
|
|
8435
|
+
/** pickup option for carrier facility on the address destination */
|
|
8436
|
+
shipping_hold_for_pickup?: boolean;
|
|
8062
8437
|
/**
|
|
8063
8438
|
* the order shipping method id
|
|
8064
8439
|
* @format int32
|
|
@@ -8239,6 +8614,8 @@ export interface PutApiV21OrdersOriginator {
|
|
|
8239
8614
|
full_name?: string;
|
|
8240
8615
|
/** is the order a gift? */
|
|
8241
8616
|
gift?: boolean;
|
|
8617
|
+
/** is the order a global_e order? */
|
|
8618
|
+
global_e_ge_order?: boolean;
|
|
8242
8619
|
/** the order humanized id */
|
|
8243
8620
|
humanize_id?: string;
|
|
8244
8621
|
/** desired incoterm for the order */
|
|
@@ -8305,12 +8682,16 @@ export interface PutApiV21OrdersOriginator {
|
|
|
8305
8682
|
saturday_delivery?: boolean;
|
|
8306
8683
|
/** the order ship notes */
|
|
8307
8684
|
ship_notes?: string;
|
|
8685
|
+
/** carrier facility access point for the address destination */
|
|
8686
|
+
shipping_carrier_facility?: string;
|
|
8308
8687
|
/** the order shipping city */
|
|
8309
8688
|
shipping_city?: string;
|
|
8310
8689
|
/** the order shipping company */
|
|
8311
8690
|
shipping_company?: string;
|
|
8312
8691
|
/** the order shipping country */
|
|
8313
8692
|
shipping_country?: string;
|
|
8693
|
+
/** pickup option for carrier facility on the address destination */
|
|
8694
|
+
shipping_hold_for_pickup?: boolean;
|
|
8314
8695
|
/**
|
|
8315
8696
|
* the order shipping method id
|
|
8316
8697
|
* @format int32
|
|
@@ -9163,6 +9544,8 @@ export interface PutApiV2Items {
|
|
|
9163
9544
|
export enum PutApiV2ItemsHazmatType {
|
|
9164
9545
|
Ormd = "ormd",
|
|
9165
9546
|
Lithium = "lithium",
|
|
9547
|
+
ORMD = "ORMD",
|
|
9548
|
+
LITHIUM = "LITHIUM",
|
|
9166
9549
|
}
|
|
9167
9550
|
|
|
9168
9551
|
/** Perform an action on an item */
|
|
@@ -9597,6 +9980,8 @@ export interface PutApiV2ItemsOriginator {
|
|
|
9597
9980
|
export enum PutApiV2ItemsOriginatorHazmatType {
|
|
9598
9981
|
Ormd = "ormd",
|
|
9599
9982
|
Lithium = "lithium",
|
|
9983
|
+
ORMD = "ORMD",
|
|
9984
|
+
LITHIUM = "LITHIUM",
|
|
9600
9985
|
}
|
|
9601
9986
|
|
|
9602
9987
|
/** The country of origin for this item (as an iso2 country code) */
|
|
@@ -10183,6 +10568,8 @@ export interface PutApiV2Orders {
|
|
|
10183
10568
|
full_name?: string;
|
|
10184
10569
|
/** is the order a gift? */
|
|
10185
10570
|
gift?: boolean;
|
|
10571
|
+
/** is the order a global_e order? */
|
|
10572
|
+
global_e_ge_order?: boolean;
|
|
10186
10573
|
/** the order humanized id */
|
|
10187
10574
|
humanize_id?: string;
|
|
10188
10575
|
/** desired incoterm for the order */
|
|
@@ -10249,12 +10636,16 @@ export interface PutApiV2Orders {
|
|
|
10249
10636
|
saturday_delivery?: boolean;
|
|
10250
10637
|
/** the order ship notes */
|
|
10251
10638
|
ship_notes?: string;
|
|
10639
|
+
/** carrier facility access point for the address destination */
|
|
10640
|
+
shipping_carrier_facility?: string;
|
|
10252
10641
|
/** the order shipping city */
|
|
10253
10642
|
shipping_city?: string;
|
|
10254
10643
|
/** the order shipping company */
|
|
10255
10644
|
shipping_company?: string;
|
|
10256
10645
|
/** the order shipping country */
|
|
10257
10646
|
shipping_country?: string;
|
|
10647
|
+
/** pickup option for carrier facility on the address destination */
|
|
10648
|
+
shipping_hold_for_pickup?: boolean;
|
|
10258
10649
|
/**
|
|
10259
10650
|
* the order shipping method id
|
|
10260
10651
|
* @format int32
|
|
@@ -10433,6 +10824,8 @@ export interface PutApiV2OrdersOriginator {
|
|
|
10433
10824
|
full_name?: string;
|
|
10434
10825
|
/** is the order a gift? */
|
|
10435
10826
|
gift?: boolean;
|
|
10827
|
+
/** is the order a global_e order? */
|
|
10828
|
+
global_e_ge_order?: boolean;
|
|
10436
10829
|
/** the order humanized id */
|
|
10437
10830
|
humanize_id?: string;
|
|
10438
10831
|
/** desired incoterm for the order */
|
|
@@ -10499,12 +10892,16 @@ export interface PutApiV2OrdersOriginator {
|
|
|
10499
10892
|
saturday_delivery?: boolean;
|
|
10500
10893
|
/** the order ship notes */
|
|
10501
10894
|
ship_notes?: string;
|
|
10895
|
+
/** carrier facility access point for the address destination */
|
|
10896
|
+
shipping_carrier_facility?: string;
|
|
10502
10897
|
/** the order shipping city */
|
|
10503
10898
|
shipping_city?: string;
|
|
10504
10899
|
/** the order shipping company */
|
|
10505
10900
|
shipping_company?: string;
|
|
10506
10901
|
/** the order shipping country */
|
|
10507
10902
|
shipping_country?: string;
|
|
10903
|
+
/** pickup option for carrier facility on the address destination */
|
|
10904
|
+
shipping_hold_for_pickup?: boolean;
|
|
10508
10905
|
/**
|
|
10509
10906
|
* the order shipping method id
|
|
10510
10907
|
* @format int32
|