Tapfiliate Customers API
Manage customers and their metadata
Operations 11
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Can I look up one referred customer by their ID?”
“What does Tapfiliate store about a single customer?”
Tell an agent
Get customer {id}.
Show me the record for customer {id}.
Ask an LLM
“Can I change the external identifier on an existing customer?”
“Is it possible to update the metadata of a customer I already have?”
Tell an agent
Change customer {id}'s external ID to {customer_id}.
Update customer {id} with metadata {meta_data}.
Ask an LLM
“How do I delete a customer record completely?”
“Can I remove a customer that was created by mistake?”
Tell an agent destructive · confirm first
Delete customer {id}.
Remove customer record {id} permanently.
Ask an LLM
“Which customers have been referred by my affiliates?”
“Can I page through all my customers?”
Tell an agent
List all customers.
Show page {page} of customers with {limit} per page.
Ask an LLM
“How do I register a referred customer, for example on a trial signup?”
“What identifier do I need to create a customer?”
Tell an agent
Create a customer with external ID {customer_id}.
Add customer {customer_id} with metadata {meta_data}.
Ask an LLM
“How do I mark a customer as cancelled when they churn?”
“Can I uncancel a customer who came back?”
Tell an agent
Set customer {id}'s status to {status}.
Cancel customer {id} by setting status {status}.
GET
/customers/{id}/meta-data/
Get all metadata for a customer · Retrieve meta data for a Customer
#
Ask an LLM
“What custom metadata is stored on a customer?”
“Can I fetch every metadata key on one customer at once?”
Tell an agent
Get all metadata for customer {id}.
Show the full metadata set on customer {id}.
PUT
/customers/{id}/meta-data/
Replace a customer's metadata · Update (replace) meta data for a Customer
#
Ask an LLM
“Can I overwrite a customer's whole metadata object in one call?”
“What happens to existing customer metadata keys when I replace it all?”
Tell an agent
Replace all metadata on customer {id}.
Overwrite the entire metadata set for customer {id}.
GET
/customers/{id}/meta-data/{key}/
Get one metadata key for a customer · Retrieve meta data by key for a Customer
#
Ask an LLM
“Can I read one metadata value on a customer by its key?”
“What value does a customer have for a specific metadata key?”
Tell an agent
Get metadata key {key} for customer {id}.
Show customer {id}'s {key} metadata value.
PUT
/customers/{id}/meta-data/{key}/
Set one metadata key on a customer · Set meta data by key for a Customer
#
Ask an LLM
“Can I set a single metadata key on a customer without touching the others?”
“Is there a way to update one customer metadata field?”
Tell an agent
Set metadata key {key} on customer {id}.
Update only the {key} metadata field for customer {id}.
DELETE
/customers/{id}/meta-data/{key}/
Delete one metadata key from a customer · Delete meta data by key for a Customer
#
Ask an LLM
“Can I remove a single metadata key from a customer?”
“How do I drop one custom field from a customer's metadata?”
Tell an agent destructive · confirm first
Delete metadata key {key} from customer {id}.
Remove the {key} metadata entry on customer {id}.
Documentation
Documentation
https://tapfiliate.com/docs/rest/
Authentication
https://tapfiliate.com/docs/rest/#authentication