@whiplashmerch/whiplash-api-client 3.2.57 → 3.2.59

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.
@@ -305,7 +305,16 @@ export declare const getApiV2ItemsIdOriginatorsCount: (client: HttpClient, { id,
305
305
  * @summary List all scancode history associated with this item
306
306
  * @request GET:/api/v2/items/{id}/scancode_history
307
307
  */
308
- export declare const getApiV2ItemsIdScancodeHistory: (client: HttpClient, { id, ...query }: GetApiV2ItemsIdScancodeHistoryParams, params?: RequestParams) => Promise<ApiV2EntitiesScancodeHistory>;
308
+ export declare const getApiV2ItemsIdScancodeHistory: (client: HttpClient, { id, ...query }: GetApiV2ItemsIdScancodeHistoryParams, params?: RequestParams) => Promise<ApiV2EntitiesScancodeHistory[]>;
309
+ /**
310
+ * @description show scancode history count associated with this item
311
+ *
312
+ * @tags items
313
+ * @name GetApiV2ItemsIdScancodeHistoryCount
314
+ * @summary Count of scancode history audits associated with this item
315
+ * @request GET:/api/v2/items/{id}/scancode_history/count
316
+ */
317
+ export declare const getApiV2ItemsIdScancodeHistoryCount: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
309
318
  /**
310
319
  * @description show scancodes associated with this item
311
320
  *
@@ -692,7 +701,16 @@ export declare const getApiV21ItemsIdOriginatorsCount: (client: HttpClient, { id
692
701
  * @summary List all scancode history associated with this item
693
702
  * @request GET:/api/v2.1/items/{id}/scancode_history
694
703
  */
695
- export declare const getApiV21ItemsIdScancodeHistory: (client: HttpClient, { id, ...query }: GetApiV21ItemsIdScancodeHistoryParams, params?: RequestParams) => Promise<ApiV2EntitiesScancodeHistory>;
704
+ export declare const getApiV21ItemsIdScancodeHistory: (client: HttpClient, { id, ...query }: GetApiV21ItemsIdScancodeHistoryParams, params?: RequestParams) => Promise<ApiV2EntitiesScancodeHistory[]>;
705
+ /**
706
+ * @description show scancode history count associated with this item
707
+ *
708
+ * @tags items
709
+ * @name GetApiV21ItemsIdScancodeHistoryCount
710
+ * @summary Count of scancode history audits associated with this item
711
+ * @request GET:/api/v2.1/items/{id}/scancode_history/count
712
+ */
713
+ export declare const getApiV21ItemsIdScancodeHistoryCount: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesCount>;
696
714
  /**
697
715
  * @description show scancodes associated with this item
698
716
  *
@@ -1,4 +1,4 @@
1
- import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesCount, ApiV21EntitiesIncident, ApiV21EntitiesOrderBatch, ApiV21EntitiesOrderBatchItem, ApiV21EntitiesPackingslipsArray, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesOrderBatch, ApiV2EntitiesOrderBatchItem, ApiV2EntitiesPackingslipsArray, ApiV2EntitiesResult, GetApiV21OrderBatchesAggregateParams, GetApiV21OrderBatchesIdCallTraitParams, GetApiV21OrderBatchesIdIncidentsCountParams, GetApiV21OrderBatchesIdIncidentsParams, GetApiV21OrderBatchesIdMetaFieldsParams, GetApiV21OrderBatchesIdOrderBatchItemsParams, GetApiV21OrderBatchesIdPackingslipsParams, GetApiV21OrderBatchesIdTraitsParams, GetApiV21OrderBatchesParams, GetApiV2OrderBatchesAggregateParams, GetApiV2OrderBatchesIdCallTraitParams, GetApiV2OrderBatchesIdIncidentsCountParams, GetApiV2OrderBatchesIdIncidentsParams, GetApiV2OrderBatchesIdMetaFieldsParams, GetApiV2OrderBatchesIdOrderBatchItemsParams, GetApiV2OrderBatchesIdPackingslipsParams, GetApiV2OrderBatchesIdTraitsParams, GetApiV2OrderBatchesParams, PostApiV21OrderBatchesIdIncidentsRequest, PostApiV2OrderBatchesIdIncidentsRequest, PutApiV21OrderBatchesIdCallActionRequest, PutApiV21OrderBatchesIdCallAsyncActionRequest, PutApiV21OrderBatchesIdMetaFieldsRequest, PutApiV21OrderBatchesIdRequest, PutApiV2OrderBatchesIdCallActionRequest, PutApiV2OrderBatchesIdCallAsyncActionRequest, PutApiV2OrderBatchesIdMetaFieldsRequest, PutApiV2OrderBatchesIdRequest } from "./data-contracts";
1
+ import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesCount, ApiV21EntitiesIncident, ApiV21EntitiesOrderBatch, ApiV21EntitiesOrderBatchItem, ApiV21EntitiesPackingslipsArray, ApiV21EntitiesPostResponse, ApiV21EntitiesResult, ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesOrderBatch, ApiV2EntitiesOrderBatchItem, ApiV2EntitiesPackingslipsArray, ApiV2EntitiesResult, GetApiV21OrderBatchesAggregateParams, GetApiV21OrderBatchesIdCallTraitParams, GetApiV21OrderBatchesIdIncidentsCountParams, GetApiV21OrderBatchesIdIncidentsParams, GetApiV21OrderBatchesIdMetaFieldsParams, GetApiV21OrderBatchesIdOrderBatchItemsCountParams, GetApiV21OrderBatchesIdOrderBatchItemsParams, GetApiV21OrderBatchesIdPackingslipsParams, GetApiV21OrderBatchesIdTraitsParams, GetApiV21OrderBatchesParams, GetApiV2OrderBatchesAggregateParams, GetApiV2OrderBatchesIdCallTraitParams, GetApiV2OrderBatchesIdIncidentsCountParams, GetApiV2OrderBatchesIdIncidentsParams, GetApiV2OrderBatchesIdMetaFieldsParams, GetApiV2OrderBatchesIdOrderBatchItemsCountParams, GetApiV2OrderBatchesIdOrderBatchItemsParams, GetApiV2OrderBatchesIdPackingslipsParams, GetApiV2OrderBatchesIdTraitsParams, GetApiV2OrderBatchesParams, PostApiV21OrderBatchesIdIncidentsRequest, PostApiV2OrderBatchesIdIncidentsRequest, PutApiV21OrderBatchesIdCallActionRequest, PutApiV21OrderBatchesIdCallAsyncActionRequest, PutApiV21OrderBatchesIdMetaFieldsRequest, PutApiV21OrderBatchesIdRequest, PutApiV2OrderBatchesIdCallActionRequest, PutApiV2OrderBatchesIdCallAsyncActionRequest, PutApiV2OrderBatchesIdMetaFieldsRequest, PutApiV2OrderBatchesIdRequest } from "./data-contracts";
2
2
  import { HttpClient, RequestParams } from "./http-client";
3
3
  /**
4
4
  * @description Returns all order batches
@@ -144,6 +144,15 @@ export declare const putApiV2OrderBatchesIdMetaFields: (client: HttpClient, id:
144
144
  * @request GET:/api/v2/order_batches/{id}/order_batch_items
145
145
  */
146
146
  export declare const getApiV2OrderBatchesIdOrderBatchItems: (client: HttpClient, { id, ...query }: GetApiV2OrderBatchesIdOrderBatchItemsParams, params?: RequestParams) => Promise<ApiV2EntitiesOrderBatchItem[]>;
147
+ /**
148
+ * @description Get the count of order_batch_items for an order batch
149
+ *
150
+ * @tags order_batches
151
+ * @name GetApiV2OrderBatchesIdOrderBatchItemsCount
152
+ * @summary Retrieve count of order batch items for an order batch
153
+ * @request GET:/api/v2/order_batches/{id}/order_batch_items/count
154
+ */
155
+ export declare const getApiV2OrderBatchesIdOrderBatchItemsCount: (client: HttpClient, { id, ...query }: GetApiV2OrderBatchesIdOrderBatchItemsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
147
156
  /**
148
157
  * @description Get packingslips for an order batch
149
158
  *
@@ -306,6 +315,15 @@ export declare const putApiV21OrderBatchesIdMetaFields: (client: HttpClient, id:
306
315
  * @request GET:/api/v2.1/order_batches/{id}/order_batch_items
307
316
  */
308
317
  export declare const getApiV21OrderBatchesIdOrderBatchItems: (client: HttpClient, { id, ...query }: GetApiV21OrderBatchesIdOrderBatchItemsParams, params?: RequestParams) => Promise<ApiV21EntitiesOrderBatchItem[]>;
318
+ /**
319
+ * @description Get the count of order_batch_items for an order batch
320
+ *
321
+ * @tags order_batches
322
+ * @name GetApiV21OrderBatchesIdOrderBatchItemsCount
323
+ * @summary Retrieve count of order batch items for an order batch
324
+ * @request GET:/api/v2.1/order_batches/{id}/order_batch_items/count
325
+ */
326
+ export declare const getApiV21OrderBatchesIdOrderBatchItemsCount: (client: HttpClient, { id, ...query }: GetApiV21OrderBatchesIdOrderBatchItemsCountParams, params?: RequestParams) => Promise<ApiV21EntitiesCount>;
309
327
  /**
310
328
  * @description Get packingslips for an order batch
311
329
  *
@@ -849,6 +849,8 @@ export interface ApiV21EntitiesCustomer {
849
849
  replenishment_target?: string | null;
850
850
  /** request serial numbers? */
851
851
  request_serial_numbers?: boolean | null;
852
+ /** Block customer cancellation of batched orders (admins only) */
853
+ restrict_batched_orders_cancellation?: boolean | null;
852
854
  /** Customer return city. */
853
855
  return_city?: string | null;
854
856
  /** Customer return company. */
@@ -1326,7 +1328,7 @@ export interface ApiV21EntitiesItem {
1326
1328
  customer_id?: number;
1327
1329
  /** the item description */
1328
1330
  description?: string | null;
1329
- /** the EAN number for the item */
1331
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
1330
1332
  ean?: string | null;
1331
1333
  /**
1332
1334
  * items that are this many days from expiration will not be allowed to ship
@@ -1337,6 +1339,8 @@ export interface ApiV21EntitiesItem {
1337
1339
  full_description?: string;
1338
1340
  /** Garment on hanger? */
1339
1341
  goh?: boolean | null;
1342
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
1343
+ gtin?: string | null;
1340
1344
  /**
1341
1345
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
1342
1346
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -1361,6 +1365,8 @@ export interface ApiV21EntitiesItem {
1361
1365
  include_inbound_in_published?: boolean | null;
1362
1366
  /** is the item a bundle? */
1363
1367
  is_bundle?: boolean | null;
1368
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
1369
+ isbn?: string | null;
1364
1370
  /** label format */
1365
1371
  label_format?: string | null;
1366
1372
  /** the item length (in inches) */
@@ -1436,6 +1442,7 @@ export interface ApiV21EntitiesItem {
1436
1442
  returnable?: boolean | null;
1437
1443
  /** the item scancode */
1438
1444
  scancode?: string | null;
1445
+ scancodes_cache?: string[];
1439
1446
  /**
1440
1447
  * which locations to pick first: Default, FIFO, FEFO
1441
1448
  * @format int32
@@ -1454,6 +1461,8 @@ export interface ApiV21EntitiesItem {
1454
1461
  tariff_number?: string | null;
1455
1462
  /** the item title */
1456
1463
  title?: string | null;
1464
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
1465
+ upc?: string | null;
1457
1466
  /**
1458
1467
  * the date and time the item was last updated
1459
1468
  * @format date-time
@@ -6599,6 +6608,8 @@ export interface ApiV2EntitiesCustomer {
6599
6608
  replenishment_target?: string | null;
6600
6609
  /** request serial numbers? */
6601
6610
  request_serial_numbers?: boolean | null;
6611
+ /** Block customer cancellation of batched orders (admins only) */
6612
+ restrict_batched_orders_cancellation?: boolean | null;
6602
6613
  /** Customer return city. */
6603
6614
  return_city?: string | null;
6604
6615
  /** Customer return company. */
@@ -6819,6 +6830,8 @@ export interface ApiV2EntitiesCustomerShallow {
6819
6830
  replenishment_target?: string;
6820
6831
  /** request serial numbers? */
6821
6832
  request_serial_numbers?: boolean;
6833
+ /** Block customer cancellation of batched orders (admins only) */
6834
+ restrict_batched_orders_cancellation?: boolean;
6822
6835
  /** Customer return city. */
6823
6836
  return_city?: string;
6824
6837
  /** Customer return company. */
@@ -7518,7 +7531,7 @@ export interface ApiV2EntitiesItem {
7518
7531
  customer_id?: number;
7519
7532
  /** the item description */
7520
7533
  description?: string | null;
7521
- /** the EAN number for the item */
7534
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
7522
7535
  ean?: string | null;
7523
7536
  /**
7524
7537
  * items that are this many days from expiration will not be allowed to ship
@@ -7529,6 +7542,8 @@ export interface ApiV2EntitiesItem {
7529
7542
  full_description?: string;
7530
7543
  /** Garment on hanger? */
7531
7544
  goh?: boolean | null;
7545
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
7546
+ gtin?: string | null;
7532
7547
  /**
7533
7548
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
7534
7549
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -7553,6 +7568,8 @@ export interface ApiV2EntitiesItem {
7553
7568
  include_inbound_in_published?: boolean | null;
7554
7569
  /** is the item a bundle? */
7555
7570
  is_bundle?: boolean | null;
7571
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
7572
+ isbn?: string | null;
7556
7573
  /** label format */
7557
7574
  label_format?: string | null;
7558
7575
  /** the item length (in inches) */
@@ -7631,6 +7648,8 @@ export interface ApiV2EntitiesItem {
7631
7648
  tariff_number?: string | null;
7632
7649
  /** the item title */
7633
7650
  title?: string | null;
7651
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
7652
+ upc?: string | null;
7634
7653
  /**
7635
7654
  * the date and time the item was last updated
7636
7655
  * @format date-time
@@ -13586,6 +13605,9 @@ export interface GetApiV21ItemsIdOriginatorsParams {
13586
13605
  export interface GetApiV21ItemsIdParams {
13587
13606
  id: number;
13588
13607
  }
13608
+ export interface GetApiV21ItemsIdScancodeHistoryCountParams {
13609
+ id: number;
13610
+ }
13589
13611
  export interface GetApiV21ItemsIdScancodeHistoryParams {
13590
13612
  id: number;
13591
13613
  /**
@@ -14259,6 +14281,11 @@ export interface GetApiV21OrderBatchesIdMetaFieldsParams {
14259
14281
  associations?: string[];
14260
14282
  id: number;
14261
14283
  }
14284
+ export interface GetApiV21OrderBatchesIdOrderBatchItemsCountParams {
14285
+ id: number;
14286
+ /** JSON search string like {"attribute_eq": "Term"} */
14287
+ search?: string;
14288
+ }
14262
14289
  export interface GetApiV21OrderBatchesIdOrderBatchItemsParams {
14263
14290
  /** Comma-separated list of fields to include in the response */
14264
14291
  fields?: string;
@@ -16885,6 +16912,9 @@ export interface GetApiV2ItemsIdOriginatorsParams {
16885
16912
  export interface GetApiV2ItemsIdParams {
16886
16913
  id: number;
16887
16914
  }
16915
+ export interface GetApiV2ItemsIdScancodeHistoryCountParams {
16916
+ id: number;
16917
+ }
16888
16918
  export interface GetApiV2ItemsIdScancodeHistoryParams {
16889
16919
  id: number;
16890
16920
  /**
@@ -17558,6 +17588,11 @@ export interface GetApiV2OrderBatchesIdMetaFieldsParams {
17558
17588
  associations?: string[];
17559
17589
  id: number;
17560
17590
  }
17591
+ export interface GetApiV2OrderBatchesIdOrderBatchItemsCountParams {
17592
+ id: number;
17593
+ /** JSON search string like {"attribute_eq": "Term"} */
17594
+ search?: string;
17595
+ }
17561
17596
  export interface GetApiV2OrderBatchesIdOrderBatchItemsParams {
17562
17597
  /** Comma-separated list of fields to include in the response */
17563
17598
  fields?: string;
@@ -20138,6 +20173,8 @@ export interface PostApiV21CustomersRequest {
20138
20173
  replenishment_target?: string;
20139
20174
  /** request serial numbers? */
20140
20175
  request_serial_numbers?: boolean;
20176
+ /** Block customer cancellation of batched orders (admins only) */
20177
+ restrict_batched_orders_cancellation?: boolean;
20141
20178
  /** Customer return city. */
20142
20179
  return_city?: string;
20143
20180
  /** Customer return company. */
@@ -20500,7 +20537,7 @@ export interface PostApiV21ItemsRequest {
20500
20537
  customer_id?: number;
20501
20538
  /** the item description */
20502
20539
  description?: string;
20503
- /** the EAN number for the item */
20540
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
20504
20541
  ean?: string;
20505
20542
  /**
20506
20543
  * items that are this many days from expiration will not be allowed to ship
@@ -20509,6 +20546,8 @@ export interface PostApiV21ItemsRequest {
20509
20546
  expiration_period?: number;
20510
20547
  /** Garment on hanger? */
20511
20548
  goh?: boolean;
20549
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
20550
+ gtin?: string;
20512
20551
  /**
20513
20552
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
20514
20553
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -20526,6 +20565,8 @@ export interface PostApiV21ItemsRequest {
20526
20565
  include_inbound_in_published?: boolean;
20527
20566
  /** is the item a bundle? */
20528
20567
  is_bundle?: boolean;
20568
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
20569
+ isbn?: string;
20529
20570
  /** label format */
20530
20571
  label_format?: string;
20531
20572
  /** the item length (in inches) */
@@ -20605,6 +20646,8 @@ export interface PostApiV21ItemsRequest {
20605
20646
  tariff_number?: string;
20606
20647
  /** the item title */
20607
20648
  title?: string;
20649
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
20650
+ upc?: string;
20608
20651
  /**
20609
20652
  * Average number of units expected to sell in a day
20610
20653
  * @format int32
@@ -24558,6 +24601,8 @@ export interface PostApiV2CustomersRequest {
24558
24601
  replenishment_target?: string;
24559
24602
  /** request serial numbers? */
24560
24603
  request_serial_numbers?: boolean;
24604
+ /** Block customer cancellation of batched orders (admins only) */
24605
+ restrict_batched_orders_cancellation?: boolean;
24561
24606
  /** Customer return city. */
24562
24607
  return_city?: string;
24563
24608
  /** Customer return company. */
@@ -24920,7 +24965,7 @@ export interface PostApiV2ItemsRequest {
24920
24965
  customer_id?: number;
24921
24966
  /** the item description */
24922
24967
  description?: string;
24923
- /** the EAN number for the item */
24968
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
24924
24969
  ean?: string;
24925
24970
  /**
24926
24971
  * items that are this many days from expiration will not be allowed to ship
@@ -24929,6 +24974,8 @@ export interface PostApiV2ItemsRequest {
24929
24974
  expiration_period?: number;
24930
24975
  /** Garment on hanger? */
24931
24976
  goh?: boolean;
24977
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
24978
+ gtin?: string;
24932
24979
  /**
24933
24980
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
24934
24981
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -24946,6 +24993,8 @@ export interface PostApiV2ItemsRequest {
24946
24993
  include_inbound_in_published?: boolean;
24947
24994
  /** is the item a bundle? */
24948
24995
  is_bundle?: boolean;
24996
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
24997
+ isbn?: string;
24949
24998
  /** label format */
24950
24999
  label_format?: string;
24951
25000
  /** the item length (in inches) */
@@ -25025,6 +25074,8 @@ export interface PostApiV2ItemsRequest {
25025
25074
  tariff_number?: string;
25026
25075
  /** the item title */
25027
25076
  title?: string;
25077
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
25078
+ upc?: string;
25028
25079
  /**
25029
25080
  * Average number of units expected to sell in a day
25030
25081
  * @format int32
@@ -28673,6 +28724,8 @@ export interface PutApiV21CustomersIdRequest {
28673
28724
  replenishment_target?: string;
28674
28725
  /** request serial numbers? */
28675
28726
  request_serial_numbers?: boolean;
28727
+ /** Block customer cancellation of batched orders (admins only) */
28728
+ restrict_batched_orders_cancellation?: boolean;
28676
28729
  /** Customer return city. */
28677
28730
  return_city?: string;
28678
28731
  /** Customer return company. */
@@ -29043,7 +29096,7 @@ export interface PutApiV21IncidentsIdRequest {
29043
29096
  customer_id?: number;
29044
29097
  /** the item description */
29045
29098
  description?: string;
29046
- /** the EAN number for the item */
29099
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
29047
29100
  ean?: string;
29048
29101
  /**
29049
29102
  * items that are this many days from expiration will not be allowed to ship
@@ -29054,6 +29107,8 @@ export interface PutApiV21IncidentsIdRequest {
29054
29107
  full_description?: string;
29055
29108
  /** Garment on hanger? */
29056
29109
  goh?: boolean;
29110
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
29111
+ gtin?: string;
29057
29112
  /**
29058
29113
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
29059
29114
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -29073,6 +29128,8 @@ export interface PutApiV21IncidentsIdRequest {
29073
29128
  include_inbound_in_published?: boolean;
29074
29129
  /** is the item a bundle? */
29075
29130
  is_bundle?: boolean;
29131
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
29132
+ isbn?: string;
29076
29133
  /** label format */
29077
29134
  label_format?: string;
29078
29135
  /** the item length (in inches) */
@@ -29151,6 +29208,8 @@ export interface PutApiV21IncidentsIdRequest {
29151
29208
  tariff_number?: string;
29152
29209
  /** the item title */
29153
29210
  title?: string;
29211
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
29212
+ upc?: string;
29154
29213
  /**
29155
29214
  * Average number of units expected to sell in a day
29156
29215
  * @format int32
@@ -29535,7 +29594,7 @@ export interface PutApiV21ItemsIdRequest {
29535
29594
  customer_id?: number;
29536
29595
  /** the item description */
29537
29596
  description?: string;
29538
- /** the EAN number for the item */
29597
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
29539
29598
  ean?: string;
29540
29599
  /**
29541
29600
  * items that are this many days from expiration will not be allowed to ship
@@ -29544,6 +29603,8 @@ export interface PutApiV21ItemsIdRequest {
29544
29603
  expiration_period?: number;
29545
29604
  /** Garment on hanger? */
29546
29605
  goh?: boolean;
29606
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
29607
+ gtin?: string;
29547
29608
  /**
29548
29609
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
29549
29610
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -29561,6 +29622,8 @@ export interface PutApiV21ItemsIdRequest {
29561
29622
  include_inbound_in_published?: boolean;
29562
29623
  /** is the item a bundle? */
29563
29624
  is_bundle?: boolean;
29625
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
29626
+ isbn?: string;
29564
29627
  /** label format */
29565
29628
  label_format?: string;
29566
29629
  /** the item length (in inches) */
@@ -29627,6 +29690,8 @@ export interface PutApiV21ItemsIdRequest {
29627
29690
  tariff_number?: string;
29628
29691
  /** the item title */
29629
29692
  title?: string;
29693
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
29694
+ upc?: string;
29630
29695
  /**
29631
29696
  * Average number of units expected to sell in a day
29632
29697
  * @format int32
@@ -32998,6 +33063,8 @@ export interface PutApiV2CustomersIdRequest {
32998
33063
  replenishment_target?: string;
32999
33064
  /** request serial numbers? */
33000
33065
  request_serial_numbers?: boolean;
33066
+ /** Block customer cancellation of batched orders (admins only) */
33067
+ restrict_batched_orders_cancellation?: boolean;
33001
33068
  /** Customer return city. */
33002
33069
  return_city?: string;
33003
33070
  /** Customer return company. */
@@ -33368,7 +33435,7 @@ export interface PutApiV2IncidentsIdRequest {
33368
33435
  customer_id?: number;
33369
33436
  /** the item description */
33370
33437
  description?: string;
33371
- /** the EAN number for the item */
33438
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
33372
33439
  ean?: string;
33373
33440
  /**
33374
33441
  * items that are this many days from expiration will not be allowed to ship
@@ -33379,6 +33446,8 @@ export interface PutApiV2IncidentsIdRequest {
33379
33446
  full_description?: string;
33380
33447
  /** Garment on hanger? */
33381
33448
  goh?: boolean;
33449
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
33450
+ gtin?: string;
33382
33451
  /**
33383
33452
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
33384
33453
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -33398,6 +33467,8 @@ export interface PutApiV2IncidentsIdRequest {
33398
33467
  include_inbound_in_published?: boolean;
33399
33468
  /** is the item a bundle? */
33400
33469
  is_bundle?: boolean;
33470
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
33471
+ isbn?: string;
33401
33472
  /** label format */
33402
33473
  label_format?: string;
33403
33474
  /** the item length (in inches) */
@@ -33476,6 +33547,8 @@ export interface PutApiV2IncidentsIdRequest {
33476
33547
  tariff_number?: string;
33477
33548
  /** the item title */
33478
33549
  title?: string;
33550
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
33551
+ upc?: string;
33479
33552
  /**
33480
33553
  * Average number of units expected to sell in a day
33481
33554
  * @format int32
@@ -33860,7 +33933,7 @@ export interface PutApiV2ItemsIdRequest {
33860
33933
  customer_id?: number;
33861
33934
  /** the item description */
33862
33935
  description?: string;
33863
- /** the EAN number for the item */
33936
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
33864
33937
  ean?: string;
33865
33938
  /**
33866
33939
  * items that are this many days from expiration will not be allowed to ship
@@ -33869,6 +33942,8 @@ export interface PutApiV2ItemsIdRequest {
33869
33942
  expiration_period?: number;
33870
33943
  /** Garment on hanger? */
33871
33944
  goh?: boolean;
33945
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
33946
+ gtin?: string;
33872
33947
  /**
33873
33948
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
33874
33949
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -33886,6 +33961,8 @@ export interface PutApiV2ItemsIdRequest {
33886
33961
  include_inbound_in_published?: boolean;
33887
33962
  /** is the item a bundle? */
33888
33963
  is_bundle?: boolean;
33964
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
33965
+ isbn?: string;
33889
33966
  /** label format */
33890
33967
  label_format?: string;
33891
33968
  /** the item length (in inches) */
@@ -33952,6 +34029,8 @@ export interface PutApiV2ItemsIdRequest {
33952
34029
  tariff_number?: string;
33953
34030
  /** the item title */
33954
34031
  title?: string;
34032
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
34033
+ upc?: string;
33955
34034
  /**
33956
34035
  * Average number of units expected to sell in a day
33957
34036
  * @format int32