Skip to content

Commit 8f053b3

Browse files
committed
Updated API from documentation release
1 parent fcc6480 commit 8f053b3

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#%RAML 1.0 DataType
2+
(annotations.package): responses
3+
type: ResponseMessage
4+
displayName: ShippingMethodSelected
5+
discriminatorValue: shipping_method_selected
6+
description: |
7+
Generated when the customer selects a Shipping Method that is different from the default option.
8+
properties:
9+
code:
10+
type: string
11+
description:
12+
severity:
13+
type: string
14+
description: \`info`
15+
message:
16+
type: string
17+
description: Shipping Method selected.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
21+
payload:
22+
type: object
23+
description: Contains the `method` object with the `name` and `id` properties.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#%RAML 1.0 DataType
2+
(annotations.package): responses
3+
type: ResponseMessage
4+
displayName: ShippingMethodSelectionConfirmation
5+
discriminatorValue: shipping_method_selection_confirmation
6+
description: |
7+
Generated when the customer selects a Shipping Method and moves to the next step of the checkout process.
8+
properties:
9+
code:
10+
type: string
11+
description:
12+
severity:
13+
type: string
14+
description: \`info`
15+
message:
16+
type: string
17+
description: Shipping Method selection confirmed.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
21+
payload:
22+
type: object
23+
description: Contains the `method` object with the `name` and `id` properties.

api-specs/checkout/types/types.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ SetShippingAddressError: !include responses/SetShippingAddressError.raml
5252
ShippingAddressMissingError: !include responses/ShippingAddressMissingError.raml
5353
ShippingMethodDoesNotMatchCart: !include responses/ShippingMethodDoesNotMatchCart.raml
5454
NoShippingMethods: !include responses/NoShippingMethods.raml
55+
ShippingMethodSelected: !include responses/ShippingMethodSelected.raml
56+
ShippingMethodSelectionConfirmation: !include responses/ShippingMethodSelectionConfirmation.raml
5557
OrderCreated: !include responses/OrderCreated.raml
5658
ProjectIsDeactivated: !include responses/ProjectIsDeactivated.raml
5759
UnavailableLocale: !include responses/UnavailableLocale.raml

0 commit comments

Comments
 (0)