Update a cart. Only open carts can be updated.
Input
Encoding
application/jsonrecord
refcom.atiproto.cart
Required
No description available.
uri
stringat-uri
Required
AT-URI of the cart to update
workflow
refcom.atiproto.actions#inboundWorkflow
Optional
Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.
Output
Encoding
application/jsoncid
stringcid
Optional
New CID of the updated record
uri
stringat-uri
Optional
Updated cart record URI
workflow
refcom.atiproto.actions#outboundWorkflow
Optional
Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri",
"record"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the cart to update"
},
"record": {
"ref": "com.atiproto.cart",
"type": "ref"
},
"workflow": {
"ref": "com.atiproto.actions#inboundWorkflow",
"type": "ref",
"description": "Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls."
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "New CID of the updated record"
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "Updated cart record URI"
},
"workflow": {
"ref": "com.atiproto.actions#outboundWorkflow",
"type": "ref",
"description": "Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result."
}
}
},
"encoding": "application/json"
},
"description": "Update a cart. Only open carts can be updated."
}