Pallet types define the named size-and-weight categories that the Ship Quote rate engine uses to classify an incoming shipment. Each agency configures its own set of pallet types — for example, Cayco uses seven tiers from MINI (150 kg) through SUPER (1 200 kg), while Tecum defines formats such as QUARTER PALLET and FULL PALLET. When a quote request arrives, the engine matches the item’s dimensions and weight against these constraints to select the correct base price row from the agency’s rate table.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/plantasur-dev/ship-quote/llms.txt
Use this file to discover all available pages before exploring further.
Pallet types are agency-scoped. Each
PalletType document is linked to a single agency via agencyId. The rate engine queries only the pallet types that belong to the agency being evaluated, then walks the list in order of increasing maxWeight to find the smallest tier that fits the shipment.POST /api/v1/pallets
Create a new pallet type for an agency.Request body
MongoDB ObjectId of the agency this pallet type belongs to. Must reference an existing agency document.
Human-readable label for the tier (max 60 characters). Examples from live data:
"MINI", "CUARTO", "PLUMA", "QUARTER PALLET", "FULL PALLET", "EURO PALLET".Physical limits that define this tier. The rate engine uses
maxWeight to select the tier; dimension fields default to 0 when omitted (meaning no dimensional limit is enforced).Response — 201 Created
MongoDB ObjectId of the newly created pallet type.
ObjectId of the owning agency.
Pallet type label as stored.
The physical limits that were saved.
ISO 8601 timestamp of creation.
ISO 8601 timestamp of last update.
Examples
GET /api/v1/pallets
Return all pallet types across all agencies. Returns404 when no documents exist in the collection.
Response — 200 OK
An array of pallet type objects. Each object has the same shape as thePOST 201 response above.
Example
GET /api/v1/pallets/:palletTypeId
Retrieve the details of a single pallet type by its MongoDB ObjectId.Path parameters
MongoDB ObjectId of the pallet type to retrieve.
Response — 200 OK
A single pallet type object (same shape as thePOST 201 response).
Error responses
| Status | Condition |
|---|---|
404 Not Found | No pallet type document exists with the given palletTypeId. |
Example
DELETE /api/v1/pallets/:palletTypeId
Permanently delete a pallet type. The rate engine will no longer be able to classify shipments that were previously matched against this tier, so remove with care.Path parameters
MongoDB ObjectId of the pallet type to delete.
Response — 204 No Content
Empty body on success. This endpoint always returns204 — it does not return 404 if the given ID does not exist.
Example
Bootstrap reference — real pallet types
The following tables show the pallet tiers loaded by the built-in seed data for Cayco and Tecum, giving you concrete examples of the constraint values in production use.Cayco pallet types
| Name | Max Weight (kg) | Max Length (cm) | Max Width (cm) | Max Height (cm) |
|---|---|---|---|---|
| MINI | 150 | 120 | 100 | 60 |
| CUARTO | 300 | 120 | 100 | 80 |
| PLUMA | 300 | 120 | 80 | 220 |
| MEDIO | 450 | 120 | 100 | 180 |
| LIGERO | 600 | 120 | 100 | 220 |
| COMPLETO | 800 | 120 | 100 | 180 |
| SUPER | 1 200 | 120 | 100 | 220 |
Tecum pallet types
| Name | Max Weight (kg) | Max Length (cm) | Max Width (cm) | Max Height (cm) |
|---|---|---|---|---|
| MINI QUARTER PALLET | 150 | 120 | 1000 | 80 |
| MINI QUARTER PALLET (compact) | 150 | 60 | 80 | 120 |
| QUARTER PALLET | 300 | 120 | 120 | 110 |
| SUPER EURO LIGHT PALLET | 300 | 120 | 80 | 220 |
| EXTRA LIGHT PALLET | 450 | 120 | 100 | 220 |
| HALF PALLET | 600 | 120 | 100 | 160 |
| EURO PALLET | 900 | 120 | 80 | 220 |
| FULL PALLET | 1 200 | 120 | 100 | 220 |