Rename cart
Updates the customer-facing name of an existing cart.
PATCH
/api/carts/{handle}/nameUpdates the customer-facing name of an existing cart.
Path Parameters
handle*string
Stable handle used in routes and lookups.
Example
"starter-catalog"Request Body
application/json
Request payload for Rename cart.
cartId*string
Cart identifier to rename for the current session.
Example
"cart_123"name*|
Customer-facing cart name. Empty names are cleared.
Example
"Mantencion abril"[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json