docs: fix description of update cart OAS (#11278)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-02-03 14:34:26 +02:00
1 parent 65fae943c9
commit b61af03a63
3 files changed
+8 -4

No files matched your search

@@ -694,7 +694,7 @@ paths:
post:
operationId: PostCartsId
summary: Update a Cart
description: Update a cart's details. This unsets the shipping an payment methods chosen before, and the customer would have to choose them again.
description: Update a cart's details. This unsets the payment methods chosen before, and the customer would have to choose them again. Also, if the customer has chosen a shipping method whose option isn't valid for the cart's shipping address anymore, the shipping method will be unset. For example, if the shipping option is valid only in the US geo zone, and the shipping address's country code is `DE`, the shipping method will be unset.
x-authenticated: false
parameters:
- name: id
@@ -68,8 +68,12 @@ post:
operationId: PostCartsId
summary: Update a Cart
description: >-
Update a cart's details. This unsets the shipping an payment methods chosen
before, and the customer would have to choose them again.
Update a cart's details. This unsets the payment methods chosen before, and
the customer would have to choose them again. Also, if the customer has
chosen a shipping method whose option isn't valid for the cart's shipping
address anymore, the shipping method will be unset. For example, if the
shipping option is valid only in the US geo zone, and the shipping address's
country code is `DE`, the shipping method will be unset.
x-authenticated: false
parameters:
- name: id