tray-perfis-cliente

Manage customer profiles and group associations via Tray API endpoints.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage and organize customer groups (profiles) to enable targeted pricing, segmented promotions, and easier B2B/B2C workflows, removing manual association overhead and reducing errors when applying group-based rules.

Core Features & Use Cases

  • Profile CRUD: Create, read, update, and delete customer profiles via Tray API endpoints to maintain group definitions like "Atacado" or "VIP".
  • Association Management: Associate and dissociate customers to profiles for applying pricing or discount rules and for segment-based marketing.
  • Use Case: Create a "Wholesale" profile, associate high-volume buyers to it, and link that profile to a B2B price list to automatically apply discounted pricing.

Quick Start

List all customer profiles and associate customer 50 with the profile ID 3 using the Tray API with a valid access_token.

Frequently Asked Questions about tray-perfis-cliente

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

FAQPage Schema
How do I manage customer profiles and group associations via the Tray API?

Manage customer profiles via Tray API by performing CRUD operations on profile endpoints and using association endpoints to link or unlink customers, requiring an OAuth access_token for authentication and supporting pagination for large result sets.

What is customer profile association used for in e-commerce integrations?

Customer profile association groups buyers into segments like Wholesale or VIP to apply targeted pricing, segmented promotions, and B2B/B2C workflows, removing manual association overhead and reducing errors when applying group-based rules.

How to associate customers with a specific profile using Tray API endpoints?

Associate customers with a specific profile by calling the Tray API customer-to-profile linking endpoints with a valid OAuth access_token, sending the customer ID and target profile ID to establish the group association for segmented pricing.

Does the Tray API require OAuth authentication for customer profile CRUD operations?

Yes, the Tray API requires OAuth access_token authentication to authorize customer profile CRUD operations, ensuring secure management of profile creation, listing, updating, deletion, and customer-to-profile linking endpoints.

Can I use Tray API profile associations for B2B targeted pricing workflows?

Yes, create a profile such as Wholesale, associate high-volume buyers to it using the Tray API, and link that profile to a B2B price list to automatically apply discounted pricing for targeted B2B workflows.