Skip to content

Commit b5b44c6

Browse files
committed
TASK: Updating RAML types, Postman and OAS definition
1 parent 9e27b6b commit b5b44c6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

oas/api/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18957,6 +18957,7 @@ paths:
1895718957
Retrieves all the active ShippingMethods that can ship to the shipping address of the given Cart in a given [Store](ctp:api:type:Store).
1895818958
Each ShippingMethod contains exactly one ShippingRate with the flag `isMatching` set to `true`.
1895918959
This ShippingRate is used when the ShippingMethod is [added to the Cart](ctp:api:type:CartSetShippingMethodAction).
18960+
If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array.
1896018961
parameters:
1896118962
- name: cartId
1896218963
in: query
@@ -32665,6 +32666,7 @@ paths:
3266532666
Retrieves all the active ShippingMethods that can ship to the shipping address of the given Cart.
3266632667
Each ShippingMethod contains exactly one ShippingRate with the flag `isMatching` set to `true`.
3266732668
This ShippingRate is used when the ShippingMethod is [added to the Cart](ctp:api:type:CartSetShippingMethodAction).
32669+
If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array.
3266832670
parameters:
3266932671
- name: cartId
3267032672
in: query
@@ -32713,7 +32715,7 @@ paths:
3271332715
- "manage_my_orders:{projectKey}"
3271432716
operationId: ByProjectKeyShippingMethodsMatchingCartHead
3271532717
description: |-
32716-
Checks if an active ShippingMethod exists for the given Cart. Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise.
32718+
Checks if an active ShippingMethod exists for the given Cart. If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array. Returns a `200 OK` status if the ShippingMethod exists or a `404 Not Found` otherwise.
3271732719
parameters:
3271832720
- name: cartId
3271932721
in: query
@@ -32762,6 +32764,7 @@ paths:
3276232764
with a `predicate` that matches the given Cart.
3276332765
Each ShippingMethod contains exactly one ShippingRate with the flag `isMatching` set to `true`.
3276432766
This ShippingRate is used when the ShippingMethod is [added to the Cart](ctp:api:type:CartSetShippingMethodAction).
32767+
If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array.
3276532768
parameters:
3276632769
- name: country
3276732770
in: query
@@ -32888,6 +32891,7 @@ paths:
3288832891
If the `currency` parameter is given, then the ShippingMethods must also have a rate defined in the specified currency.
3288932892
Each ShippingMethod contains at least one ShippingRate with the flag `isMatching` set to `true`.
3289032893
If the `currency` parameter is given, exactly one ShippingRate will contain it.
32894+
If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array.
3289132895
parameters:
3289232896
- name: country
3289332897
in: query
@@ -33018,7 +33022,7 @@ paths:
3301833022
operationId: ByProjectKeyShippingMethodsMatchingOrdereditGet
3301933023
description: |-
3302033024
Retrieves all the active ShippingMethods that can ship to the given [Location](ctp:api:type:Location) for an [OrderEdit](ctp:api:type:OrderEdit).
33021-
33025+
If a matching ShippingMethod has `isDefault` set to `true`, it is returned as the first item in the array.
3302233026
If the OrderEdit preview cannot be generated, an [EditPreviewFailed](ctp:api:type:EditPreviewFailedError) error is returned.
3302333027
parameters:
3302433028
- name: orderEditId

0 commit comments

Comments
 (0)