Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Jun 11, 2024
1 parent d83eac0 commit 8afe41d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api-specs/api/resources/carts.raml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ post:
get:
securedBy: [oauth_2_0: { scopes: ['view_orders:{projectKey}'] }]
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.
responses:
Expand Down
2 changes: 1 addition & 1 deletion api-specs/api/resources/in-store.raml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ uriParameters:
},
]
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
2 changes: 1 addition & 1 deletion api-specs/api/types/cart/CartState.raml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum:
- Frozen
(enumDescriptions):
Active: |
The default state where a Cart can be updated and ordered.
The default state where a Cart can be updated and ordered. A [Customer](ctp:api:type:Customer) can have more than one active Cart.
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.
Ordered: |
Expand Down

0 comments on commit 8afe41d

Please sign in to comment.