@wix/auto_sdk_ecom_delivery-profile 1.0.257 → 1.0.258

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.
@@ -83,13 +83,13 @@ interface DeliveryRegion {
83
83
  */
84
84
  active?: boolean | null;
85
85
  /**
86
- * Delivery carriers assigned to this region. Carriers are managed using the Add Delivery Carrier, Update Delivery Carrier, and Remove Delivery Carrier methods.
86
+ * Delivery carriers assigned to this region. Carriers are managed using the [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier), [Update Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-carrier), and [Remove Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-carrier) methods.
87
87
  * @maxSize 25
88
88
  * @readonly
89
89
  */
90
90
  deliveryCarriers?: DeliveryCarrier[];
91
91
  /**
92
- * Geographic destinations covered by this region. If empty, the region applies globally.
92
+ * Geographic destinations covered by this region. If empty, the region applies globally (Rest of World). A site can have up to 250 destinations across all delivery profiles.
93
93
  * @maxSize 250
94
94
  */
95
95
  destinations?: Destination[];
@@ -134,7 +134,11 @@ interface BackupRate {
134
134
  /**
135
135
  * Whether the backup rate is active.
136
136
  *
137
- * When `false`, if the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.
137
+ * The backup rate is used in the following situations:
138
+ * + When `active` is `true`.
139
+ * + When the carrier does not return a cost for any reason.
140
+ *
141
+ * If active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.
138
142
  *
139
143
  * Default: `false`
140
144
  */
@@ -147,7 +151,7 @@ interface AdditionalCharge {
147
151
  */
148
152
  description?: string | null;
149
153
  /**
150
- * Charge amount. For example, `"12.5"`.
154
+ * Additional fixed charge amount to add to the delivery rate. For example, `"12.50"`.
151
155
  * @maxLength 16
152
156
  */
153
157
  amount?: string;
@@ -174,7 +178,7 @@ interface CreatedBy extends CreatedByIdOneOf {
174
178
  */
175
179
  appId?: string | null;
176
180
  /**
177
- * Wix user ID, when the delivery profile was created by a Wix user.
181
+ * Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.
178
182
  * @format GUID
179
183
  */
180
184
  userId?: string | null;
@@ -187,7 +191,7 @@ interface CreatedByIdOneOf {
187
191
  */
188
192
  appId?: string | null;
189
193
  /**
190
- * Wix user ID, when the delivery profile was created by a Wix user.
194
+ * Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.
191
195
  * @format GUID
192
196
  */
193
197
  userId?: string | null;
@@ -814,7 +818,7 @@ interface UpdateCarrierSettingsRequest {
814
818
  */
815
819
  carrierId: string;
816
820
  /**
817
- * ID of the dashboard table row that triggered the change.
821
+ * Row ID in the carrier's dashboard settings table that identifies the specific shipping configuration to update. Retrieved from [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
818
822
  * @format GUID
819
823
  */
820
824
  rowId: string;
@@ -830,7 +834,9 @@ interface SetDeliveryCarrierActiveStatusRequest {
830
834
  */
831
835
  carrierAppId: string;
832
836
  /**
833
- * Row ID that triggered the change.
837
+ * Row identifier in the carrier's dashboard settings table that identifies the specific shipping configuration to update.
838
+ *
839
+ * Pass the `row.key` field from the response of [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
834
840
  * @format GUID
835
841
  */
836
842
  rowId: string;
@@ -1740,6 +1746,8 @@ interface DeliveryProfileCreatedEnvelope {
1740
1746
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1741
1747
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1742
1748
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1749
+ * @permissionScope Manage Restaurants - all permissions
1750
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1743
1751
  * @permissionScope Manage eCommerce - all permissions
1744
1752
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1745
1753
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1763,6 +1771,8 @@ interface DeliveryProfileDeletedEnvelope {
1763
1771
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1764
1772
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1765
1773
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1774
+ * @permissionScope Manage Restaurants - all permissions
1775
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1766
1776
  * @permissionScope Manage eCommerce - all permissions
1767
1777
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1768
1778
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1786,6 +1796,8 @@ interface DeliveryProfileRegionAddedEnvelope {
1786
1796
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1787
1797
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1788
1798
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1799
+ * @permissionScope Manage Restaurants - all permissions
1800
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1789
1801
  * @permissionScope Manage eCommerce - all permissions
1790
1802
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1791
1803
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1809,6 +1821,8 @@ interface DeliveryProfileRegionRemovedEnvelope {
1809
1821
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1810
1822
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1811
1823
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1824
+ * @permissionScope Manage Restaurants - all permissions
1825
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1812
1826
  * @permissionScope Manage eCommerce - all permissions
1813
1827
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1814
1828
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1832,6 +1846,8 @@ interface DeliveryProfileRegionUpdatedEnvelope {
1832
1846
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1833
1847
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1834
1848
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1849
+ * @permissionScope Manage Restaurants - all permissions
1850
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1835
1851
  * @permissionScope Manage eCommerce - all permissions
1836
1852
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1837
1853
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1857,6 +1873,8 @@ interface DeliveryProfileUpdatedEnvelope {
1857
1873
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1858
1874
  * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read
1859
1875
  * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ
1876
+ * @permissionScope Manage Restaurants - all permissions
1877
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1860
1878
  * @permissionScope Manage eCommerce - all permissions
1861
1879
  * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1862
1880
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -1975,7 +1993,7 @@ interface UpdateDeliveryProfile {
1975
1993
  * Deletes a delivery profile.
1976
1994
  *
1977
1995
  *
1978
- * Permanently deletes the delivery profile, including all associated delivery regions and carrier configurations. This action can't be undone.
1996
+ * Permanently deletes the delivery profile and its delivery regions and carrier configurations. Delivery regions are unique to each profile and aren't shared across profiles. This action can't be undone.
1979
1997
  *
1980
1998
  * The default delivery profile can't be deleted because every site requires one for core delivery functionality.
1981
1999
  * @param deliveryProfileId - Delivery profile ID.
@@ -1996,9 +2014,7 @@ declare function deleteDeliveryProfile(deliveryProfileId: string): Promise<void>
1996
2014
  * - `paging.limit` is `50`.
1997
2015
  * - `paging.offset` is `0`.
1998
2016
  *
1999
- * For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/supported-filters).
2000
- *
2001
- * To learn how to query delivery profiles, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
2017
+ * To learn how to query delivery profiles, see [API Query Language](hhttps://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).
2002
2018
  * @public
2003
2019
  * @documentationMaturity preview
2004
2020
  * @permissionId ECOM.DELIVERY_PROFILE_READ
@@ -2231,13 +2247,13 @@ interface UpdateDeliveryRegion {
2231
2247
  */
2232
2248
  active?: boolean | null;
2233
2249
  /**
2234
- * Delivery carriers assigned to this region. Carriers are managed using the Add Delivery Carrier, Update Delivery Carrier, and Remove Delivery Carrier methods.
2250
+ * Delivery carriers assigned to this region. Carriers are managed using the [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier), [Update Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/update-delivery-carrier), and [Remove Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/remove-delivery-carrier) methods.
2235
2251
  * @maxSize 25
2236
2252
  * @readonly
2237
2253
  */
2238
2254
  deliveryCarriers?: DeliveryCarrier[];
2239
2255
  /**
2240
- * Geographic destinations covered by this region. If empty, the region applies globally.
2256
+ * Geographic destinations covered by this region. If empty, the region applies globally (Rest of World). A site can have up to 250 destinations across all delivery profiles.
2241
2257
  * @maxSize 250
2242
2258
  */
2243
2259
  destinations?: Destination[];
@@ -2269,6 +2285,9 @@ declare function getDeliveryProfileByDeliveryRegionId(deliveryRegionId: string):
2269
2285
  }>;
2270
2286
  /**
2271
2287
  * Removes a delivery region from a delivery profile.
2288
+ *
2289
+ *
2290
+ * You can remove all delivery regions from a profile, leaving the profile empty. An empty profile won't provide shipping options until a new delivery region is added.
2272
2291
  * @public
2273
2292
  * @documentationMaturity preview
2274
2293
  * @requiredField identifiers
@@ -2345,6 +2364,11 @@ interface RemoveDeliveryCarrierOptions {
2345
2364
  }
2346
2365
  /**
2347
2366
  * Updates a delivery carrier's settings in a delivery region.
2367
+ *
2368
+ *
2369
+ * This method updates an existing carrier's settings (such as backup rate and additional charges) using a partial update. Only the fields you provide are updated; other carrier settings remain unchanged.
2370
+ *
2371
+ * To add a new carrier to a region, use [Add Delivery Carrier](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/add-delivery-carrier).
2348
2372
  * @param deliveryRegionId - Delivery region ID.
2349
2373
  * @public
2350
2374
  * @documentationMaturity preview
@@ -2389,7 +2413,7 @@ declare function getDeliveryDestinationProperties(): Promise<NonNullablePaths<Ge
2389
2413
  * Retrieves delivery carrier settings for a delivery profile.
2390
2414
  *
2391
2415
  *
2392
- * Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than List Installed Delivery Carriers.
2416
+ * Returns detailed carrier configurations, including regional settings for each carrier. This method provides more comprehensive information than [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).
2393
2417
  * @param deliveryProfileId - Delivery profile ID.
2394
2418
  * @public
2395
2419
  * @documentationMaturity preview
@@ -2428,7 +2452,7 @@ declare function updateCarrierSettings(carrierId: string, options: NonNullablePa
2428
2452
  }>;
2429
2453
  interface UpdateCarrierSettingsOptions {
2430
2454
  /**
2431
- * ID of the dashboard table row that triggered the change.
2455
+ * Row ID in the carrier's dashboard settings table that identifies the specific shipping configuration to update. Retrieved from [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
2432
2456
  * @format GUID
2433
2457
  */
2434
2458
  rowId: string;
@@ -2453,7 +2477,9 @@ declare function setDeliveryCarrierActiveStatus(carrierAppId: string, options: N
2453
2477
  }>;
2454
2478
  interface SetDeliveryCarrierActiveStatusOptions {
2455
2479
  /**
2456
- * Row ID that triggered the change.
2480
+ * Row identifier in the carrier's dashboard settings table that identifies the specific shipping configuration to update.
2481
+ *
2482
+ * Pass the `row.key` field from the response of [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).
2457
2483
  * @format GUID
2458
2484
  */
2459
2485
  rowId: string;
@@ -2461,7 +2487,7 @@ interface SetDeliveryCarrierActiveStatusOptions {
2461
2487
  active: boolean | null;
2462
2488
  }
2463
2489
  /**
2464
- * Updates extended fields of a DeliveryProfile without incrementing revision
2490
+ * Updates extended fields of a delivery profile without incrementing revision.
2465
2491
  * @param _id - ID of the entity to update.
2466
2492
  * @param namespace - Identifier for the app whose extended fields are being updated.
2467
2493
  * @public