Skip to content

Commit

Permalink
TASK: Updating RAML types, Postman and OAS definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Jun 11, 2024
1 parent 8afe41d commit 91a1354
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions oas/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5700,7 +5700,7 @@ paths:
- "view_orders:{projectKey}"
operationId: ByProjectKeyCartsCustomerIdByCustomerIdGet
description: |-
Retrieves the recently modified active Cart of a Customer with [CartOrigin](ctp:api:type:CartOrigin) `Customer`. If no active Cart exists, this method returns a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error.
Retrieves the most recently modified active Cart of a Customer with [CartOrigin](ctp:api:type:CartOrigin) `Customer`. If no active Cart exists, this method returns a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error.

To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the [Recalculate](ctp:api:type:CartRecalculateAction) update action.
parameters:
Expand Down Expand Up @@ -10749,7 +10749,7 @@ paths:
- "view_orders:{projectKey}:{storeKey}"
operationId: ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet
description: |-
Retrieves the recently modified active Cart of a Customer with [CartOrigin](ctp:api:type:CartOrigin) `Customer`. If no active Cart exists, this method returns a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error.
Retrieves the most recently modified active Cart of a Customer with [CartOrigin](ctp:api:type:CartOrigin) `Customer`. If no active Cart exists, this method returns a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error.

If the Cart exists in the Project but does not have the `store` field, or the `store` field references a different Store, this method returns a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error.

Expand Down Expand Up @@ -36894,7 +36894,8 @@ components:
- Frozen
x-annotation-package: "Cart"
x-annotation-enumDescriptions:
Active: "The default state where a Cart can be updated and ordered.n"
Active: "The default state where a Cart can be updated and ordered. A [Customer](ctp:api:type:Customer)
can have more than one active Cart.n"
Merged: "An anonymous Cart was merged into a Customer's Cart on [sign-in](ctp:api:endpoint:/{projectKey}/login:POST),
and no further operations are allowed on the Cart.n"
Ordered: "A Cart was [ordered](ctp:api:endpoint:/{projectKey}/orders:POST), and no
Expand Down

0 comments on commit 91a1354

Please sign in to comment.