tray-frete

Calculate shipping costs and methods for Tray stores via API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

API de Frete da Tray. Utilize quando o desenvolvedor precisar calcular valores de frete e consultar métodos de envio disponíveis. Inclui cálculo de frete por CEP com peso e dimensões, listagem de formas de envio configuradas na loja, e integração com gateways de frete como Frete-X API para cotação automática.

Core Features & Use Cases

  • Calcular frete por CEP com peso e dimensões.
  • Listar formas de envio configuradas na loja.
  • Integração com gateways de frete para cotação automática.

Quick Start

Compute freight by CEP for a cart and retrieve available shipping options to start the checkout flow.

Frequently Asked Questions about tray-frete

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

FAQPage Schema
How do I calculate shipping costs for a Tray store via API?

To calculate Tray shipping costs via API, you pass the destination ZIP code, product weight, and dimensions for single or multi-product carts, and the API returns structured options with price and delivery time.

What shipping methods can I retrieve from the Tray API during checkout?

The Tray API retrieves available shipping methods configured in the store, returning structured options with id, name, price, and delivery_time fields for single-product and multi-product carts.

Does the Tray shipping API support automatic quotes with external gateways?

Yes, the Tray shipping API integrates with freight gateways like Frete-X API for automatic quoting by ZIP code, applying weight and dimensions to compute costs directly.

How do I authenticate API requests to list configured shipping forms in Tray?

You authenticate Tray shipping API requests using token-based authentication, which is required to list configured shipping forms and compute freight values by ZIP code.

Can I calculate freight for multi-product carts using weight and dimensions in Tray?

Yes, the Tray freight API supports multi-product cart calculations by submitting the destination ZIP code, total weight, and dimensions to return available shipping options and costs.