Skip to content
v0.3

cart.remove_line

Remove a line from the cart.

  • Scope: public
  • System: no
  • Reachable from: an ANONYMOUS face — no credential, and never /v1/commands/*. Which path serves it is not derivable from the registry; see the anonymous faces.
  • Events: none — The cart is session state read no-store; durable history begins at the order.
{
"properties": {
"cart_id": {
"minLength": 1,
"type": "string"
},
"line_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"cart_id",
"line_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"line_id": {
"type": "string"
},
"removed": {
"type": "boolean"
}
},
"required": [
"line_id",
"removed"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)