Skip to content

Commit 0323605

Browse files
committed
Updated API from documentation release
1 parent cac013e commit 0323605

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+160
-7
lines changed

api-specs/checkout/examples/message/ErrorInitBadConfigMessage.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"project": {
77
"key": "{projectKey}"
88
}
9-
}
10-
}
9+
},
10+
"correlationId": "spa/commercetools-checkout/1729263187262/565301612087128"
11+
}

api-specs/checkout/examples/message/InfoOrderCreatedMessage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"order": {
77
"id": "{orderId}"
88
}
9-
}
9+
},
10+
"correlationId": "spa/commercetools-checkout/1729263187262/565301612087128"
1011
}

api-specs/checkout/types/responses/AddDiscountCodeError.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
message:
1616
type: string
1717
description: Error adding discount code.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
1821
payload:
1922
type: object
2023
description: Contains the `error` object.

api-specs/checkout/types/responses/ApplicationDeactivated.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
message:
1616
type: string
1717
description: Application `{applicationKey}` for `{projectKey}` is disabled.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
1821
payload:
1922
type: object
2023
description: Contains the `project` and `application` objects with the related `key` property.

api-specs/checkout/types/responses/BadInputData.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
message:
1616
type: string
1717
description: Some fields are invalid.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
1821
payload:
1922
type: object
2023
description: Contains the `invalidFields` array of objects with the related `schema`, `path`, `value` and `message` properties.

api-specs/checkout/types/responses/CartEmptiedDuringCheckout.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
message:
1616
type: string
1717
description: Cart `{cartId}` was emptied during checkout.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
1821
payload:
1922
type: object
2023
description: Contains the `cart` object with the `id` property.

api-specs/checkout/types/responses/CartEmpty.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
message:
1616
type: string
1717
description: Cart `{cartId}` is empty.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
1821
payload:
1922
type: object
2023
description: Contains the `cart` object with the `id` property.

api-specs/checkout/types/responses/CartNotFound.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
message:
1616
type: string
1717
description: Cart for `{projectKey}` and session `{sessionId}` not found.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
1821
payload:
1922
type: object
2023
description: Contains the `project` and `session` objects with the related `key` and `id` properties.

api-specs/checkout/types/responses/CartWithExistingPayment.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ properties:
1515
message:
1616
type: string
1717
description: Cart with existing approved payment.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.
1821
payload:
1922
type: object
2023
description: Contains the `cart` object with the `id` property.

api-specs/checkout/types/responses/CheckoutCancelled.raml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ properties:
1515
message:
1616
type: string
1717
description: Checkout cancelled.
18+
correlationId:
19+
type: string
20+
description: Unique identifier of the event.

0 commit comments

Comments
 (0)