From fc9f29f7bfe0e51e1f89d69d7dc0e7674e1b2e30 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:12:18 +0000 Subject: [PATCH] Updated API from documentation release --- .../updates/CustomerSetDefaultShippingAddressAction.raml | 1 - api-specs/api/types/error/MissingTaxRateForCountryError.raml | 2 +- .../error/graphql/GraphQLMissingTaxRateForCountryError.raml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api-specs/api/types/customer/updates/CustomerSetDefaultShippingAddressAction.raml b/api-specs/api/types/customer/updates/CustomerSetDefaultShippingAddressAction.raml index 769a00573..896b6c123 100644 --- a/api-specs/api/types/customer/updates/CustomerSetDefaultShippingAddressAction.raml +++ b/api-specs/api/types/customer/updates/CustomerSetDefaultShippingAddressAction.raml @@ -8,7 +8,6 @@ description: | Sets the default shipping address from `addresses`. The action adds the `id` of the specified address to the `shippingAddressIds` if not contained already. Either `addressId` or `addressKey` is required. - If the Tax Category of the Cart [ShippingInfo](ctp:api:type:ShippingInfo) is missing the TaxRate matching country and state given in the `shippingAddress` of that Cart, a [MissingTaxRateForCountry](ctp:api:type:MissingTaxRateForCountryError) error is returned. properties: addressId?: type: string diff --git a/api-specs/api/types/error/MissingTaxRateForCountryError.raml b/api-specs/api/types/error/MissingTaxRateForCountryError.raml index 046b85a46..6182250c2 100644 --- a/api-specs/api/types/error/MissingTaxRateForCountryError.raml +++ b/api-specs/api/types/error/MissingTaxRateForCountryError.raml @@ -8,7 +8,7 @@ description: | The error is returned as a failed response to: - - [Set Default Shipping Address](ctp:api:type:CustomerSetDefaultShippingAddressAction), [Add LineItem](ctp:api:type:CartAddLineItemAction), [Add CustomLineItem](ctp:api:type:CartAddCustomLineItemAction), [Set Shipping Address](ctp:api:type:CartSetShippingAddressAction), [Add LineItem](ctp:api:type:MyCartAddLineItemAction), [Add LineItem](ctp:api:type:StagedOrderAddLineItemAction), and [Add CustomLineItem](ctp:api:type:StagedOrderAddCustomLineItemAction) update actions + - [Add LineItem](ctp:api:type:CartAddLineItemAction), [Add CustomLineItem](ctp:api:type:CartAddCustomLineItemAction), [Set Shipping Address](ctp:api:type:CartSetShippingAddressAction), [Add LineItem](ctp:api:type:MyCartAddLineItemAction), [Add LineItem](ctp:api:type:StagedOrderAddLineItemAction), and [Add CustomLineItem](ctp:api:type:StagedOrderAddCustomLineItemAction) update actions - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST) requests. properties: code: diff --git a/api-specs/api/types/error/graphql/GraphQLMissingTaxRateForCountryError.raml b/api-specs/api/types/error/graphql/GraphQLMissingTaxRateForCountryError.raml index 41959c342..28435a514 100644 --- a/api-specs/api/types/error/graphql/GraphQLMissingTaxRateForCountryError.raml +++ b/api-specs/api/types/error/graphql/GraphQLMissingTaxRateForCountryError.raml @@ -8,7 +8,7 @@ description: | The error is returned as a failed response to: - - [Set Default Shipping Address](ctp:api:type:CustomerSetDefaultShippingAddressAction), [Add LineItem](ctp:api:type:CartAddLineItemAction), [Add CustomLineItem](ctp:api:type:CartAddCustomLineItemAction), [Set Shipping Address](ctp:api:type:CartSetShippingAddressAction), [Add LineItem](ctp:api:type:MyCartAddLineItemAction), [Add LineItem](ctp:api:type:StagedOrderAddLineItemAction), and [Add CustomLineItem](ctp:api:type:StagedOrderAddCustomLineItemAction) update actions + - [Add LineItem](ctp:api:type:CartAddLineItemAction), [Add CustomLineItem](ctp:api:type:CartAddCustomLineItemAction), [Set Shipping Address](ctp:api:type:CartSetShippingAddressAction), [Add LineItem](ctp:api:type:MyCartAddLineItemAction), [Add LineItem](ctp:api:type:StagedOrderAddLineItemAction), and [Add CustomLineItem](ctp:api:type:StagedOrderAddCustomLineItemAction) update actions - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST) requests. properties: code: