@wix/auto_sdk_ecom_cart 1.0.102 → 1.0.103

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.
@@ -1411,7 +1411,11 @@ interface AddToCurrentCartAndEstimateTotalsRequest {
1411
1411
  * @maxSize 100
1412
1412
  */
1413
1413
  customLineItems?: CustomLineItem[];
1414
- /** Selected shipping option. */
1414
+ /**
1415
+ * Selected shipping option.
1416
+ *
1417
+ * Pass this field only when there is no existing shipping option in the cart.
1418
+ */
1415
1419
  selectedShippingOption?: SelectedShippingOption;
1416
1420
  /** Shipping address. Used for calculating tax and shipping (when applicable). */
1417
1421
  shippingAddress?: Address;
@@ -2470,7 +2474,11 @@ interface CreateCheckoutFromCurrentCartRequest {
2470
2474
  shippingAddress?: Address;
2471
2475
  /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
2472
2476
  billingAddress?: Address;
2473
- /** Selected shipping option. */
2477
+ /**
2478
+ * Selected shipping option.
2479
+ *
2480
+ * Pass this field only when there is no existing shipping option in the cart.
2481
+ */
2474
2482
  selectedShippingOption?: SelectedShippingOption;
2475
2483
  /**
2476
2484
  * Required when setting billing or shipping address and user is not logged in.
@@ -2552,7 +2560,11 @@ interface UpdateLineItemsQuantityResponse {
2552
2560
  cart?: Cart;
2553
2561
  }
2554
2562
  interface EstimateCurrentCartTotalsRequest {
2555
- /** Selected shipping option. */
2563
+ /**
2564
+ * Selected shipping option
2565
+ *
2566
+ * Pass this field only when there is no existing shipping option in the cart.
2567
+ */
2556
2568
  selectedShippingOption?: SelectedShippingOption;
2557
2569
  /** Shipping address. Used for calculating tax and shipping (when applicable). */
2558
2570
  shippingAddress?: Address;
@@ -2825,7 +2837,11 @@ interface CreateCheckoutRequest {
2825
2837
  shippingAddress?: Address;
2826
2838
  /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
2827
2839
  billingAddress?: Address;
2828
- /** Selected shipping option. */
2840
+ /**
2841
+ * Selected shipping option.
2842
+ *
2843
+ * Pass this field only when there is no existing shipping option in the cart.
2844
+ */
2829
2845
  selectedShippingOption?: SelectedShippingOption;
2830
2846
  /**
2831
2847
  * Required when setting a billing or shipping address if the site visitor isn't logged in.
@@ -2859,7 +2875,11 @@ interface EstimateTotalsRequest {
2859
2875
  * @format GUID
2860
2876
  */
2861
2877
  id: string;
2862
- /** Selected shipping option. */
2878
+ /**
2879
+ * Selected shipping option.
2880
+ *
2881
+ * Pass this field only when there is no existing shipping option in the cart.
2882
+ */
2863
2883
  selectedShippingOption?: SelectedShippingOption;
2864
2884
  /** Shipping address. Used for calculating tax and shipping (when applicable). */
2865
2885
  shippingAddress?: Address;