tray-cupons
OfficialCreate and manage Tray discount coupons
Authortray-tecnologia
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides clear, actionable documentation and examples to manage discount coupons in Tray, removing uncertainty about endpoints, payload formats, authentication, pagination, and relationship handling so developers can implement coupon workflows reliably.
Core Features & Use Cases
- Full CRUD for coupons: list, retrieve, create, update, and delete discount coupons via the /discount_coupons endpoints.
- Relationship management: bind coupons to customers, products, categories, brands, and shipping methods using the create_relationship endpoint and correct payload wrappers.
- Practical guidance: explains authentication (access_token query), pagination limits, required form-encoded wrappers, field meanings (code, type, value, limits), and best practices for batch operations and constraints.
Quick Start
Create a 10% coupon named PROMO10 valid for 30 days and bind it to product IDs 456 and 789 using the Tray /discount_coupons endpoints and the create_relationship POST.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tray-cupons Download link: https://github.com/tray-tecnologia/tray-api-claude-plugin/archive/main.zip#tray-cupons Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.