Update cart comment
Stores or clears the customer comment associated with the active cart.
PATCH
/api/carts/{handle}/commentStores or clears the customer comment associated with the active cart.
Path Parameters
handle*string
Stable handle used in routes and lookups.
Example
"starter-catalog"Request Body
application/json
Request payload for Update cart comment.
cartId?|
cart identifier.
comment*|
Optional customer note stored with the cart.
Example
"Please deliver after 2pm"[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json