@whiplashmerch/whiplash-api-client 3.2.57 → 3.2.58

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) */
@@ -1454,6 +1460,8 @@ export interface ApiV21EntitiesItem {
1454
1460
  tariff_number?: string | null;
1455
1461
  /** the item title */
1456
1462
  title?: string | null;
1463
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
1464
+ upc?: string | null;
1457
1465
  /**
1458
1466
  * the date and time the item was last updated
1459
1467
  * @format date-time
@@ -6599,6 +6607,8 @@ export interface ApiV2EntitiesCustomer {
6599
6607
  replenishment_target?: string | null;
6600
6608
  /** request serial numbers? */
6601
6609
  request_serial_numbers?: boolean | null;
6610
+ /** Block customer cancellation of batched orders (admins only) */
6611
+ restrict_batched_orders_cancellation?: boolean | null;
6602
6612
  /** Customer return city. */
6603
6613
  return_city?: string | null;
6604
6614
  /** Customer return company. */
@@ -6819,6 +6829,8 @@ export interface ApiV2EntitiesCustomerShallow {
6819
6829
  replenishment_target?: string;
6820
6830
  /** request serial numbers? */
6821
6831
  request_serial_numbers?: boolean;
6832
+ /** Block customer cancellation of batched orders (admins only) */
6833
+ restrict_batched_orders_cancellation?: boolean;
6822
6834
  /** Customer return city. */
6823
6835
  return_city?: string;
6824
6836
  /** Customer return company. */
@@ -7518,7 +7530,7 @@ export interface ApiV2EntitiesItem {
7518
7530
  customer_id?: number;
7519
7531
  /** the item description */
7520
7532
  description?: string | null;
7521
- /** the EAN number for the item */
7533
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
7522
7534
  ean?: string | null;
7523
7535
  /**
7524
7536
  * items that are this many days from expiration will not be allowed to ship
@@ -7529,6 +7541,8 @@ export interface ApiV2EntitiesItem {
7529
7541
  full_description?: string;
7530
7542
  /** Garment on hanger? */
7531
7543
  goh?: boolean | null;
7544
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
7545
+ gtin?: string | null;
7532
7546
  /**
7533
7547
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
7534
7548
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -7553,6 +7567,8 @@ export interface ApiV2EntitiesItem {
7553
7567
  include_inbound_in_published?: boolean | null;
7554
7568
  /** is the item a bundle? */
7555
7569
  is_bundle?: boolean | null;
7570
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
7571
+ isbn?: string | null;
7556
7572
  /** label format */
7557
7573
  label_format?: string | null;
7558
7574
  /** the item length (in inches) */
@@ -7631,6 +7647,8 @@ export interface ApiV2EntitiesItem {
7631
7647
  tariff_number?: string | null;
7632
7648
  /** the item title */
7633
7649
  title?: string | null;
7650
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
7651
+ upc?: string | null;
7634
7652
  /**
7635
7653
  * the date and time the item was last updated
7636
7654
  * @format date-time
@@ -13586,6 +13604,9 @@ export interface GetApiV21ItemsIdOriginatorsParams {
13586
13604
  export interface GetApiV21ItemsIdParams {
13587
13605
  id: number;
13588
13606
  }
13607
+ export interface GetApiV21ItemsIdScancodeHistoryCountParams {
13608
+ id: number;
13609
+ }
13589
13610
  export interface GetApiV21ItemsIdScancodeHistoryParams {
13590
13611
  id: number;
13591
13612
  /**
@@ -14259,6 +14280,11 @@ export interface GetApiV21OrderBatchesIdMetaFieldsParams {
14259
14280
  associations?: string[];
14260
14281
  id: number;
14261
14282
  }
14283
+ export interface GetApiV21OrderBatchesIdOrderBatchItemsCountParams {
14284
+ id: number;
14285
+ /** JSON search string like {"attribute_eq": "Term"} */
14286
+ search?: string;
14287
+ }
14262
14288
  export interface GetApiV21OrderBatchesIdOrderBatchItemsParams {
14263
14289
  /** Comma-separated list of fields to include in the response */
14264
14290
  fields?: string;
@@ -16885,6 +16911,9 @@ export interface GetApiV2ItemsIdOriginatorsParams {
16885
16911
  export interface GetApiV2ItemsIdParams {
16886
16912
  id: number;
16887
16913
  }
16914
+ export interface GetApiV2ItemsIdScancodeHistoryCountParams {
16915
+ id: number;
16916
+ }
16888
16917
  export interface GetApiV2ItemsIdScancodeHistoryParams {
16889
16918
  id: number;
16890
16919
  /**
@@ -17558,6 +17587,11 @@ export interface GetApiV2OrderBatchesIdMetaFieldsParams {
17558
17587
  associations?: string[];
17559
17588
  id: number;
17560
17589
  }
17590
+ export interface GetApiV2OrderBatchesIdOrderBatchItemsCountParams {
17591
+ id: number;
17592
+ /** JSON search string like {"attribute_eq": "Term"} */
17593
+ search?: string;
17594
+ }
17561
17595
  export interface GetApiV2OrderBatchesIdOrderBatchItemsParams {
17562
17596
  /** Comma-separated list of fields to include in the response */
17563
17597
  fields?: string;
@@ -20138,6 +20172,8 @@ export interface PostApiV21CustomersRequest {
20138
20172
  replenishment_target?: string;
20139
20173
  /** request serial numbers? */
20140
20174
  request_serial_numbers?: boolean;
20175
+ /** Block customer cancellation of batched orders (admins only) */
20176
+ restrict_batched_orders_cancellation?: boolean;
20141
20177
  /** Customer return city. */
20142
20178
  return_city?: string;
20143
20179
  /** Customer return company. */
@@ -20500,7 +20536,7 @@ export interface PostApiV21ItemsRequest {
20500
20536
  customer_id?: number;
20501
20537
  /** the item description */
20502
20538
  description?: string;
20503
- /** the EAN number for the item */
20539
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
20504
20540
  ean?: string;
20505
20541
  /**
20506
20542
  * items that are this many days from expiration will not be allowed to ship
@@ -20509,6 +20545,8 @@ export interface PostApiV21ItemsRequest {
20509
20545
  expiration_period?: number;
20510
20546
  /** Garment on hanger? */
20511
20547
  goh?: boolean;
20548
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
20549
+ gtin?: string;
20512
20550
  /**
20513
20551
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
20514
20552
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -20526,6 +20564,8 @@ export interface PostApiV21ItemsRequest {
20526
20564
  include_inbound_in_published?: boolean;
20527
20565
  /** is the item a bundle? */
20528
20566
  is_bundle?: boolean;
20567
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
20568
+ isbn?: string;
20529
20569
  /** label format */
20530
20570
  label_format?: string;
20531
20571
  /** the item length (in inches) */
@@ -20605,6 +20645,8 @@ export interface PostApiV21ItemsRequest {
20605
20645
  tariff_number?: string;
20606
20646
  /** the item title */
20607
20647
  title?: string;
20648
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
20649
+ upc?: string;
20608
20650
  /**
20609
20651
  * Average number of units expected to sell in a day
20610
20652
  * @format int32
@@ -24558,6 +24600,8 @@ export interface PostApiV2CustomersRequest {
24558
24600
  replenishment_target?: string;
24559
24601
  /** request serial numbers? */
24560
24602
  request_serial_numbers?: boolean;
24603
+ /** Block customer cancellation of batched orders (admins only) */
24604
+ restrict_batched_orders_cancellation?: boolean;
24561
24605
  /** Customer return city. */
24562
24606
  return_city?: string;
24563
24607
  /** Customer return company. */
@@ -24920,7 +24964,7 @@ export interface PostApiV2ItemsRequest {
24920
24964
  customer_id?: number;
24921
24965
  /** the item description */
24922
24966
  description?: string;
24923
- /** the EAN number for the item */
24967
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
24924
24968
  ean?: string;
24925
24969
  /**
24926
24970
  * items that are this many days from expiration will not be allowed to ship
@@ -24929,6 +24973,8 @@ export interface PostApiV2ItemsRequest {
24929
24973
  expiration_period?: number;
24930
24974
  /** Garment on hanger? */
24931
24975
  goh?: boolean;
24976
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
24977
+ gtin?: string;
24932
24978
  /**
24933
24979
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
24934
24980
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -24946,6 +24992,8 @@ export interface PostApiV2ItemsRequest {
24946
24992
  include_inbound_in_published?: boolean;
24947
24993
  /** is the item a bundle? */
24948
24994
  is_bundle?: boolean;
24995
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
24996
+ isbn?: string;
24949
24997
  /** label format */
24950
24998
  label_format?: string;
24951
24999
  /** the item length (in inches) */
@@ -25025,6 +25073,8 @@ export interface PostApiV2ItemsRequest {
25025
25073
  tariff_number?: string;
25026
25074
  /** the item title */
25027
25075
  title?: string;
25076
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
25077
+ upc?: string;
25028
25078
  /**
25029
25079
  * Average number of units expected to sell in a day
25030
25080
  * @format int32
@@ -28673,6 +28723,8 @@ export interface PutApiV21CustomersIdRequest {
28673
28723
  replenishment_target?: string;
28674
28724
  /** request serial numbers? */
28675
28725
  request_serial_numbers?: boolean;
28726
+ /** Block customer cancellation of batched orders (admins only) */
28727
+ restrict_batched_orders_cancellation?: boolean;
28676
28728
  /** Customer return city. */
28677
28729
  return_city?: string;
28678
28730
  /** Customer return company. */
@@ -29043,7 +29095,7 @@ export interface PutApiV21IncidentsIdRequest {
29043
29095
  customer_id?: number;
29044
29096
  /** the item description */
29045
29097
  description?: string;
29046
- /** the EAN number for the item */
29098
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
29047
29099
  ean?: string;
29048
29100
  /**
29049
29101
  * items that are this many days from expiration will not be allowed to ship
@@ -29054,6 +29106,8 @@ export interface PutApiV21IncidentsIdRequest {
29054
29106
  full_description?: string;
29055
29107
  /** Garment on hanger? */
29056
29108
  goh?: boolean;
29109
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
29110
+ gtin?: string;
29057
29111
  /**
29058
29112
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
29059
29113
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -29073,6 +29127,8 @@ export interface PutApiV21IncidentsIdRequest {
29073
29127
  include_inbound_in_published?: boolean;
29074
29128
  /** is the item a bundle? */
29075
29129
  is_bundle?: boolean;
29130
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
29131
+ isbn?: string;
29076
29132
  /** label format */
29077
29133
  label_format?: string;
29078
29134
  /** the item length (in inches) */
@@ -29151,6 +29207,8 @@ export interface PutApiV21IncidentsIdRequest {
29151
29207
  tariff_number?: string;
29152
29208
  /** the item title */
29153
29209
  title?: string;
29210
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
29211
+ upc?: string;
29154
29212
  /**
29155
29213
  * Average number of units expected to sell in a day
29156
29214
  * @format int32
@@ -29535,7 +29593,7 @@ export interface PutApiV21ItemsIdRequest {
29535
29593
  customer_id?: number;
29536
29594
  /** the item description */
29537
29595
  description?: string;
29538
- /** the EAN number for the item */
29596
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
29539
29597
  ean?: string;
29540
29598
  /**
29541
29599
  * items that are this many days from expiration will not be allowed to ship
@@ -29544,6 +29602,8 @@ export interface PutApiV21ItemsIdRequest {
29544
29602
  expiration_period?: number;
29545
29603
  /** Garment on hanger? */
29546
29604
  goh?: boolean;
29605
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
29606
+ gtin?: string;
29547
29607
  /**
29548
29608
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
29549
29609
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -29561,6 +29621,8 @@ export interface PutApiV21ItemsIdRequest {
29561
29621
  include_inbound_in_published?: boolean;
29562
29622
  /** is the item a bundle? */
29563
29623
  is_bundle?: boolean;
29624
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
29625
+ isbn?: string;
29564
29626
  /** label format */
29565
29627
  label_format?: string;
29566
29628
  /** the item length (in inches) */
@@ -29627,6 +29689,8 @@ export interface PutApiV21ItemsIdRequest {
29627
29689
  tariff_number?: string;
29628
29690
  /** the item title */
29629
29691
  title?: string;
29692
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
29693
+ upc?: string;
29630
29694
  /**
29631
29695
  * Average number of units expected to sell in a day
29632
29696
  * @format int32
@@ -32998,6 +33062,8 @@ export interface PutApiV2CustomersIdRequest {
32998
33062
  replenishment_target?: string;
32999
33063
  /** request serial numbers? */
33000
33064
  request_serial_numbers?: boolean;
33065
+ /** Block customer cancellation of batched orders (admins only) */
33066
+ restrict_batched_orders_cancellation?: boolean;
33001
33067
  /** Customer return city. */
33002
33068
  return_city?: string;
33003
33069
  /** Customer return company. */
@@ -33368,7 +33434,7 @@ export interface PutApiV2IncidentsIdRequest {
33368
33434
  customer_id?: number;
33369
33435
  /** the item description */
33370
33436
  description?: string;
33371
- /** the EAN number for the item */
33437
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
33372
33438
  ean?: string;
33373
33439
  /**
33374
33440
  * items that are this many days from expiration will not be allowed to ship
@@ -33379,6 +33445,8 @@ export interface PutApiV2IncidentsIdRequest {
33379
33445
  full_description?: string;
33380
33446
  /** Garment on hanger? */
33381
33447
  goh?: boolean;
33448
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
33449
+ gtin?: string;
33382
33450
  /**
33383
33451
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
33384
33452
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -33398,6 +33466,8 @@ export interface PutApiV2IncidentsIdRequest {
33398
33466
  include_inbound_in_published?: boolean;
33399
33467
  /** is the item a bundle? */
33400
33468
  is_bundle?: boolean;
33469
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
33470
+ isbn?: string;
33401
33471
  /** label format */
33402
33472
  label_format?: string;
33403
33473
  /** the item length (in inches) */
@@ -33476,6 +33546,8 @@ export interface PutApiV2IncidentsIdRequest {
33476
33546
  tariff_number?: string;
33477
33547
  /** the item title */
33478
33548
  title?: string;
33549
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
33550
+ upc?: string;
33479
33551
  /**
33480
33552
  * Average number of units expected to sell in a day
33481
33553
  * @format int32
@@ -33860,7 +33932,7 @@ export interface PutApiV2ItemsIdRequest {
33860
33932
  customer_id?: number;
33861
33933
  /** the item description */
33862
33934
  description?: string;
33863
- /** the EAN number for the item */
33935
+ /** the EAN barcode for the item (8 or 13 digits; spaces/hyphens ignored) */
33864
33936
  ean?: string;
33865
33937
  /**
33866
33938
  * items that are this many days from expiration will not be allowed to ship
@@ -33869,6 +33941,8 @@ export interface PutApiV2ItemsIdRequest {
33869
33941
  expiration_period?: number;
33870
33942
  /** Garment on hanger? */
33871
33943
  goh?: boolean;
33944
+ /** the GTIN barcode for the item (8, 12, 13, or 14 digits; spaces/hyphens ignored) */
33945
+ gtin?: string;
33872
33946
  /**
33873
33947
  * hazmat true/false flag in the UI is derived from the hazmat_type when only the type is provided\
33874
33948
  * error results when the hazmat flag set to false with a hazmat_type\
@@ -33886,6 +33960,8 @@ export interface PutApiV2ItemsIdRequest {
33886
33960
  include_inbound_in_published?: boolean;
33887
33961
  /** is the item a bundle? */
33888
33962
  is_bundle?: boolean;
33963
+ /** the ISBN for the item (10 digits, last may be X, or 13 digits; spaces/hyphens ignored) */
33964
+ isbn?: string;
33889
33965
  /** label format */
33890
33966
  label_format?: string;
33891
33967
  /** the item length (in inches) */
@@ -33952,6 +34028,8 @@ export interface PutApiV2ItemsIdRequest {
33952
34028
  tariff_number?: string;
33953
34029
  /** the item title */
33954
34030
  title?: string;
34031
+ /** the UPC barcode for the item (12 digits; spaces/hyphens ignored) */
34032
+ upc?: string;
33955
34033
  /**
33956
34034
  * Average number of units expected to sell in a day
33957
34035
  * @format int32