com.atiproto.payment.cart.put

atiproto.com

Documentation

Update a cart. Only open carts can be updated.

main procedure

Update a cart. Only open carts can be updated.

Input

Encodingapplication/json
uri stringat-uri Required

AT-URI of the cart to update

Output

Encodingapplication/json
cid stringcid Optional

New CID of the updated record

uri stringat-uri Optional

Updated cart record URI

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
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."
}

Lexicon Garden

@