Commerce CensusContactRequest access

API / Objects

The Memory object

An index is stateless; a shopper is not. Memory is written by you, scoped to one end user, and returned only to that namespace.

Fields

FieldTypeNotes
memory_id ·alwaysstringStable.
namespace ·alwaysstringYour scope for one end user or agent. Nothing crosses namespaces.
kind ·alwaysenumpreference | constraint | purchase | rejection | intent.
body ·alwaysstringThe fact, in plain language.
subjectobject | nullOptional product_id, brand or category it attaches to.
expires_attimestamp | nullConstraints outlive intents. Set deliberately.
JSON
{
  "memory_id": "mem_0c81a",
  "namespace": "user_9f21",
  "kind": "constraint",
  "body": "never recommend anything with a subscription attached",
  "expires_at": "2027-09-08T00:00:00Z"
}

Nuances

Write rejections

The most under-used kind. An agent that recommends the same rejected product twice loses trust permanently, and recording it costs one call.

Related

Watch · decide