@whiplashmerch/whiplash-api-client 3.1.13 → 3.2.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.
@@ -71,11 +71,8 @@ export interface ApiV2EntitiesBundleItem {
71
71
 
72
72
  /** V2 */
73
73
  export interface ApiV2EntitiesConsumerReturn {
74
- /**
75
- * 3rd party cost for the consumer return
76
- * @format float
77
- */
78
- ship_3rdparty_cost?: number | null;
74
+ /** 3rd party cost for the consumer return */
75
+ ship_3rdparty_cost?: string | null;
79
76
  /**
80
77
  * the consumer return arrival date and time
81
78
  * @format date-time
@@ -153,11 +150,8 @@ export interface ApiV2EntitiesConsumerReturn {
153
150
  return_items?: ApiV2EntitiesReturnItem[];
154
151
  /** the consumer return sender */
155
152
  sender?: string | null;
156
- /**
157
- * the consumer return actual cost of shipping
158
- * @format float
159
- */
160
- ship_actual_cost?: number | null;
153
+ /** the consumer return actual cost of shipping */
154
+ ship_actual_cost?: string | null;
161
155
  /** currency used for this consumer return */
162
156
  ship_actual_currency?: string | null;
163
157
  /** url of the shipping label */
@@ -398,16 +392,10 @@ export interface ApiV2EntitiesCustomer {
398
392
  primary_contact?: string;
399
393
  project_task_labels?: string[];
400
394
  receiving_fields?: object[];
401
- /**
402
- * Minimum number of days worth of stock to keep in forward pick locations
403
- * @format float
404
- */
405
- replenishment_min?: number | null;
406
- /**
407
- * Target number of days stock to replenish forward pick locations
408
- * @format float
409
- */
410
- replenishment_target?: number | null;
395
+ /** Minimum number of days worth of stock to keep in forward pick locations */
396
+ replenishment_min?: string | null;
397
+ /** Target number of days stock to replenish forward pick locations */
398
+ replenishment_target?: string | null;
411
399
  /** request serial numbers? */
412
400
  request_serial_numbers?: boolean | null;
413
401
  /** Customer return city. */
@@ -621,16 +609,10 @@ export interface ApiV2EntitiesCustomerShallow {
621
609
  primary_contact?: string;
622
610
  project_task_labels?: string[];
623
611
  receiving_fields?: object[];
624
- /**
625
- * Minimum number of days worth of stock to keep in forward pick locations
626
- * @format float
627
- */
628
- replenishment_min?: number;
629
- /**
630
- * Target number of days stock to replenish forward pick locations
631
- * @format float
632
- */
633
- replenishment_target?: number;
612
+ /** Minimum number of days worth of stock to keep in forward pick locations */
613
+ replenishment_min?: string;
614
+ /** Target number of days stock to replenish forward pick locations */
615
+ replenishment_target?: string;
634
616
  /** request serial numbers? */
635
617
  request_serial_numbers?: boolean;
636
618
  /** Customer return city. */
@@ -850,11 +832,8 @@ export interface ApiV2EntitiesItem {
850
832
  hazmat?: boolean;
851
833
  /** hazmat class */
852
834
  hazmat_type?: ApiV2EntitiesItemHazmatType;
853
- /**
854
- * the item height (in inches)
855
- * @format float
856
- */
857
- height?: number | null;
835
+ /** the item height (in inches) */
836
+ height?: string | null;
858
837
  /**
859
838
  * the item id
860
839
  * @format int32
@@ -870,11 +849,8 @@ export interface ApiV2EntitiesItem {
870
849
  is_bundle?: boolean | null;
871
850
  /** label format */
872
851
  label_format?: ApiV2EntitiesItemLabelFormat;
873
- /**
874
- * the item length (in inches)
875
- * @format float
876
- */
877
- length?: number | null;
852
+ /** the item length (in inches) */
853
+ length?: string | null;
878
854
  /** does this item require lot control? */
879
855
  lot_control?: boolean | null;
880
856
  /**
@@ -903,11 +879,8 @@ export interface ApiV2EntitiesItem {
903
879
  packaging?: boolean | null;
904
880
  /** the item packaging type */
905
881
  packaging_type?: ApiV2EntitiesItemPackagingType;
906
- /**
907
- * the item price
908
- * @format float
909
- */
910
- price?: number | null;
882
+ /** the item price */
883
+ price?: string | null;
911
884
  /** is the item a promo? */
912
885
  promo?: boolean | null;
913
886
  /**
@@ -920,16 +893,10 @@ export interface ApiV2EntitiesItem {
920
893
  * @format int32
921
894
  */
922
895
  quantity?: number;
923
- /**
924
- * Minimum number of days worth of stock to keep in forward pick locations
925
- * @format float
926
- */
927
- replenishment_min?: number | null;
928
- /**
929
- * Target number of days stock to replenish forward pick locations
930
- * @format float
931
- */
932
- replenishment_target?: number | null;
896
+ /** Minimum number of days worth of stock to keep in forward pick locations */
897
+ replenishment_min?: string | null;
898
+ /** Target number of days stock to replenish forward pick locations */
899
+ replenishment_target?: string | null;
933
900
  /** does the item require a serial number when shipping? */
934
901
  request_serial_number?: boolean | null;
935
902
  /** is the item return price restricted? */
@@ -970,21 +937,12 @@ export interface ApiV2EntitiesItem {
970
937
  velocity?: number | null;
971
938
  /** the item vendor */
972
939
  vendor?: string | null;
973
- /**
974
- * the weight of the item (in pounds)
975
- * @format float
976
- */
977
- weight?: number | null;
978
- /**
979
- * the wholesale cost of the item
980
- * @format float
981
- */
982
- wholesale_cost?: number | null;
983
- /**
984
- * the item width (in inches)
985
- * @format float
986
- */
987
- width?: number | null;
940
+ /** the weight of the item (in pounds) */
941
+ weight?: string | null;
942
+ /** the wholesale cost of the item */
943
+ wholesale_cost?: string | null;
944
+ /** the item width (in inches) */
945
+ width?: string | null;
988
946
  }
989
947
 
990
948
  /** V2 */
@@ -1038,11 +996,8 @@ export interface ApiV2EntitiesItemWarehouseQuantity {
1038
996
  accepting_new_customers?: boolean;
1039
997
  /** Is the Warehouse active? (partners only) */
1040
998
  active?: boolean;
1041
- /**
1042
- * Maximum cubic volume per bin (staff only)
1043
- * @format float
1044
- */
1045
- bin_cubic_volume_max?: number;
999
+ /** Maximum cubic volume per bin (staff only) */
1000
+ bin_cubic_volume_max?: string;
1046
1001
  /**
1047
1002
  * Maximum total items per bin (staff only)
1048
1003
  * @format int32
@@ -1078,21 +1033,15 @@ export interface ApiV2EntitiesItemWarehouseQuantity {
1078
1033
  international_return_labels?: boolean;
1079
1034
  /** Warehouse label format (partners only) */
1080
1035
  label_format?: string;
1081
- /**
1082
- * Warehouse latitude
1083
- * @format float
1084
- */
1085
- latitude?: number;
1036
+ /** Warehouse latitude */
1037
+ latitude?: string;
1086
1038
  /**
1087
1039
  * Loading Dock Quantity (partners only)
1088
1040
  * @format int32
1089
1041
  */
1090
1042
  loading_dock_quantity?: number;
1091
- /**
1092
- * Warehouse longitude
1093
- * @format float
1094
- */
1095
- longitude?: number;
1043
+ /** Warehouse longitude */
1044
+ longitude?: string;
1096
1045
  /** the warehouse name */
1097
1046
  name?: string;
1098
1047
  /** Miscellaneous notes/info (partners only) */
@@ -1165,11 +1114,8 @@ export interface ApiV2EntitiesItemWarehouseQuantity {
1165
1114
  ups_carrier_facility?: string;
1166
1115
  /** Warehouse UPS shipping number (partners only) */
1167
1116
  ups_shipper_number?: string;
1168
- /**
1169
- * Warehouse VAT number (partners only)
1170
- * @format float
1171
- */
1172
- vat?: number;
1117
+ /** Warehouse VAT number (partners only) */
1118
+ vat?: string;
1173
1119
  warehouse_features?: ApiV2EntitiesWarehouseFeature[];
1174
1120
  }
1175
1121
 
@@ -1326,11 +1272,8 @@ export interface ApiV2EntitiesOrder {
1326
1272
  return_address_2?: string | null;
1327
1273
  /** the order third party shipping account */
1328
1274
  ship_3rdparty_account?: string | null;
1329
- /**
1330
- * the order third party shipping cost
1331
- * @format float
1332
- */
1333
- ship_3rdparty_cost?: number;
1275
+ /** the order third party shipping cost */
1276
+ ship_3rdparty_cost?: string;
1334
1277
  /** the order third party shipping country */
1335
1278
  ship_3rdparty_country?: string | null;
1336
1279
  /** the order third party shipping zip */
@@ -1494,11 +1437,8 @@ export interface ApiV2EntitiesOrder {
1494
1437
  * @format int32
1495
1438
  */
1496
1439
  quote_id?: number | null;
1497
- /**
1498
- * the order requested insurance value
1499
- * @format float
1500
- */
1501
- req_insurance_value?: number | null;
1440
+ /** the order requested insurance value */
1441
+ req_insurance_value?: string | null;
1502
1442
  /** the order requested address */
1503
1443
  requested_address?: string | null;
1504
1444
  /** does the order require an adult signature upon delivery? */
@@ -1540,11 +1480,8 @@ export interface ApiV2EntitiesOrder {
1540
1480
  /** the orders Standard Carrier Alpha Code number */
1541
1481
  scac?: string | null;
1542
1482
  serial_numbers?: ApiV2EntitiesSerialNumber[];
1543
- /**
1544
- * the order actual cost of shipping
1545
- * @format float
1546
- */
1547
- ship_actual_cost?: number | null;
1483
+ /** the order actual cost of shipping */
1484
+ ship_actual_cost?: string | null;
1548
1485
  /** the order ship method */
1549
1486
  ship_method?: string;
1550
1487
  /** the order ship notes */
@@ -1586,11 +1523,8 @@ export interface ApiV2EntitiesOrder {
1586
1523
  shop_created_at?: string | null;
1587
1524
  /** the order shop shipping method currency */
1588
1525
  shop_shipping_method_currency?: string | null;
1589
- /**
1590
- * the order shop shipping method price
1591
- * @format float
1592
- */
1593
- shop_shipping_method_price?: number | null;
1526
+ /** the order shop shipping method price */
1527
+ shop_shipping_method_price?: string | null;
1594
1528
  /**
1595
1529
  * the order shop shipping method text
1596
1530
  * ge_standard = order uses global-e standard shipping method
@@ -1758,11 +1692,8 @@ export interface ApiV2EntitiesOrderItem {
1758
1692
  * @format int32
1759
1693
  */
1760
1694
  packed?: number | null;
1761
- /**
1762
- * price of this item
1763
- * @format float
1764
- */
1765
- price?: number | null;
1695
+ /** price of this item */
1696
+ price?: string | null;
1766
1697
  /** is this item a promo? */
1767
1698
  promo?: boolean | null;
1768
1699
  /**
@@ -1777,11 +1708,8 @@ export interface ApiV2EntitiesOrderItem {
1777
1708
  quote_item_id?: number | null;
1778
1709
  /** does the item require a serial number when shipping? */
1779
1710
  request_serial_number?: boolean | null;
1780
- /**
1781
- * retail fee of this item
1782
- * @format float
1783
- */
1784
- retail_fee?: number | null;
1711
+ /** retail fee of this item */
1712
+ retail_fee?: string | null;
1785
1713
  /** is this item returnable? */
1786
1714
  returnable?: boolean | null;
1787
1715
  /** the SKU of this item */
@@ -1793,16 +1721,10 @@ export interface ApiV2EntitiesOrderItem {
1793
1721
  * @format date-time
1794
1722
  */
1795
1723
  updated_at?: string | null;
1796
- /**
1797
- * wholesale cost of the item
1798
- * @format float
1799
- */
1800
- wholesale_cost?: number | null;
1801
- /**
1802
- * wholesale fee of this item
1803
- * @format float
1804
- */
1805
- wholesale_fee?: number | null;
1724
+ /** wholesale cost of the item */
1725
+ wholesale_cost?: string | null;
1726
+ /** wholesale fee of this item */
1727
+ wholesale_fee?: string | null;
1806
1728
  wholesale_item?: ApiV2EntitiesWholesaleItem;
1807
1729
  }
1808
1730
 
@@ -1879,31 +1801,16 @@ export interface ApiV2EntitiesPackage {
1879
1801
  barcode_sscc18?: string | null;
1880
1802
  /** the UCC128 carton label for the package */
1881
1803
  ucc128?: string | null;
1882
- /**
1883
- * the package dimensional weight (in ounces)
1884
- * @format float
1885
- */
1886
- actual_dimensional_weight?: number | null;
1887
- /**
1888
- * the package height (in inches)
1889
- * @format float
1890
- */
1891
- actual_height?: number | null;
1892
- /**
1893
- * the package length (in inches)
1894
- * @format float
1895
- */
1896
- actual_length?: number | null;
1897
- /**
1898
- * the package weight (in ounces)
1899
- * @format float
1900
- */
1901
- actual_weight?: number | null;
1902
- /**
1903
- * the package width (in inches)
1904
- * @format float
1905
- */
1906
- actual_width?: number | null;
1804
+ /** the package dimensional weight (in ounces) */
1805
+ actual_dimensional_weight?: string | null;
1806
+ /** the package height (in inches) */
1807
+ actual_height?: string | null;
1808
+ /** the package length (in inches) */
1809
+ actual_length?: string | null;
1810
+ /** the package weight (in ounces) */
1811
+ actual_weight?: string | null;
1812
+ /** the package width (in inches) */
1813
+ actual_width?: string | null;
1907
1814
  /**
1908
1815
  * the package batch id (staff only)
1909
1816
  * @format int32
@@ -1947,11 +1854,8 @@ export interface ApiV2EntitiesPackage {
1947
1854
  * @format date-time
1948
1855
  */
1949
1856
  scanned_to_pallet_at?: string | null;
1950
- /**
1951
- * the package shipping cost
1952
- * @format float
1953
- */
1954
- ship_actual_cost?: number | null;
1857
+ /** the package shipping cost */
1858
+ ship_actual_cost?: string | null;
1955
1859
  /** currency used for this package */
1956
1860
  ship_actual_currency?: string | null;
1957
1861
  /**
@@ -1991,11 +1895,8 @@ export interface ApiV2EntitiesPackage {
1991
1895
 
1992
1896
  /** V2 */
1993
1897
  export interface ApiV2EntitiesProjectTask {
1994
- /**
1995
- * cost per unit, if task has custom label
1996
- * @format float
1997
- */
1998
- cost_per_unit?: number | null;
1898
+ /** cost per unit, if task has custom label */
1899
+ cost_per_unit?: string | null;
1999
1900
  /**
2000
1901
  * project_task created_at
2001
1902
  * @format date-time
@@ -2017,11 +1918,8 @@ export interface ApiV2EntitiesProjectTask {
2017
1918
  * @format int32
2018
1919
  */
2019
1920
  project_id?: number;
2020
- /**
2021
- * quantity of units
2022
- * @format float
2023
- */
2024
- quantity?: number;
1921
+ /** quantity of units */
1922
+ quantity?: string;
2025
1923
  /**
2026
1924
  * project_task updated_at
2027
1925
  * @format date-time
@@ -2165,11 +2063,8 @@ export interface ApiV2EntitiesSerialNumber {
2165
2063
 
2166
2064
  /** V2 */
2167
2065
  export interface ApiV2EntitiesShipnotice {
2168
- /**
2169
- * 3rd party cost for the shipnotice
2170
- * @format float
2171
- */
2172
- ship_3rdparty_cost?: number | null;
2066
+ /** 3rd party cost for the shipnotice */
2067
+ ship_3rdparty_cost?: string | null;
2173
2068
  /**
2174
2069
  * the shipnotice arrival date and time
2175
2070
  * @format date-time
@@ -2260,11 +2155,8 @@ export interface ApiV2EntitiesShipnotice {
2260
2155
  requires_label?: boolean | null;
2261
2156
  /** the shipnotice sender */
2262
2157
  sender?: string | null;
2263
- /**
2264
- * the shipnotice actual cost of shipping
2265
- * @format float
2266
- */
2267
- ship_actual_cost?: number | null;
2158
+ /** the shipnotice actual cost of shipping */
2159
+ ship_actual_cost?: string | null;
2268
2160
  /** currency used for this shipnotice */
2269
2161
  ship_actual_currency?: string | null;
2270
2162
  /**
@@ -2406,11 +2298,8 @@ export interface ApiV2EntitiesShipnoticeItem {
2406
2298
  * @format int32
2407
2299
  */
2408
2300
  unallocated?: number;
2409
- /**
2410
- * unit cost for this shipnotice item
2411
- * @format float
2412
- */
2413
- unit_cost?: number | null;
2301
+ /** unit cost for this shipnotice item */
2302
+ unit_cost?: string | null;
2414
2303
  /**
2415
2304
  * the shipnotice item last update date and time
2416
2305
  * @format date-time
@@ -2423,6 +2312,51 @@ export interface ApiV2EntitiesShipnoticeItem {
2423
2312
  warehouse_id?: number;
2424
2313
  }
2425
2314
 
2315
+ /** V2 */
2316
+ export interface ApiV2EntitiesShippingDocument {
2317
+ /**
2318
+ * the document creation date and time
2319
+ * @format date-time
2320
+ */
2321
+ created_at?: string;
2322
+ /** document format (e.g. PDF, PNG) */
2323
+ document_format?: string;
2324
+ /** whether the document was electronically submitted to customs */
2325
+ electronically_submitted?: boolean;
2326
+ /**
2327
+ * the shipping document id
2328
+ * @format int32
2329
+ */
2330
+ id?: number;
2331
+ /** label provider name (e.g. easypost, shipium) */
2332
+ label_provider?: string | null;
2333
+ /**
2334
+ * the associated order id
2335
+ * @format int32
2336
+ */
2337
+ order_id?: number;
2338
+ /**
2339
+ * the owner id (Package or Order id)
2340
+ * @format int32
2341
+ */
2342
+ owner_id?: number;
2343
+ /** the owner type (Package or Order) */
2344
+ owner_type?: string;
2345
+ /** type of document from provider (e.g. commercial_invoice, label) */
2346
+ provider_document_type?: string | null;
2347
+ /** the raw carrier-provided document url (staff only) */
2348
+ provider_url?: string | null;
2349
+ /** the pre-signed or resolved document url */
2350
+ resolved_url?: string;
2351
+ /**
2352
+ * the document last updated date and time
2353
+ * @format date-time
2354
+ */
2355
+ updated_at?: string;
2356
+ /** the internal document file url (S3 or CDN path) (staff only) */
2357
+ url?: string;
2358
+ }
2359
+
2426
2360
  /** V2 */
2427
2361
  export interface ApiV2EntitiesShippingMethod {
2428
2362
  /** is the shipping method active? */
@@ -2680,11 +2614,8 @@ export interface ApiV2EntitiesWarehouse {
2680
2614
  accepting_new_customers?: boolean | null;
2681
2615
  /** Is the Warehouse active? (partners only) */
2682
2616
  active?: boolean | null;
2683
- /**
2684
- * Maximum cubic volume per bin (staff only)
2685
- * @format float
2686
- */
2687
- bin_cubic_volume_max?: number | null;
2617
+ /** Maximum cubic volume per bin (staff only) */
2618
+ bin_cubic_volume_max?: string | null;
2688
2619
  /**
2689
2620
  * Maximum total items per bin (staff only)
2690
2621
  * @format int32
@@ -2720,21 +2651,15 @@ export interface ApiV2EntitiesWarehouse {
2720
2651
  international_return_labels?: boolean | null;
2721
2652
  /** Warehouse label format (partners only) */
2722
2653
  label_format?: string | null;
2723
- /**
2724
- * Warehouse latitude
2725
- * @format float
2726
- */
2727
- latitude?: number | null;
2654
+ /** Warehouse latitude */
2655
+ latitude?: string | null;
2728
2656
  /**
2729
2657
  * Loading Dock Quantity (partners only)
2730
2658
  * @format int32
2731
2659
  */
2732
2660
  loading_dock_quantity?: number | null;
2733
- /**
2734
- * Warehouse longitude
2735
- * @format float
2736
- */
2737
- longitude?: number | null;
2661
+ /** Warehouse longitude */
2662
+ longitude?: string | null;
2738
2663
  /** the warehouse name */
2739
2664
  name?: string | null;
2740
2665
  /** Miscellaneous notes/info (partners only) */
@@ -2792,11 +2717,8 @@ export interface ApiV2EntitiesWarehouse {
2792
2717
  ups_carrier_facility?: string | null;
2793
2718
  /** Warehouse UPS shipping number (partners only) */
2794
2719
  ups_shipper_number?: string | null;
2795
- /**
2796
- * Warehouse VAT number (partners only)
2797
- * @format float
2798
- */
2799
- vat?: number | null;
2720
+ /** Warehouse VAT number (partners only) */
2721
+ vat?: string | null;
2800
2722
  warehouse_features?: ApiV2EntitiesWarehouseFeature[];
2801
2723
  }
2802
2724
 
@@ -2836,11 +2758,8 @@ export interface ApiV2EntitiesWarehouseShallow {
2836
2758
  accepting_new_customers?: boolean;
2837
2759
  /** Is the Warehouse active? (partners only) */
2838
2760
  active?: boolean;
2839
- /**
2840
- * Maximum cubic volume per bin (staff only)
2841
- * @format float
2842
- */
2843
- bin_cubic_volume_max?: number;
2761
+ /** Maximum cubic volume per bin (staff only) */
2762
+ bin_cubic_volume_max?: string;
2844
2763
  /**
2845
2764
  * Maximum total items per bin (staff only)
2846
2765
  * @format int32
@@ -2876,21 +2795,15 @@ export interface ApiV2EntitiesWarehouseShallow {
2876
2795
  international_return_labels?: boolean;
2877
2796
  /** Warehouse label format (partners only) */
2878
2797
  label_format?: string;
2879
- /**
2880
- * Warehouse latitude
2881
- * @format float
2882
- */
2883
- latitude?: number;
2798
+ /** Warehouse latitude */
2799
+ latitude?: string;
2884
2800
  /**
2885
2801
  * Loading Dock Quantity (partners only)
2886
2802
  * @format int32
2887
2803
  */
2888
2804
  loading_dock_quantity?: number;
2889
- /**
2890
- * Warehouse longitude
2891
- * @format float
2892
- */
2893
- longitude?: number;
2805
+ /** Warehouse longitude */
2806
+ longitude?: string;
2894
2807
  /** the warehouse name */
2895
2808
  name?: string;
2896
2809
  /** Miscellaneous notes/info (partners only) */
@@ -2950,11 +2863,8 @@ export interface ApiV2EntitiesWarehouseShallow {
2950
2863
  ups_carrier_facility?: string;
2951
2864
  /** Warehouse UPS shipping number (partners only) */
2952
2865
  ups_shipper_number?: string;
2953
- /**
2954
- * Warehouse VAT number (partners only)
2955
- * @format float
2956
- */
2957
- vat?: number;
2866
+ /** Warehouse VAT number (partners only) */
2867
+ vat?: string;
2958
2868
  warehouse_features?: ApiV2EntitiesWarehouseFeature[];
2959
2869
  }
2960
2870
 
@@ -3152,11 +3062,8 @@ export interface ApiV21EntitiesBundleItem {
3152
3062
 
3153
3063
  /** V3 */
3154
3064
  export interface ApiV21EntitiesConsumerReturn {
3155
- /**
3156
- * 3rd party cost for the consumer return
3157
- * @format float
3158
- */
3159
- ship_3rdparty_cost?: number | null;
3065
+ /** 3rd party cost for the consumer return */
3066
+ ship_3rdparty_cost?: string | null;
3160
3067
  /**
3161
3068
  * the consumer return arrival date and time
3162
3069
  * @format date-time
@@ -3230,11 +3137,8 @@ export interface ApiV21EntitiesConsumerReturn {
3230
3137
  requires_label?: boolean | null;
3231
3138
  /** the consumer return sender */
3232
3139
  sender?: string | null;
3233
- /**
3234
- * the consumer return actual cost of shipping
3235
- * @format float
3236
- */
3237
- ship_actual_cost?: number | null;
3140
+ /** the consumer return actual cost of shipping */
3141
+ ship_actual_cost?: string | null;
3238
3142
  /** currency used for this consumer return */
3239
3143
  ship_actual_currency?: string | null;
3240
3144
  /** url of the shipping label */
@@ -3433,16 +3337,10 @@ export interface ApiV21EntitiesCustomer {
3433
3337
  primary_contact?: string;
3434
3338
  project_task_labels?: string[];
3435
3339
  receiving_fields?: object[];
3436
- /**
3437
- * Minimum number of days worth of stock to keep in forward pick locations
3438
- * @format float
3439
- */
3440
- replenishment_min?: number | null;
3441
- /**
3442
- * Target number of days stock to replenish forward pick locations
3443
- * @format float
3444
- */
3445
- replenishment_target?: number | null;
3340
+ /** Minimum number of days worth of stock to keep in forward pick locations */
3341
+ replenishment_min?: string | null;
3342
+ /** Target number of days stock to replenish forward pick locations */
3343
+ replenishment_target?: string | null;
3446
3344
  /** request serial numbers? */
3447
3345
  request_serial_numbers?: boolean | null;
3448
3346
  /** Customer return city. */
@@ -3649,11 +3547,8 @@ export interface ApiV21EntitiesItem {
3649
3547
  hazmat?: boolean;
3650
3548
  /** hazmat class */
3651
3549
  hazmat_type?: ApiV21EntitiesItemHazmatType;
3652
- /**
3653
- * the item height (in inches)
3654
- * @format float
3655
- */
3656
- height?: number | null;
3550
+ /** the item height (in inches) */
3551
+ height?: string | null;
3657
3552
  /**
3658
3553
  * the item id
3659
3554
  * @format int32
@@ -3669,11 +3564,8 @@ export interface ApiV21EntitiesItem {
3669
3564
  is_bundle?: boolean | null;
3670
3565
  /** label format */
3671
3566
  label_format?: ApiV21EntitiesItemLabelFormat;
3672
- /**
3673
- * the item length (in inches)
3674
- * @format float
3675
- */
3676
- length?: number | null;
3567
+ /** the item length (in inches) */
3568
+ length?: string | null;
3677
3569
  /** does this item require lot control? */
3678
3570
  lot_control?: boolean | null;
3679
3571
  /**
@@ -3702,11 +3594,8 @@ export interface ApiV21EntitiesItem {
3702
3594
  packaging?: boolean | null;
3703
3595
  /** the item packaging type */
3704
3596
  packaging_type?: ApiV21EntitiesItemPackagingType;
3705
- /**
3706
- * the item price
3707
- * @format float
3708
- */
3709
- price?: number | null;
3597
+ /** the item price */
3598
+ price?: string | null;
3710
3599
  /** is the item a promo? */
3711
3600
  promo?: boolean | null;
3712
3601
  /**
@@ -3734,16 +3623,10 @@ export interface ApiV21EntitiesItem {
3734
3623
  * @format int32
3735
3624
  */
3736
3625
  quantity_published?: number;
3737
- /**
3738
- * Minimum number of days worth of stock to keep in forward pick locations
3739
- * @format float
3740
- */
3741
- replenishment_min?: number | null;
3742
- /**
3743
- * Target number of days stock to replenish forward pick locations
3744
- * @format float
3745
- */
3746
- replenishment_target?: number | null;
3626
+ /** Minimum number of days worth of stock to keep in forward pick locations */
3627
+ replenishment_min?: string | null;
3628
+ /** Target number of days stock to replenish forward pick locations */
3629
+ replenishment_target?: string | null;
3747
3630
  /** does the item require a serial number when shipping? */
3748
3631
  request_serial_number?: boolean | null;
3749
3632
  /** is the item return price restricted? */
@@ -3784,21 +3667,12 @@ export interface ApiV21EntitiesItem {
3784
3667
  velocity?: number | null;
3785
3668
  /** the item vendor */
3786
3669
  vendor?: string | null;
3787
- /**
3788
- * the weight of the item (in pounds)
3789
- * @format float
3790
- */
3791
- weight?: number | null;
3792
- /**
3793
- * the wholesale cost of the item
3794
- * @format float
3795
- */
3796
- wholesale_cost?: number | null;
3797
- /**
3798
- * the item width (in inches)
3799
- * @format float
3800
- */
3801
- width?: number | null;
3670
+ /** the weight of the item (in pounds) */
3671
+ weight?: string | null;
3672
+ /** the wholesale cost of the item */
3673
+ wholesale_cost?: string | null;
3674
+ /** the item width (in inches) */
3675
+ width?: string | null;
3802
3676
  }
3803
3677
 
3804
3678
  /** V3 */
@@ -3980,11 +3854,8 @@ export interface ApiV21EntitiesOrder {
3980
3854
  return_address_2?: string | null;
3981
3855
  /** the order third party shipping account */
3982
3856
  ship_3rdparty_account?: string | null;
3983
- /**
3984
- * the order third party shipping cost
3985
- * @format float
3986
- */
3987
- ship_3rdparty_cost?: number;
3857
+ /** the order third party shipping cost */
3858
+ ship_3rdparty_cost?: string;
3988
3859
  /** the order third party shipping country */
3989
3860
  ship_3rdparty_country?: string | null;
3990
3861
  /** the order third party shipping zip */
@@ -4155,11 +4026,8 @@ export interface ApiV21EntitiesOrder {
4155
4026
  * @format int32
4156
4027
  */
4157
4028
  quote_id?: number | null;
4158
- /**
4159
- * the order requested insurance value
4160
- * @format float
4161
- */
4162
- req_insurance_value?: number | null;
4029
+ /** the order requested insurance value */
4030
+ req_insurance_value?: string | null;
4163
4031
  /** the order requested address */
4164
4032
  requested_address?: string | null;
4165
4033
  /** does the order require an adult signature upon delivery? */
@@ -4200,11 +4068,8 @@ export interface ApiV21EntitiesOrder {
4200
4068
  saturday_delivery?: boolean | null;
4201
4069
  /** the order scac number */
4202
4070
  scac?: string | null;
4203
- /**
4204
- * the order actual cost of shipping
4205
- * @format float
4206
- */
4207
- ship_actual_cost?: number | null;
4071
+ /** the order actual cost of shipping */
4072
+ ship_actual_cost?: string | null;
4208
4073
  /** the order ship notes */
4209
4074
  ship_notes?: string | null;
4210
4075
  /**
@@ -4247,11 +4112,8 @@ export interface ApiV21EntitiesOrder {
4247
4112
  shop_created_at?: string | null;
4248
4113
  /** the order shop shipping method currency */
4249
4114
  shop_shipping_method_currency?: string | null;
4250
- /**
4251
- * the order shop shipping method price
4252
- * @format float
4253
- */
4254
- shop_shipping_method_price?: number | null;
4115
+ /** the order shop shipping method price */
4116
+ shop_shipping_method_price?: string | null;
4255
4117
  /**
4256
4118
  * the order shop shipping method text
4257
4119
  * ge_standard = order uses global-e standard shipping method
@@ -4413,11 +4275,8 @@ export interface ApiV21EntitiesOrderItem {
4413
4275
  * @format int32
4414
4276
  */
4415
4277
  packed?: number | null;
4416
- /**
4417
- * price of this item
4418
- * @format float
4419
- */
4420
- price?: number | null;
4278
+ /** price of this item */
4279
+ price?: string | null;
4421
4280
  /** is this item a promo? */
4422
4281
  promo?: boolean | null;
4423
4282
  /**
@@ -4432,11 +4291,8 @@ export interface ApiV21EntitiesOrderItem {
4432
4291
  quote_item_id?: number | null;
4433
4292
  /** does the item require a serial number when shipping? */
4434
4293
  request_serial_number?: boolean | null;
4435
- /**
4436
- * retail fee of this item
4437
- * @format float
4438
- */
4439
- retail_fee?: number | null;
4294
+ /** retail fee of this item */
4295
+ retail_fee?: string | null;
4440
4296
  /** is this item returnable? */
4441
4297
  returnable?: boolean | null;
4442
4298
  /** the SKU of this item */
@@ -4448,16 +4304,10 @@ export interface ApiV21EntitiesOrderItem {
4448
4304
  * @format date-time
4449
4305
  */
4450
4306
  updated_at?: string | null;
4451
- /**
4452
- * wholesale cost of the item
4453
- * @format float
4454
- */
4455
- wholesale_cost?: number | null;
4456
- /**
4457
- * wholesale fee of this item
4458
- * @format float
4459
- */
4460
- wholesale_fee?: number | null;
4307
+ /** wholesale cost of the item */
4308
+ wholesale_cost?: string | null;
4309
+ /** wholesale fee of this item */
4310
+ wholesale_fee?: string | null;
4461
4311
  wholesale_item?: ApiV21EntitiesWholesaleItem;
4462
4312
  }
4463
4313
 
@@ -4532,11 +4382,8 @@ export interface ApiV21EntitiesPostResponse {
4532
4382
 
4533
4383
  /** V3 */
4534
4384
  export interface ApiV21EntitiesProjectTask {
4535
- /**
4536
- * cost per unit, if task has custom label
4537
- * @format float
4538
- */
4539
- cost_per_unit?: number | null;
4385
+ /** cost per unit, if task has custom label */
4386
+ cost_per_unit?: string | null;
4540
4387
  /**
4541
4388
  * project_task created_at
4542
4389
  * @format date-time
@@ -4558,11 +4405,8 @@ export interface ApiV21EntitiesProjectTask {
4558
4405
  * @format int32
4559
4406
  */
4560
4407
  project_id?: number;
4561
- /**
4562
- * quantity of units
4563
- * @format float
4564
- */
4565
- quantity?: number;
4408
+ /** quantity of units */
4409
+ quantity?: string;
4566
4410
  /**
4567
4411
  * project_task updated_at
4568
4412
  * @format date-time
@@ -4648,11 +4492,8 @@ export interface ApiV21EntitiesSerialNumber {
4648
4492
 
4649
4493
  /** V3 */
4650
4494
  export interface ApiV21EntitiesShipnotice {
4651
- /**
4652
- * 3rd party cost for the shipnotice
4653
- * @format float
4654
- */
4655
- ship_3rdparty_cost?: number | null;
4495
+ /** 3rd party cost for the shipnotice */
4496
+ ship_3rdparty_cost?: string | null;
4656
4497
  /**
4657
4498
  * the shipnotice arrival date and time
4658
4499
  * @format date-time
@@ -4741,11 +4582,8 @@ export interface ApiV21EntitiesShipnotice {
4741
4582
  requires_label?: boolean | null;
4742
4583
  /** the shipnotice sender */
4743
4584
  sender?: string | null;
4744
- /**
4745
- * the shipnotice actual cost of shipping
4746
- * @format float
4747
- */
4748
- ship_actual_cost?: number | null;
4585
+ /** the shipnotice actual cost of shipping */
4586
+ ship_actual_cost?: string | null;
4749
4587
  /** currency used for this shipnotice */
4750
4588
  ship_actual_currency?: string | null;
4751
4589
  /**
@@ -4871,11 +4709,8 @@ export interface ApiV21EntitiesShipnoticeItem {
4871
4709
  * @format int32
4872
4710
  */
4873
4711
  shipnotice_id?: number | null;
4874
- /**
4875
- * unit cost for this shipnotice item
4876
- * @format float
4877
- */
4878
- unit_cost?: number | null;
4712
+ /** unit cost for this shipnotice item */
4713
+ unit_cost?: string | null;
4879
4714
  /**
4880
4715
  * the shipnotice item last update date and time
4881
4716
  * @format date-time
@@ -4883,6 +4718,51 @@ export interface ApiV21EntitiesShipnoticeItem {
4883
4718
  updated_at?: string | null;
4884
4719
  }
4885
4720
 
4721
+ /** V3 */
4722
+ export interface ApiV21EntitiesShippingDocument {
4723
+ /**
4724
+ * the document creation date and time
4725
+ * @format date-time
4726
+ */
4727
+ created_at?: string;
4728
+ /** document format (e.g. PDF, PNG) */
4729
+ document_format?: string;
4730
+ /** whether the document was electronically submitted to customs */
4731
+ electronically_submitted?: boolean;
4732
+ /**
4733
+ * the shipping document id
4734
+ * @format int32
4735
+ */
4736
+ id?: number;
4737
+ /** label provider name (e.g. easypost, shipium) */
4738
+ label_provider?: string | null;
4739
+ /**
4740
+ * the associated order id
4741
+ * @format int32
4742
+ */
4743
+ order_id?: number;
4744
+ /**
4745
+ * the owner id (Package or Order id)
4746
+ * @format int32
4747
+ */
4748
+ owner_id?: number;
4749
+ /** the owner type (Package or Order) */
4750
+ owner_type?: string;
4751
+ /** type of document from provider (e.g. commercial_invoice, label) */
4752
+ provider_document_type?: string | null;
4753
+ /** the raw carrier-provided document url (staff only) */
4754
+ provider_url?: string | null;
4755
+ /** the pre-signed or resolved document url */
4756
+ resolved_url?: string;
4757
+ /**
4758
+ * the document last updated date and time
4759
+ * @format date-time
4760
+ */
4761
+ updated_at?: string;
4762
+ /** the internal document file url (S3 or CDN path) (staff only) */
4763
+ url?: string;
4764
+ }
4765
+
4886
4766
  /** V3 */
4887
4767
  export interface ApiV21EntitiesTemplate {
4888
4768
  /** Content of the template */
@@ -5591,6 +5471,30 @@ export interface GetApiV21OrdersIdOrderItemsParams {
5591
5471
  id: number;
5592
5472
  }
5593
5473
 
5474
+ export interface GetApiV21OrdersIdShippingDocumentsParams {
5475
+ /** JSON search string like {"attribute_eq": "Term"} */
5476
+ search?: string;
5477
+ /** Comma-separated list of fields to include in the response */
5478
+ fields?: string;
5479
+ /** A list of sort options (ex: name asc,created_at desc) */
5480
+ sort?: string;
5481
+ /**
5482
+ * Page of results to fetch
5483
+ * @format int32
5484
+ */
5485
+ page?: number;
5486
+ /**
5487
+ * Number of results to return per page
5488
+ * @format int32
5489
+ */
5490
+ per_page?: number;
5491
+ /** Include total count of results */
5492
+ page_total?: boolean;
5493
+ /** Include prev/next links in response headers */
5494
+ page_links?: boolean;
5495
+ id: number;
5496
+ }
5497
+
5594
5498
  export interface GetApiV21OrdersParams {
5595
5499
  /** JSON search string like {"attribute_eq": "Term"} */
5596
5500
  search?: string;
@@ -5637,6 +5541,30 @@ export interface GetApiV21OriginatorsParams {
5637
5541
  page_links?: boolean;
5638
5542
  }
5639
5543
 
5544
+ export interface GetApiV21PackagesIdShippingDocumentsParams {
5545
+ /** JSON search string like {"attribute_eq": "Term"} */
5546
+ search?: string;
5547
+ /** Comma-separated list of fields to include in the response */
5548
+ fields?: string;
5549
+ /** A list of sort options (ex: name asc,created_at desc) */
5550
+ sort?: string;
5551
+ /**
5552
+ * Page of results to fetch
5553
+ * @format int32
5554
+ */
5555
+ page?: number;
5556
+ /**
5557
+ * Number of results to return per page
5558
+ * @format int32
5559
+ */
5560
+ per_page?: number;
5561
+ /** Include total count of results */
5562
+ page_total?: boolean;
5563
+ /** Include prev/next links in response headers */
5564
+ page_links?: boolean;
5565
+ id: number;
5566
+ }
5567
+
5640
5568
  export interface GetApiV21ProjectsIdProjectTasksParams {
5641
5569
  /** JSON search string like {"attribute_eq": "Term"} */
5642
5570
  search?: string;
@@ -6235,6 +6163,30 @@ export interface GetApiV2OrdersIdOrderItemsParams {
6235
6163
  id: number;
6236
6164
  }
6237
6165
 
6166
+ export interface GetApiV2OrdersIdShippingDocumentsParams {
6167
+ /** JSON search string like {"attribute_eq": "Term"} */
6168
+ search?: string;
6169
+ /** Comma-separated list of fields to include in the response */
6170
+ fields?: string;
6171
+ /** A list of sort options (ex: name asc,created_at desc) */
6172
+ sort?: string;
6173
+ /**
6174
+ * Page of results to fetch
6175
+ * @format int32
6176
+ */
6177
+ page?: number;
6178
+ /**
6179
+ * Number of results to return per page
6180
+ * @format int32
6181
+ */
6182
+ per_page?: number;
6183
+ /** Include total count of results */
6184
+ page_total?: boolean;
6185
+ /** Include prev/next links in response headers */
6186
+ page_links?: boolean;
6187
+ id: number;
6188
+ }
6189
+
6238
6190
  export interface GetApiV2OrdersParams {
6239
6191
  /** JSON search string like {"attribute_eq": "Term"} */
6240
6192
  search?: string;
@@ -6281,6 +6233,30 @@ export interface GetApiV2OriginatorsParams {
6281
6233
  page_links?: boolean;
6282
6234
  }
6283
6235
 
6236
+ export interface GetApiV2PackagesIdShippingDocumentsParams {
6237
+ /** JSON search string like {"attribute_eq": "Term"} */
6238
+ search?: string;
6239
+ /** Comma-separated list of fields to include in the response */
6240
+ fields?: string;
6241
+ /** A list of sort options (ex: name asc,created_at desc) */
6242
+ sort?: string;
6243
+ /**
6244
+ * Page of results to fetch
6245
+ * @format int32
6246
+ */
6247
+ page?: number;
6248
+ /**
6249
+ * Number of results to return per page
6250
+ * @format int32
6251
+ */
6252
+ per_page?: number;
6253
+ /** Include total count of results */
6254
+ page_total?: boolean;
6255
+ /** Include prev/next links in response headers */
6256
+ page_links?: boolean;
6257
+ id: number;
6258
+ }
6259
+
6284
6260
  export interface GetApiV2ProjectsIdProjectTasksParams {
6285
6261
  /** JSON search string like {"attribute_eq": "Term"} */
6286
6262
  search?: string;
@@ -6476,11 +6452,8 @@ export interface PostApiV21ConsumerReturnsBulkRequest {
6476
6452
  easypostable_type?: string;
6477
6453
  /** url of the shipping label */
6478
6454
  shipping_label_url?: string;
6479
- /**
6480
- * the consumer return actual cost of shipping
6481
- * @format float
6482
- */
6483
- ship_actual_cost?: number;
6455
+ /** the consumer return actual cost of shipping */
6456
+ ship_actual_cost?: string;
6484
6457
  /** the method of shipping for the consumer return */
6485
6458
  shipping_method_text?: string;
6486
6459
  /** shipping carrier */
@@ -6493,11 +6466,8 @@ export interface PostApiV21ConsumerReturnsBulkRequest {
6493
6466
  postage_billed?: boolean;
6494
6467
  /** was handling billed? */
6495
6468
  handling_billed?: boolean;
6496
- /**
6497
- * the consumer return actual cost of shipping
6498
- * @format float
6499
- */
6500
- ship_3rdparty_cost?: number;
6469
+ /** the consumer return actual cost of shipping */
6470
+ ship_3rdparty_cost?: string;
6501
6471
  /** does this consumer return require a label? */
6502
6472
  requires_label: boolean;
6503
6473
  /**
@@ -6570,11 +6540,8 @@ export interface PostApiV21ConsumerReturnsBulkRequest {
6570
6540
  }
6571
6541
 
6572
6542
  export interface PostApiV21ConsumerReturnsRequest {
6573
- /**
6574
- * the consumer return actual cost of shipping
6575
- * @format float
6576
- */
6577
- ship_3rdparty_cost?: number;
6543
+ /** the consumer return actual cost of shipping */
6544
+ ship_3rdparty_cost?: string;
6578
6545
  /**
6579
6546
  * the consumer return arrival date and time
6580
6547
  * @format date-time
@@ -6659,11 +6626,8 @@ export interface PostApiV21ConsumerReturnsRequest {
6659
6626
  requires_label: boolean;
6660
6627
  /** the consumer return sender */
6661
6628
  sender?: string;
6662
- /**
6663
- * the consumer return actual cost of shipping
6664
- * @format float
6665
- */
6666
- ship_actual_cost?: number;
6629
+ /** the consumer return actual cost of shipping */
6630
+ ship_actual_cost?: string;
6667
6631
  /** currency used for this consumer return */
6668
6632
  ship_actual_currency?: string;
6669
6633
  shipnotice_items_attributes?: {
@@ -6813,11 +6777,8 @@ export interface PostApiV21ItemsRequest {
6813
6777
  hazmat?: boolean;
6814
6778
  /** hazmat class */
6815
6779
  hazmat_type?: PostApiV21ItemsRequestHazmatType;
6816
- /**
6817
- * the item height (in inches)
6818
- * @format float
6819
- */
6820
- height?: number;
6780
+ /** the item height (in inches) */
6781
+ height?: string;
6821
6782
  /** the originator url for the item image */
6822
6783
  image_originator_url?: string;
6823
6784
  /** include inbound items in published? */
@@ -6826,11 +6787,8 @@ export interface PostApiV21ItemsRequest {
6826
6787
  is_bundle?: boolean;
6827
6788
  /** label format */
6828
6789
  label_format?: PostApiV21ItemsRequestLabelFormat;
6829
- /**
6830
- * the item length (in inches)
6831
- * @format float
6832
- */
6833
- length?: number;
6790
+ /** the item length (in inches) */
6791
+ length?: string;
6834
6792
  /** does this item require lot control? */
6835
6793
  lot_control?: boolean;
6836
6794
  /**
@@ -6870,23 +6828,14 @@ export interface PostApiV21ItemsRequest {
6870
6828
  packaging?: boolean;
6871
6829
  /** the item packaging type */
6872
6830
  packaging_type?: PostApiV21ItemsRequestPackagingType;
6873
- /**
6874
- * the item price
6875
- * @format float
6876
- */
6877
- price?: number;
6831
+ /** the item price */
6832
+ price?: string;
6878
6833
  /** is the item a promo? */
6879
6834
  promo?: boolean;
6880
- /**
6881
- * Minimum number of days worth of stock to keep in forward pick locations
6882
- * @format float
6883
- */
6884
- replenishment_min?: number;
6885
- /**
6886
- * Target number of days stock to replenish forward pick locations
6887
- * @format float
6888
- */
6889
- replenishment_target?: number;
6835
+ /** Minimum number of days worth of stock to keep in forward pick locations */
6836
+ replenishment_min?: string;
6837
+ /** Target number of days stock to replenish forward pick locations */
6838
+ replenishment_target?: string;
6890
6839
  /** does the item require a serial number when shipping? */
6891
6840
  request_serial_number?: boolean;
6892
6841
  /** is the item return price restricted? */
@@ -6922,21 +6871,12 @@ export interface PostApiV21ItemsRequest {
6922
6871
  velocity?: number;
6923
6872
  /** the item vendor */
6924
6873
  vendor?: string;
6925
- /**
6926
- * the weight of the item (in pounds)
6927
- * @format float
6928
- */
6929
- weight?: number;
6930
- /**
6931
- * the wholesale cost of the item
6932
- * @format float
6933
- */
6934
- wholesale_cost?: number;
6935
- /**
6936
- * the item width (in inches)
6937
- * @format float
6938
- */
6939
- width?: number;
6874
+ /** the weight of the item (in pounds) */
6875
+ weight?: string;
6876
+ /** the wholesale cost of the item */
6877
+ wholesale_cost?: string;
6878
+ /** the item width (in inches) */
6879
+ width?: string;
6940
6880
  }
6941
6881
 
6942
6882
  export interface PostApiV21NotificationSubscriptionsRequest {
@@ -7042,11 +6982,8 @@ export interface PostApiV21OrdersBulkRequest {
7042
6982
  * ge_express = order uses global-e express shipping method
7043
6983
  */
7044
6984
  shop_shipping_method_text?: string;
7045
- /**
7046
- * the order shop shipping method price
7047
- * @format float
7048
- */
7049
- shop_shipping_method_price?: number;
6985
+ /** the order shop shipping method price */
6986
+ shop_shipping_method_price?: string;
7050
6987
  /** the order billing company */
7051
6988
  billing_company?: string;
7052
6989
  /** the order billing street address 1 */
@@ -7117,11 +7054,8 @@ export interface PostApiV21OrdersBulkRequest {
7117
7054
  shipping_hold_for_pickup?: boolean;
7118
7055
  /** the order ship notes */
7119
7056
  ship_notes?: string;
7120
- /**
7121
- * the order third party shipping cost
7122
- * @format float
7123
- */
7124
- ship_3rdparty_cost?: number;
7057
+ /** the order third party shipping cost */
7058
+ ship_3rdparty_cost?: string;
7125
7059
  /** the order third party shipping account */
7126
7060
  ship_3rdparty_account?: string;
7127
7061
  /** the order third party shipping zip */
@@ -7142,11 +7076,8 @@ export interface PostApiV21OrdersBulkRequest {
7142
7076
  * @format int32
7143
7077
  */
7144
7078
  days_in_transit_carrier_estimate?: number;
7145
- /**
7146
- * the order requested insurance value
7147
- * @format float
7148
- */
7149
- req_insurance_value?: number;
7079
+ /** the order requested insurance value */
7080
+ req_insurance_value?: string;
7150
7081
  /** Value Added Tax identifcation number for the sender of the order */
7151
7082
  customs_vat_number?: string;
7152
7083
  /** Economic Operators Registration and Identification number for the sender of the order */
@@ -7236,11 +7167,8 @@ export interface PostApiV21OrdersBulkRequest {
7236
7167
  sku?: string;
7237
7168
  /** description for this order item. This will appear in packing slips. If not set, the description will be inherited from the parent Item. */
7238
7169
  description?: string;
7239
- /**
7240
- * price of this item
7241
- * @format float
7242
- */
7243
- price?: number;
7170
+ /** price of this item */
7171
+ price?: string;
7244
7172
  /** is this item unshippable? */
7245
7173
  unshippable?: boolean;
7246
7174
  /** is this item available? */
@@ -7252,29 +7180,20 @@ export interface PostApiV21OrdersBulkRequest {
7252
7180
  packed?: number;
7253
7181
  /** is this item packaging? */
7254
7182
  packaging?: boolean;
7255
- /**
7256
- * wholesale cost of the item
7257
- * @format float
7258
- */
7259
- wholesale_cost?: number;
7183
+ /** wholesale cost of the item */
7184
+ wholesale_cost?: string;
7260
7185
  /** is this item a bundle? */
7261
- is_bundle?: boolean;
7262
- /**
7263
- * retail fee of this item
7264
- * @format float
7265
- */
7266
- retail_fee?: number;
7186
+ is_bundle?: boolean;
7187
+ /** retail fee of this item */
7188
+ retail_fee?: string;
7267
7189
  /** is this item a promo? */
7268
7190
  promo?: boolean;
7269
7191
  /** is this item returnable? */
7270
7192
  returnable?: boolean;
7271
7193
  /** currency code for this item */
7272
7194
  currency?: string;
7273
- /**
7274
- * wholesale fee of this item
7275
- * @format float
7276
- */
7277
- wholesale_fee?: number;
7195
+ /** wholesale fee of this item */
7196
+ wholesale_fee?: string;
7278
7197
  /** (deprecated) is the order item hazmat? */
7279
7198
  hazmat?: boolean;
7280
7199
  /** miscellaneous information about the order item */
@@ -7391,11 +7310,8 @@ export interface PostApiV21OrdersIdOrderItemsRequest {
7391
7310
  * @format int32
7392
7311
  */
7393
7312
  packed?: number;
7394
- /**
7395
- * price of this item
7396
- * @format float
7397
- */
7398
- price?: number;
7313
+ /** price of this item */
7314
+ price?: string;
7399
7315
  /** is this item a promo? */
7400
7316
  promo?: boolean;
7401
7317
  /**
@@ -7410,27 +7326,18 @@ export interface PostApiV21OrdersIdOrderItemsRequest {
7410
7326
  quote_item_id?: number;
7411
7327
  /** does the item require a serial number when shipping? */
7412
7328
  request_serial_number?: boolean;
7413
- /**
7414
- * retail fee of this item
7415
- * @format float
7416
- */
7417
- retail_fee?: number;
7329
+ /** retail fee of this item */
7330
+ retail_fee?: string;
7418
7331
  /** is this item returnable? */
7419
7332
  returnable?: boolean;
7420
7333
  /** the SKU of this item */
7421
7334
  sku?: string;
7422
7335
  /** is this item unshippable? */
7423
7336
  unshippable?: boolean;
7424
- /**
7425
- * wholesale cost of the item
7426
- * @format float
7427
- */
7428
- wholesale_cost?: number;
7429
- /**
7430
- * wholesale fee of this item
7431
- * @format float
7432
- */
7433
- wholesale_fee?: number;
7337
+ /** wholesale cost of the item */
7338
+ wholesale_cost?: string;
7339
+ /** wholesale fee of this item */
7340
+ wholesale_fee?: string;
7434
7341
  wholesale_item_attributes?: {
7435
7342
  /**
7436
7343
  * the associated order item id
@@ -7497,11 +7404,8 @@ export interface PostApiV21OrdersRequest {
7497
7404
  return_address_2?: string;
7498
7405
  /** the order third party shipping account */
7499
7406
  ship_3rdparty_account?: string;
7500
- /**
7501
- * the order third party shipping cost
7502
- * @format float
7503
- */
7504
- ship_3rdparty_cost?: number;
7407
+ /** the order third party shipping cost */
7408
+ ship_3rdparty_cost?: string;
7505
7409
  /** the order third party shipping country */
7506
7410
  ship_3rdparty_country?: string;
7507
7411
  /** the order third party shipping zip */
@@ -7648,11 +7552,8 @@ export interface PostApiV21OrdersRequest {
7648
7552
  sku?: string;
7649
7553
  /** description for this order item. This will appear in packing slips. If not set, the description will be inherited from the parent Item. */
7650
7554
  description?: string;
7651
- /**
7652
- * price of this item
7653
- * @format float
7654
- */
7655
- price?: number;
7555
+ /** price of this item */
7556
+ price?: string;
7656
7557
  /**
7657
7558
  * the order item creation date and time
7658
7559
  * @format date-time
@@ -7674,29 +7575,20 @@ export interface PostApiV21OrdersRequest {
7674
7575
  packed?: number;
7675
7576
  /** is this item packaging? */
7676
7577
  packaging?: boolean;
7677
- /**
7678
- * wholesale cost of the item
7679
- * @format float
7680
- */
7681
- wholesale_cost?: number;
7578
+ /** wholesale cost of the item */
7579
+ wholesale_cost?: string;
7682
7580
  /** is this item a bundle? */
7683
7581
  is_bundle?: boolean;
7684
- /**
7685
- * retail fee of this item
7686
- * @format float
7687
- */
7688
- retail_fee?: number;
7582
+ /** retail fee of this item */
7583
+ retail_fee?: string;
7689
7584
  /** is this item a promo? */
7690
7585
  promo?: boolean;
7691
7586
  /** is this item returnable? */
7692
7587
  returnable?: boolean;
7693
7588
  /** currency code for this item */
7694
7589
  currency?: string;
7695
- /**
7696
- * wholesale fee of this item
7697
- * @format float
7698
- */
7699
- wholesale_fee?: number;
7590
+ /** wholesale fee of this item */
7591
+ wholesale_fee?: string;
7700
7592
  /** (deprecated) is the order item hazmat? */
7701
7593
  hazmat?: boolean;
7702
7594
  /** miscellaneous information about the order item */
@@ -7803,11 +7695,8 @@ export interface PostApiV21OrdersRequest {
7803
7695
  public_note?: string;
7804
7696
  /** the purchase order this order */
7805
7697
  purchase_order?: string;
7806
- /**
7807
- * the order requested insurance value
7808
- * @format float
7809
- */
7810
- req_insurance_value?: number;
7698
+ /** the order requested insurance value */
7699
+ req_insurance_value?: string;
7811
7700
  /** the order requested address */
7812
7701
  requested_address?: string;
7813
7702
  /** does the order require an adult signature upon delivery? */
@@ -7873,11 +7762,8 @@ export interface PostApiV21OrdersRequest {
7873
7762
  shop_created_at?: string;
7874
7763
  /** the order shop shipping method currency */
7875
7764
  shop_shipping_method_currency?: string;
7876
- /**
7877
- * the order shop shipping method price
7878
- * @format float
7879
- */
7880
- shop_shipping_method_price?: number;
7765
+ /** the order shop shipping method price */
7766
+ shop_shipping_method_price?: string;
7881
7767
  /**
7882
7768
  * the order shop shipping method text
7883
7769
  * ge_standard = order uses global-e standard shipping method
@@ -8040,11 +7926,8 @@ export interface PostApiV21ShipnoticesBulkRequest {
8040
7926
  easypostable_type?: string;
8041
7927
  /** url of the shipping label */
8042
7928
  shipping_label_url?: string;
8043
- /**
8044
- * the shipnotice actual cost of shipping
8045
- * @format float
8046
- */
8047
- ship_actual_cost?: number;
7929
+ /** the shipnotice actual cost of shipping */
7930
+ ship_actual_cost?: string;
8048
7931
  /** the method of shipping for the shipnotice */
8049
7932
  shipping_method_text?: string;
8050
7933
  /**
@@ -8065,11 +7948,8 @@ export interface PostApiV21ShipnoticesBulkRequest {
8065
7948
  postage_billed?: boolean;
8066
7949
  /** was handling billed? */
8067
7950
  handling_billed?: boolean;
8068
- /**
8069
- * 3rd party cost for the shipnotice
8070
- * @format float
8071
- */
8072
- ship_3rdparty_cost?: number;
7951
+ /** 3rd party cost for the shipnotice */
7952
+ ship_3rdparty_cost?: string;
8073
7953
  /** does this shipnotice require a label? */
8074
7954
  requires_label?: boolean;
8075
7955
  /**
@@ -8213,11 +8093,8 @@ export interface PostApiV21ShipnoticesIdShipnoticeItemsRequest {
8213
8093
  }
8214
8094
 
8215
8095
  export interface PostApiV21ShipnoticesRequest {
8216
- /**
8217
- * 3rd party cost for the shipnotice
8218
- * @format float
8219
- */
8220
- ship_3rdparty_cost?: number;
8096
+ /** 3rd party cost for the shipnotice */
8097
+ ship_3rdparty_cost?: string;
8221
8098
  /**
8222
8099
  * the shipnotice arrival date and time
8223
8100
  * @format date-time
@@ -8299,11 +8176,8 @@ export interface PostApiV21ShipnoticesRequest {
8299
8176
  requires_label?: boolean;
8300
8177
  /** the shipnotice sender */
8301
8178
  sender: string;
8302
- /**
8303
- * the shipnotice actual cost of shipping
8304
- * @format float
8305
- */
8306
- ship_actual_cost?: number;
8179
+ /** the shipnotice actual cost of shipping */
8180
+ ship_actual_cost?: string;
8307
8181
  /** currency used for this shipnotice */
8308
8182
  ship_actual_currency?: string;
8309
8183
  shipnotice_items_attributes?: {
@@ -8465,11 +8339,8 @@ export interface PostApiV2ConsumerReturnsBulkRequest {
8465
8339
  easypostable_type?: string;
8466
8340
  /** url of the shipping label */
8467
8341
  shipping_label_url?: string;
8468
- /**
8469
- * the consumer return actual cost of shipping
8470
- * @format float
8471
- */
8472
- ship_actual_cost?: number;
8342
+ /** the consumer return actual cost of shipping */
8343
+ ship_actual_cost?: string;
8473
8344
  /** the method of shipping for the consumer return */
8474
8345
  shipping_method_text?: string;
8475
8346
  /** shipping carrier */
@@ -8482,11 +8353,8 @@ export interface PostApiV2ConsumerReturnsBulkRequest {
8482
8353
  postage_billed?: boolean;
8483
8354
  /** was handling billed? */
8484
8355
  handling_billed?: boolean;
8485
- /**
8486
- * the consumer return actual cost of shipping
8487
- * @format float
8488
- */
8489
- ship_3rdparty_cost?: number;
8356
+ /** the consumer return actual cost of shipping */
8357
+ ship_3rdparty_cost?: string;
8490
8358
  /** does this consumer return require a label? */
8491
8359
  requires_label: boolean;
8492
8360
  /**
@@ -8559,11 +8427,8 @@ export interface PostApiV2ConsumerReturnsBulkRequest {
8559
8427
  }
8560
8428
 
8561
8429
  export interface PostApiV2ConsumerReturnsRequest {
8562
- /**
8563
- * the consumer return actual cost of shipping
8564
- * @format float
8565
- */
8566
- ship_3rdparty_cost?: number;
8430
+ /** the consumer return actual cost of shipping */
8431
+ ship_3rdparty_cost?: string;
8567
8432
  /**
8568
8433
  * the consumer return arrival date and time
8569
8434
  * @format date-time
@@ -8648,11 +8513,8 @@ export interface PostApiV2ConsumerReturnsRequest {
8648
8513
  requires_label: boolean;
8649
8514
  /** the consumer return sender */
8650
8515
  sender?: string;
8651
- /**
8652
- * the consumer return actual cost of shipping
8653
- * @format float
8654
- */
8655
- ship_actual_cost?: number;
8516
+ /** the consumer return actual cost of shipping */
8517
+ ship_actual_cost?: string;
8656
8518
  /** currency used for this consumer return */
8657
8519
  ship_actual_currency?: string;
8658
8520
  shipnotice_items_attributes?: {
@@ -8802,11 +8664,8 @@ export interface PostApiV2ItemsRequest {
8802
8664
  hazmat?: boolean;
8803
8665
  /** hazmat class */
8804
8666
  hazmat_type?: PostApiV2ItemsRequestHazmatType;
8805
- /**
8806
- * the item height (in inches)
8807
- * @format float
8808
- */
8809
- height?: number;
8667
+ /** the item height (in inches) */
8668
+ height?: string;
8810
8669
  /** the originator url for the item image */
8811
8670
  image_originator_url?: string;
8812
8671
  /** include inbound items in published? */
@@ -8815,11 +8674,8 @@ export interface PostApiV2ItemsRequest {
8815
8674
  is_bundle?: boolean;
8816
8675
  /** label format */
8817
8676
  label_format?: PostApiV2ItemsRequestLabelFormat;
8818
- /**
8819
- * the item length (in inches)
8820
- * @format float
8821
- */
8822
- length?: number;
8677
+ /** the item length (in inches) */
8678
+ length?: string;
8823
8679
  /** does this item require lot control? */
8824
8680
  lot_control?: boolean;
8825
8681
  /**
@@ -8859,23 +8715,14 @@ export interface PostApiV2ItemsRequest {
8859
8715
  packaging?: boolean;
8860
8716
  /** the item packaging type */
8861
8717
  packaging_type?: PostApiV2ItemsRequestPackagingType;
8862
- /**
8863
- * the item price
8864
- * @format float
8865
- */
8866
- price?: number;
8718
+ /** the item price */
8719
+ price?: string;
8867
8720
  /** is the item a promo? */
8868
8721
  promo?: boolean;
8869
- /**
8870
- * Minimum number of days worth of stock to keep in forward pick locations
8871
- * @format float
8872
- */
8873
- replenishment_min?: number;
8874
- /**
8875
- * Target number of days stock to replenish forward pick locations
8876
- * @format float
8877
- */
8878
- replenishment_target?: number;
8722
+ /** Minimum number of days worth of stock to keep in forward pick locations */
8723
+ replenishment_min?: string;
8724
+ /** Target number of days stock to replenish forward pick locations */
8725
+ replenishment_target?: string;
8879
8726
  /** does the item require a serial number when shipping? */
8880
8727
  request_serial_number?: boolean;
8881
8728
  /** is the item return price restricted? */
@@ -8911,21 +8758,12 @@ export interface PostApiV2ItemsRequest {
8911
8758
  velocity?: number;
8912
8759
  /** the item vendor */
8913
8760
  vendor?: string;
8914
- /**
8915
- * the weight of the item (in pounds)
8916
- * @format float
8917
- */
8918
- weight?: number;
8919
- /**
8920
- * the wholesale cost of the item
8921
- * @format float
8922
- */
8923
- wholesale_cost?: number;
8924
- /**
8925
- * the item width (in inches)
8926
- * @format float
8927
- */
8928
- width?: number;
8761
+ /** the weight of the item (in pounds) */
8762
+ weight?: string;
8763
+ /** the wholesale cost of the item */
8764
+ wholesale_cost?: string;
8765
+ /** the item width (in inches) */
8766
+ width?: string;
8929
8767
  }
8930
8768
 
8931
8769
  export interface PostApiV2NotificationSubscriptionsRequest {
@@ -9031,11 +8869,8 @@ export interface PostApiV2OrdersBulkRequest {
9031
8869
  * ge_express = order uses global-e express shipping method
9032
8870
  */
9033
8871
  shop_shipping_method_text?: string;
9034
- /**
9035
- * the order shop shipping method price
9036
- * @format float
9037
- */
9038
- shop_shipping_method_price?: number;
8872
+ /** the order shop shipping method price */
8873
+ shop_shipping_method_price?: string;
9039
8874
  /** the order billing company */
9040
8875
  billing_company?: string;
9041
8876
  /** the order billing street address 1 */
@@ -9106,11 +8941,8 @@ export interface PostApiV2OrdersBulkRequest {
9106
8941
  shipping_hold_for_pickup?: boolean;
9107
8942
  /** the order ship notes */
9108
8943
  ship_notes?: string;
9109
- /**
9110
- * the order third party shipping cost
9111
- * @format float
9112
- */
9113
- ship_3rdparty_cost?: number;
8944
+ /** the order third party shipping cost */
8945
+ ship_3rdparty_cost?: string;
9114
8946
  /** the order third party shipping account */
9115
8947
  ship_3rdparty_account?: string;
9116
8948
  /** the order third party shipping zip */
@@ -9131,11 +8963,8 @@ export interface PostApiV2OrdersBulkRequest {
9131
8963
  * @format int32
9132
8964
  */
9133
8965
  days_in_transit_carrier_estimate?: number;
9134
- /**
9135
- * the order requested insurance value
9136
- * @format float
9137
- */
9138
- req_insurance_value?: number;
8966
+ /** the order requested insurance value */
8967
+ req_insurance_value?: string;
9139
8968
  /** Value Added Tax identifcation number for the sender of the order */
9140
8969
  customs_vat_number?: string;
9141
8970
  /** Economic Operators Registration and Identification number for the sender of the order */
@@ -9225,11 +9054,8 @@ export interface PostApiV2OrdersBulkRequest {
9225
9054
  sku?: string;
9226
9055
  /** description for this order item. This will appear in packing slips. If not set, the description will be inherited from the parent Item. */
9227
9056
  description?: string;
9228
- /**
9229
- * price of this item
9230
- * @format float
9231
- */
9232
- price?: number;
9057
+ /** price of this item */
9058
+ price?: string;
9233
9059
  /** is this item unshippable? */
9234
9060
  unshippable?: boolean;
9235
9061
  /** is this item available? */
@@ -9241,29 +9067,20 @@ export interface PostApiV2OrdersBulkRequest {
9241
9067
  packed?: number;
9242
9068
  /** is this item packaging? */
9243
9069
  packaging?: boolean;
9244
- /**
9245
- * wholesale cost of the item
9246
- * @format float
9247
- */
9248
- wholesale_cost?: number;
9070
+ /** wholesale cost of the item */
9071
+ wholesale_cost?: string;
9249
9072
  /** is this item a bundle? */
9250
9073
  is_bundle?: boolean;
9251
- /**
9252
- * retail fee of this item
9253
- * @format float
9254
- */
9255
- retail_fee?: number;
9074
+ /** retail fee of this item */
9075
+ retail_fee?: string;
9256
9076
  /** is this item a promo? */
9257
9077
  promo?: boolean;
9258
9078
  /** is this item returnable? */
9259
9079
  returnable?: boolean;
9260
9080
  /** currency code for this item */
9261
9081
  currency?: string;
9262
- /**
9263
- * wholesale fee of this item
9264
- * @format float
9265
- */
9266
- wholesale_fee?: number;
9082
+ /** wholesale fee of this item */
9083
+ wholesale_fee?: string;
9267
9084
  /** (deprecated) is the order item hazmat? */
9268
9085
  hazmat?: boolean;
9269
9086
  /** miscellaneous information about the order item */
@@ -9380,11 +9197,8 @@ export interface PostApiV2OrdersIdOrderItemsRequest {
9380
9197
  * @format int32
9381
9198
  */
9382
9199
  packed?: number;
9383
- /**
9384
- * price of this item
9385
- * @format float
9386
- */
9387
- price?: number;
9200
+ /** price of this item */
9201
+ price?: string;
9388
9202
  /** is this item a promo? */
9389
9203
  promo?: boolean;
9390
9204
  /**
@@ -9399,27 +9213,18 @@ export interface PostApiV2OrdersIdOrderItemsRequest {
9399
9213
  quote_item_id?: number;
9400
9214
  /** does the item require a serial number when shipping? */
9401
9215
  request_serial_number?: boolean;
9402
- /**
9403
- * retail fee of this item
9404
- * @format float
9405
- */
9406
- retail_fee?: number;
9216
+ /** retail fee of this item */
9217
+ retail_fee?: string;
9407
9218
  /** is this item returnable? */
9408
9219
  returnable?: boolean;
9409
9220
  /** the SKU of this item */
9410
9221
  sku?: string;
9411
9222
  /** is this item unshippable? */
9412
9223
  unshippable?: boolean;
9413
- /**
9414
- * wholesale cost of the item
9415
- * @format float
9416
- */
9417
- wholesale_cost?: number;
9418
- /**
9419
- * wholesale fee of this item
9420
- * @format float
9421
- */
9422
- wholesale_fee?: number;
9224
+ /** wholesale cost of the item */
9225
+ wholesale_cost?: string;
9226
+ /** wholesale fee of this item */
9227
+ wholesale_fee?: string;
9423
9228
  wholesale_item_attributes?: {
9424
9229
  /**
9425
9230
  * the associated order item id
@@ -9486,11 +9291,8 @@ export interface PostApiV2OrdersRequest {
9486
9291
  return_address_2?: string;
9487
9292
  /** the order third party shipping account */
9488
9293
  ship_3rdparty_account?: string;
9489
- /**
9490
- * the order third party shipping cost
9491
- * @format float
9492
- */
9493
- ship_3rdparty_cost?: number;
9294
+ /** the order third party shipping cost */
9295
+ ship_3rdparty_cost?: string;
9494
9296
  /** the order third party shipping country */
9495
9297
  ship_3rdparty_country?: string;
9496
9298
  /** the order third party shipping zip */
@@ -9637,11 +9439,8 @@ export interface PostApiV2OrdersRequest {
9637
9439
  sku?: string;
9638
9440
  /** description for this order item. This will appear in packing slips. If not set, the description will be inherited from the parent Item. */
9639
9441
  description?: string;
9640
- /**
9641
- * price of this item
9642
- * @format float
9643
- */
9644
- price?: number;
9442
+ /** price of this item */
9443
+ price?: string;
9645
9444
  /**
9646
9445
  * the order item creation date and time
9647
9446
  * @format date-time
@@ -9663,29 +9462,20 @@ export interface PostApiV2OrdersRequest {
9663
9462
  packed?: number;
9664
9463
  /** is this item packaging? */
9665
9464
  packaging?: boolean;
9666
- /**
9667
- * wholesale cost of the item
9668
- * @format float
9669
- */
9670
- wholesale_cost?: number;
9465
+ /** wholesale cost of the item */
9466
+ wholesale_cost?: string;
9671
9467
  /** is this item a bundle? */
9672
9468
  is_bundle?: boolean;
9673
- /**
9674
- * retail fee of this item
9675
- * @format float
9676
- */
9677
- retail_fee?: number;
9469
+ /** retail fee of this item */
9470
+ retail_fee?: string;
9678
9471
  /** is this item a promo? */
9679
9472
  promo?: boolean;
9680
9473
  /** is this item returnable? */
9681
9474
  returnable?: boolean;
9682
9475
  /** currency code for this item */
9683
9476
  currency?: string;
9684
- /**
9685
- * wholesale fee of this item
9686
- * @format float
9687
- */
9688
- wholesale_fee?: number;
9477
+ /** wholesale fee of this item */
9478
+ wholesale_fee?: string;
9689
9479
  /** (deprecated) is the order item hazmat? */
9690
9480
  hazmat?: boolean;
9691
9481
  /** miscellaneous information about the order item */
@@ -9792,11 +9582,8 @@ export interface PostApiV2OrdersRequest {
9792
9582
  public_note?: string;
9793
9583
  /** the purchase order this order */
9794
9584
  purchase_order?: string;
9795
- /**
9796
- * the order requested insurance value
9797
- * @format float
9798
- */
9799
- req_insurance_value?: number;
9585
+ /** the order requested insurance value */
9586
+ req_insurance_value?: string;
9800
9587
  /** the order requested address */
9801
9588
  requested_address?: string;
9802
9589
  /** does the order require an adult signature upon delivery? */
@@ -9862,11 +9649,8 @@ export interface PostApiV2OrdersRequest {
9862
9649
  shop_created_at?: string;
9863
9650
  /** the order shop shipping method currency */
9864
9651
  shop_shipping_method_currency?: string;
9865
- /**
9866
- * the order shop shipping method price
9867
- * @format float
9868
- */
9869
- shop_shipping_method_price?: number;
9652
+ /** the order shop shipping method price */
9653
+ shop_shipping_method_price?: string;
9870
9654
  /**
9871
9655
  * the order shop shipping method text
9872
9656
  * ge_standard = order uses global-e standard shipping method
@@ -10029,11 +9813,8 @@ export interface PostApiV2ShipnoticesBulkRequest {
10029
9813
  easypostable_type?: string;
10030
9814
  /** url of the shipping label */
10031
9815
  shipping_label_url?: string;
10032
- /**
10033
- * the shipnotice actual cost of shipping
10034
- * @format float
10035
- */
10036
- ship_actual_cost?: number;
9816
+ /** the shipnotice actual cost of shipping */
9817
+ ship_actual_cost?: string;
10037
9818
  /** the method of shipping for the shipnotice */
10038
9819
  shipping_method_text?: string;
10039
9820
  /**
@@ -10054,11 +9835,8 @@ export interface PostApiV2ShipnoticesBulkRequest {
10054
9835
  postage_billed?: boolean;
10055
9836
  /** was handling billed? */
10056
9837
  handling_billed?: boolean;
10057
- /**
10058
- * 3rd party cost for the shipnotice
10059
- * @format float
10060
- */
10061
- ship_3rdparty_cost?: number;
9838
+ /** 3rd party cost for the shipnotice */
9839
+ ship_3rdparty_cost?: string;
10062
9840
  /** does this shipnotice require a label? */
10063
9841
  requires_label?: boolean;
10064
9842
  /**
@@ -10202,11 +9980,8 @@ export interface PostApiV2ShipnoticesIdShipnoticeItemsRequest {
10202
9980
  }
10203
9981
 
10204
9982
  export interface PostApiV2ShipnoticesRequest {
10205
- /**
10206
- * 3rd party cost for the shipnotice
10207
- * @format float
10208
- */
10209
- ship_3rdparty_cost?: number;
9983
+ /** 3rd party cost for the shipnotice */
9984
+ ship_3rdparty_cost?: string;
10210
9985
  /**
10211
9986
  * the shipnotice arrival date and time
10212
9987
  * @format date-time
@@ -10288,11 +10063,8 @@ export interface PostApiV2ShipnoticesRequest {
10288
10063
  requires_label?: boolean;
10289
10064
  /** the shipnotice sender */
10290
10065
  sender: string;
10291
- /**
10292
- * the shipnotice actual cost of shipping
10293
- * @format float
10294
- */
10295
- ship_actual_cost?: number;
10066
+ /** the shipnotice actual cost of shipping */
10067
+ ship_actual_cost?: string;
10296
10068
  /** currency used for this shipnotice */
10297
10069
  ship_actual_currency?: string;
10298
10070
  shipnotice_items_attributes?: {
@@ -10416,11 +10188,8 @@ export interface PutApiV21ConsumerReturnsIdMetaFieldsRequest {
10416
10188
  }
10417
10189
 
10418
10190
  export interface PutApiV21ConsumerReturnsIdRequest {
10419
- /**
10420
- * 3rd party cost for the consumer return
10421
- * @format float
10422
- */
10423
- ship_3rdparty_cost?: number;
10191
+ /** 3rd party cost for the consumer return */
10192
+ ship_3rdparty_cost?: string;
10424
10193
  /** shipping carrier */
10425
10194
  carrier?: string;
10426
10195
  /**
@@ -10623,16 +10392,10 @@ export interface PutApiV21CustomersIdRequest {
10623
10392
  project_task_labels?: string[];
10624
10393
  /** JSON array of required and optional receiving fields in the form: {"label": "cases", "required": true} */
10625
10394
  receiving_fields?: object[];
10626
- /**
10627
- * Minimum number of days worth of stock to keep in forward pick locations
10628
- * @format float
10629
- */
10630
- replenishment_min?: number;
10631
- /**
10632
- * Target number of days stock to replenish forward pick locations
10633
- * @format float
10634
- */
10635
- replenishment_target?: number;
10395
+ /** Minimum number of days worth of stock to keep in forward pick locations */
10396
+ replenishment_min?: string;
10397
+ /** Target number of days stock to replenish forward pick locations */
10398
+ replenishment_target?: string;
10636
10399
  /** request serial numbers? */
10637
10400
  request_serial_numbers?: boolean;
10638
10401
  /** Customer return city. */
@@ -10751,11 +10514,8 @@ export interface PutApiV21ItemsIdRequest {
10751
10514
  hazmat?: boolean;
10752
10515
  /** hazmat class */
10753
10516
  hazmat_type?: PutApiV21ItemsIdRequestHazmatType;
10754
- /**
10755
- * the item height (in inches)
10756
- * @format float
10757
- */
10758
- height?: number;
10517
+ /** the item height (in inches) */
10518
+ height?: string;
10759
10519
  /** the originator url for the item image */
10760
10520
  image_originator_url?: string;
10761
10521
  /** include inbound items in published? */
@@ -10764,11 +10524,8 @@ export interface PutApiV21ItemsIdRequest {
10764
10524
  is_bundle?: boolean;
10765
10525
  /** label format */
10766
10526
  label_format?: PutApiV21ItemsIdRequestLabelFormat;
10767
- /**
10768
- * the item length (in inches)
10769
- * @format float
10770
- */
10771
- length?: number;
10527
+ /** the item length (in inches) */
10528
+ length?: string;
10772
10529
  /** does this item require lot control? */
10773
10530
  lot_control?: boolean;
10774
10531
  /**
@@ -10795,23 +10552,14 @@ export interface PutApiV21ItemsIdRequest {
10795
10552
  packaging?: boolean;
10796
10553
  /** the item packaging type */
10797
10554
  packaging_type?: PutApiV21ItemsIdRequestPackagingType;
10798
- /**
10799
- * the item price
10800
- * @format float
10801
- */
10802
- price?: number;
10555
+ /** the item price */
10556
+ price?: string;
10803
10557
  /** is the item a promo? */
10804
10558
  promo?: boolean;
10805
- /**
10806
- * Minimum number of days worth of stock to keep in forward pick locations
10807
- * @format float
10808
- */
10809
- replenishment_min?: number;
10810
- /**
10811
- * Target number of days stock to replenish forward pick locations
10812
- * @format float
10813
- */
10814
- replenishment_target?: number;
10559
+ /** Minimum number of days worth of stock to keep in forward pick locations */
10560
+ replenishment_min?: string;
10561
+ /** Target number of days stock to replenish forward pick locations */
10562
+ replenishment_target?: string;
10815
10563
  /** does the item require a serial number when shipping? */
10816
10564
  request_serial_number?: boolean;
10817
10565
  /** is the item return price restricted? */
@@ -10847,21 +10595,12 @@ export interface PutApiV21ItemsIdRequest {
10847
10595
  velocity?: number;
10848
10596
  /** the item vendor */
10849
10597
  vendor?: string;
10850
- /**
10851
- * the weight of the item (in pounds)
10852
- * @format float
10853
- */
10854
- weight?: number;
10855
- /**
10856
- * the wholesale cost of the item
10857
- * @format float
10858
- */
10859
- wholesale_cost?: number;
10860
- /**
10861
- * the item width (in inches)
10862
- * @format float
10863
- */
10864
- width?: number;
10598
+ /** the weight of the item (in pounds) */
10599
+ weight?: string;
10600
+ /** the wholesale cost of the item */
10601
+ wholesale_cost?: string;
10602
+ /** the item width (in inches) */
10603
+ width?: string;
10865
10604
  }
10866
10605
 
10867
10606
  export interface PutApiV21NotificationSubscriptionsIdRequest {
@@ -10958,11 +10697,8 @@ export interface PutApiV21OrderItemsIdRequest {
10958
10697
  * @format int32
10959
10698
  */
10960
10699
  packed?: number;
10961
- /**
10962
- * price of this item
10963
- * @format float
10964
- */
10965
- price?: number;
10700
+ /** price of this item */
10701
+ price?: string;
10966
10702
  /** is this item a promo? */
10967
10703
  promo?: boolean;
10968
10704
  /**
@@ -10977,27 +10713,18 @@ export interface PutApiV21OrderItemsIdRequest {
10977
10713
  quote_item_id?: number;
10978
10714
  /** does the item require a serial number when shipping? */
10979
10715
  request_serial_number?: boolean;
10980
- /**
10981
- * retail fee of this item
10982
- * @format float
10983
- */
10984
- retail_fee?: number;
10716
+ /** retail fee of this item */
10717
+ retail_fee?: string;
10985
10718
  /** is this item returnable? */
10986
10719
  returnable?: boolean;
10987
10720
  /** the SKU of this item */
10988
10721
  sku?: string;
10989
10722
  /** is this item unshippable? */
10990
10723
  unshippable?: boolean;
10991
- /**
10992
- * wholesale cost of the item
10993
- * @format float
10994
- */
10995
- wholesale_cost?: number;
10996
- /**
10997
- * wholesale fee of this item
10998
- * @format float
10999
- */
11000
- wholesale_fee?: number;
10724
+ /** wholesale cost of the item */
10725
+ wholesale_cost?: string;
10726
+ /** wholesale fee of this item */
10727
+ wholesale_fee?: string;
11001
10728
  wholesale_item_attributes?: {
11002
10729
  /**
11003
10730
  * the associated order item id
@@ -11125,11 +10852,8 @@ export interface PutApiV21OrdersIdRequest {
11125
10852
  return_address_2?: string;
11126
10853
  /** the order third party shipping account */
11127
10854
  ship_3rdparty_account?: string;
11128
- /**
11129
- * the order third party shipping cost
11130
- * @format float
11131
- */
11132
- ship_3rdparty_cost?: number;
10855
+ /** the order third party shipping cost */
10856
+ ship_3rdparty_cost?: string;
11133
10857
  /** the order third party shipping country */
11134
10858
  ship_3rdparty_country?: string;
11135
10859
  /** the order third party shipping zip */
@@ -11244,11 +10968,8 @@ export interface PutApiV21OrdersIdRequest {
11244
10968
  public_note?: string;
11245
10969
  /** the purchase order this order */
11246
10970
  purchase_order?: string;
11247
- /**
11248
- * the order requested insurance value
11249
- * @format float
11250
- */
11251
- req_insurance_value?: number;
10971
+ /** the order requested insurance value */
10972
+ req_insurance_value?: string;
11252
10973
  /** the order requested address */
11253
10974
  requested_address?: string;
11254
10975
  /** does the order require an adult signature upon delivery? */
@@ -11314,11 +11035,8 @@ export interface PutApiV21OrdersIdRequest {
11314
11035
  shop_created_at?: string;
11315
11036
  /** the order shop shipping method currency */
11316
11037
  shop_shipping_method_currency?: string;
11317
- /**
11318
- * the order shop shipping method price
11319
- * @format float
11320
- */
11321
- shop_shipping_method_price?: number;
11038
+ /** the order shop shipping method price */
11039
+ shop_shipping_method_price?: string;
11322
11040
  /**
11323
11041
  * the order shop shipping method text
11324
11042
  * ge_standard = order uses global-e standard shipping method
@@ -11470,11 +11188,8 @@ export interface PutApiV21ShipnoticesIdMetaFieldsRequest {
11470
11188
  }
11471
11189
 
11472
11190
  export interface PutApiV21ShipnoticesIdRequest {
11473
- /**
11474
- * 3rd party cost for the shipnotice
11475
- * @format float
11476
- */
11477
- ship_3rdparty_cost?: number;
11191
+ /** 3rd party cost for the shipnotice */
11192
+ ship_3rdparty_cost?: string;
11478
11193
  /**
11479
11194
  * the shipnotice arrival date and time
11480
11195
  * @format date-time
@@ -11534,11 +11249,8 @@ export interface PutApiV21ShipnoticesIdRequest {
11534
11249
  requires_label?: boolean;
11535
11250
  /** the shipnotice sender */
11536
11251
  sender?: string;
11537
- /**
11538
- * the shipnotice actual cost of shipping
11539
- * @format float
11540
- */
11541
- ship_actual_cost?: number;
11252
+ /** the shipnotice actual cost of shipping */
11253
+ ship_actual_cost?: string;
11542
11254
  /** currency used for this shipnotice */
11543
11255
  ship_actual_currency?: string;
11544
11256
  shipnotice_items?: string;
@@ -11659,11 +11371,8 @@ export interface PutApiV2ConsumerReturnsIdMetaFieldsRequest {
11659
11371
  }
11660
11372
 
11661
11373
  export interface PutApiV2ConsumerReturnsIdRequest {
11662
- /**
11663
- * 3rd party cost for the consumer return
11664
- * @format float
11665
- */
11666
- ship_3rdparty_cost?: number;
11374
+ /** 3rd party cost for the consumer return */
11375
+ ship_3rdparty_cost?: string;
11667
11376
  /** shipping carrier */
11668
11377
  carrier?: string;
11669
11378
  /**
@@ -11866,16 +11575,10 @@ export interface PutApiV2CustomersIdRequest {
11866
11575
  project_task_labels?: string[];
11867
11576
  /** JSON array of required and optional receiving fields in the form: {"label": "cases", "required": true} */
11868
11577
  receiving_fields?: object[];
11869
- /**
11870
- * Minimum number of days worth of stock to keep in forward pick locations
11871
- * @format float
11872
- */
11873
- replenishment_min?: number;
11874
- /**
11875
- * Target number of days stock to replenish forward pick locations
11876
- * @format float
11877
- */
11878
- replenishment_target?: number;
11578
+ /** Minimum number of days worth of stock to keep in forward pick locations */
11579
+ replenishment_min?: string;
11580
+ /** Target number of days stock to replenish forward pick locations */
11581
+ replenishment_target?: string;
11879
11582
  /** request serial numbers? */
11880
11583
  request_serial_numbers?: boolean;
11881
11584
  /** Customer return city. */
@@ -11994,11 +11697,8 @@ export interface PutApiV2ItemsIdRequest {
11994
11697
  hazmat?: boolean;
11995
11698
  /** hazmat class */
11996
11699
  hazmat_type?: PutApiV2ItemsIdRequestHazmatType;
11997
- /**
11998
- * the item height (in inches)
11999
- * @format float
12000
- */
12001
- height?: number;
11700
+ /** the item height (in inches) */
11701
+ height?: string;
12002
11702
  /** the originator url for the item image */
12003
11703
  image_originator_url?: string;
12004
11704
  /** include inbound items in published? */
@@ -12007,11 +11707,8 @@ export interface PutApiV2ItemsIdRequest {
12007
11707
  is_bundle?: boolean;
12008
11708
  /** label format */
12009
11709
  label_format?: PutApiV2ItemsIdRequestLabelFormat;
12010
- /**
12011
- * the item length (in inches)
12012
- * @format float
12013
- */
12014
- length?: number;
11710
+ /** the item length (in inches) */
11711
+ length?: string;
12015
11712
  /** does this item require lot control? */
12016
11713
  lot_control?: boolean;
12017
11714
  /**
@@ -12038,23 +11735,14 @@ export interface PutApiV2ItemsIdRequest {
12038
11735
  packaging?: boolean;
12039
11736
  /** the item packaging type */
12040
11737
  packaging_type?: PutApiV2ItemsIdRequestPackagingType;
12041
- /**
12042
- * the item price
12043
- * @format float
12044
- */
12045
- price?: number;
11738
+ /** the item price */
11739
+ price?: string;
12046
11740
  /** is the item a promo? */
12047
11741
  promo?: boolean;
12048
- /**
12049
- * Minimum number of days worth of stock to keep in forward pick locations
12050
- * @format float
12051
- */
12052
- replenishment_min?: number;
12053
- /**
12054
- * Target number of days stock to replenish forward pick locations
12055
- * @format float
12056
- */
12057
- replenishment_target?: number;
11742
+ /** Minimum number of days worth of stock to keep in forward pick locations */
11743
+ replenishment_min?: string;
11744
+ /** Target number of days stock to replenish forward pick locations */
11745
+ replenishment_target?: string;
12058
11746
  /** does the item require a serial number when shipping? */
12059
11747
  request_serial_number?: boolean;
12060
11748
  /** is the item return price restricted? */
@@ -12090,21 +11778,12 @@ export interface PutApiV2ItemsIdRequest {
12090
11778
  velocity?: number;
12091
11779
  /** the item vendor */
12092
11780
  vendor?: string;
12093
- /**
12094
- * the weight of the item (in pounds)
12095
- * @format float
12096
- */
12097
- weight?: number;
12098
- /**
12099
- * the wholesale cost of the item
12100
- * @format float
12101
- */
12102
- wholesale_cost?: number;
12103
- /**
12104
- * the item width (in inches)
12105
- * @format float
12106
- */
12107
- width?: number;
11781
+ /** the weight of the item (in pounds) */
11782
+ weight?: string;
11783
+ /** the wholesale cost of the item */
11784
+ wholesale_cost?: string;
11785
+ /** the item width (in inches) */
11786
+ width?: string;
12108
11787
  }
12109
11788
 
12110
11789
  export interface PutApiV2NotificationSubscriptionsIdRequest {
@@ -12201,11 +11880,8 @@ export interface PutApiV2OrderItemsIdRequest {
12201
11880
  * @format int32
12202
11881
  */
12203
11882
  packed?: number;
12204
- /**
12205
- * price of this item
12206
- * @format float
12207
- */
12208
- price?: number;
11883
+ /** price of this item */
11884
+ price?: string;
12209
11885
  /** is this item a promo? */
12210
11886
  promo?: boolean;
12211
11887
  /**
@@ -12220,27 +11896,18 @@ export interface PutApiV2OrderItemsIdRequest {
12220
11896
  quote_item_id?: number;
12221
11897
  /** does the item require a serial number when shipping? */
12222
11898
  request_serial_number?: boolean;
12223
- /**
12224
- * retail fee of this item
12225
- * @format float
12226
- */
12227
- retail_fee?: number;
11899
+ /** retail fee of this item */
11900
+ retail_fee?: string;
12228
11901
  /** is this item returnable? */
12229
11902
  returnable?: boolean;
12230
11903
  /** the SKU of this item */
12231
11904
  sku?: string;
12232
11905
  /** is this item unshippable? */
12233
11906
  unshippable?: boolean;
12234
- /**
12235
- * wholesale cost of the item
12236
- * @format float
12237
- */
12238
- wholesale_cost?: number;
12239
- /**
12240
- * wholesale fee of this item
12241
- * @format float
12242
- */
12243
- wholesale_fee?: number;
11907
+ /** wholesale cost of the item */
11908
+ wholesale_cost?: string;
11909
+ /** wholesale fee of this item */
11910
+ wholesale_fee?: string;
12244
11911
  wholesale_item_attributes?: {
12245
11912
  /**
12246
11913
  * the associated order item id
@@ -12368,11 +12035,8 @@ export interface PutApiV2OrdersIdRequest {
12368
12035
  return_address_2?: string;
12369
12036
  /** the order third party shipping account */
12370
12037
  ship_3rdparty_account?: string;
12371
- /**
12372
- * the order third party shipping cost
12373
- * @format float
12374
- */
12375
- ship_3rdparty_cost?: number;
12038
+ /** the order third party shipping cost */
12039
+ ship_3rdparty_cost?: string;
12376
12040
  /** the order third party shipping country */
12377
12041
  ship_3rdparty_country?: string;
12378
12042
  /** the order third party shipping zip */
@@ -12487,11 +12151,8 @@ export interface PutApiV2OrdersIdRequest {
12487
12151
  public_note?: string;
12488
12152
  /** the purchase order this order */
12489
12153
  purchase_order?: string;
12490
- /**
12491
- * the order requested insurance value
12492
- * @format float
12493
- */
12494
- req_insurance_value?: number;
12154
+ /** the order requested insurance value */
12155
+ req_insurance_value?: string;
12495
12156
  /** the order requested address */
12496
12157
  requested_address?: string;
12497
12158
  /** does the order require an adult signature upon delivery? */
@@ -12557,11 +12218,8 @@ export interface PutApiV2OrdersIdRequest {
12557
12218
  shop_created_at?: string;
12558
12219
  /** the order shop shipping method currency */
12559
12220
  shop_shipping_method_currency?: string;
12560
- /**
12561
- * the order shop shipping method price
12562
- * @format float
12563
- */
12564
- shop_shipping_method_price?: number;
12221
+ /** the order shop shipping method price */
12222
+ shop_shipping_method_price?: string;
12565
12223
  /**
12566
12224
  * the order shop shipping method text
12567
12225
  * ge_standard = order uses global-e standard shipping method
@@ -12713,11 +12371,8 @@ export interface PutApiV2ShipnoticesIdMetaFieldsRequest {
12713
12371
  }
12714
12372
 
12715
12373
  export interface PutApiV2ShipnoticesIdRequest {
12716
- /**
12717
- * 3rd party cost for the shipnotice
12718
- * @format float
12719
- */
12720
- ship_3rdparty_cost?: number;
12374
+ /** 3rd party cost for the shipnotice */
12375
+ ship_3rdparty_cost?: string;
12721
12376
  /**
12722
12377
  * the shipnotice arrival date and time
12723
12378
  * @format date-time
@@ -12777,11 +12432,8 @@ export interface PutApiV2ShipnoticesIdRequest {
12777
12432
  requires_label?: boolean;
12778
12433
  /** the shipnotice sender */
12779
12434
  sender?: string;
12780
- /**
12781
- * the shipnotice actual cost of shipping
12782
- * @format float
12783
- */
12784
- ship_actual_cost?: number;
12435
+ /** the shipnotice actual cost of shipping */
12436
+ ship_actual_cost?: string;
12785
12437
  /** currency used for this shipnotice */
12786
12438
  ship_actual_currency?: string;
12787
12439
  shipnotice_items?: string;