From d9d9c324cac38a831857ff6bd6e86692d3120954 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:42:46 +0000 Subject: [PATCH] Updated API from documentation release --- .../types/responses/PermissionsNotFound.raml | 17 +++++++++++++++++ api-specs/checkout/types/types.raml | 1 + 2 files changed, 18 insertions(+) create mode 100644 api-specs/checkout/types/responses/PermissionsNotFound.raml diff --git a/api-specs/checkout/types/responses/PermissionsNotFound.raml b/api-specs/checkout/types/responses/PermissionsNotFound.raml new file mode 100644 index 000000000..d67fd9b16 --- /dev/null +++ b/api-specs/checkout/types/responses/PermissionsNotFound.raml @@ -0,0 +1,17 @@ +#%RAML 1.0 DataType +(annotations.package): responses +type: Message +displayName: PermissionsNotFound +discriminatorValue: no_permissions_found +description: | + Generated when no [permissions](/permissions-subscription) to create a Composable Commerce API Client are found. To create permissions, in the Merchant Center navigation menu, go to any page under **commercetools Checkout** and click **Confirm creation**. +properties: + code: + type: string + description: + severity: + type: string + description: \`warn` + message: + type: string + description: No permissions are found in your commercetools Checkout. diff --git a/api-specs/checkout/types/types.raml b/api-specs/checkout/types/types.raml index ba81708f4..617d9dbd5 100644 --- a/api-specs/checkout/types/types.raml +++ b/api-specs/checkout/types/types.raml @@ -33,6 +33,7 @@ PaymentValidationPassed: !include responses/PaymentValidationPassed.raml PaymentValidationStarted: !include responses/PaymentValidationStarted.raml PaymentVerificationStarted: !include responses/PaymentVerificationStarted.raml PaymentVerificationTimeout: !include responses/PaymentVerificationTimeout.raml +PermissionsNotFound: !include responses/PermissionsNotFound.raml ExternalTermsAndConditionsPending: !include responses/ExternalTermsAndConditionsPending.raml SetShippingAddressError: !include responses/SetShippingAddressError.raml NoShippingMethods: !include responses/NoShippingMethods.raml