Skip to content

Commit cd4568d

Browse files
committed
Updated API from documentation release
1 parent 7fc8977 commit cd4568d

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-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: NonOrderableCartError
5+
discriminatorValue: non_orderable_cart_error
6+
description: |
7+
Generated when the Order could not be created due to inconsistencies in the [Cart](/../api/projects/carts).
8+
properties:
9+
code:
10+
type: string
11+
description:
12+
severity:
13+
type: string
14+
description: \`error`
15+
message:
16+
type: string
17+
description: This cart is not orderable.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
21+
payload:
22+
type: object
23+
description: Contains the `cart` object with the `id` and `errors` properties.

api-specs/checkout/types/types.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ UnavailableLocale: !include responses/UnavailableLocale.raml
5656
DeprecatedFields: !include responses/DeprecatedFields.raml
5757
OrderCreationError: !include responses/OrderCreationError.raml
5858
CartWithExistingPayment: !include responses/CartWithExistingPayment.raml
59+
NonOrderableCartError: !include responses/NonOrderableCartError.raml
5960
UnsupportedCountry: !include responses/UnsupportedCountry.raml
6061
UpdatedFields: !include responses/UpdatedFields.raml
6162

0 commit comments

Comments
 (0)