tray-clientes

Manage Tray customer CRUD operations with CPF/CNPJ validation and newsletter preferences.

14|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tray-tecnologia/tray-api-claude-plugin --skill tray-clientes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tray-clientes
Source: https://github.com/tray-tecnologia/tray-api-claude-plugin/tree/main/skills/clientes
Command: npx skills add https://github.com/tray-tecnologia/tray-api-claude-plugin --skill tray-clientes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage Tray customer data through a unified API to streamline CRUD operations across clients, enabling easy listing, retrieval, creation, update, and deletion with CPF/CNPJ validation and newsletter preferences.

Core Features & Use Cases

  • CRUD operations for Tray customers: create, read, update, and delete customer records.
  • Brazilian validation: enforce CPF for individuals and CNPJ for businesses to maintain data integrity.
  • Newsletter management: manage subscription state as part of customer data.
  • Cross-entity integration: coordinate with addresses and profiles via related APIs for a complete customer lifecycle.

Quick Start

Authenticate with an access_token and begin by listing customers or creating a new one using the Tray customer API.

Frequently Asked Questions about tray-clientes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage customer data using the Tray API?

Manage customer data using the Tray API by performing CRUD operations through a unified API client. You can list, query, create, update, and delete customers while validating CPF or CNPJ and handling newsletter preferences.

Can I validate CPF and CNPJ when creating customers on Tray?

Validate CPF and CNPJ when creating customers on Tray to maintain data integrity. The API enforces CPF validation for individuals and CNPJ for businesses, ensuring only properly formatted Brazilian tax identifiers are accepted.

What do I need to authenticate and start querying Tray customer records?

To authenticate and query Tray customer records, you need an access_token. Once authenticated, you can immediately begin listing existing customers or creating new ones using the Tray customer API endpoints.

Does the Tray customer API support pagination for large e-commerce datasets?

The Tray customer API supports pagination-ready endpoints for scalable integration with large e-commerce datasets. This allows you to efficiently retrieve and manage extensive customer lists without hitting retrieval limits.

How can I manage newsletter preferences for Tray customers?

Manage newsletter preferences for Tray customers by updating their subscription state as part of the standard customer data. This integrates newsletter management directly into your regular customer CRUD operations.

Can I integrate Tray customer profiles with address management APIs?

Integrate Tray customer profiles with address management and related APIs to achieve a complete customer lifecycle. Coordinate cross-entity data to ensure customer records, addresses, and profiles are synchronized across your e-commerce workflows.