Platform Types
Foundational types used throughout the Decal API — typed IDs, addresses, pagination, metadata, and other primitives.
These are the foundational types shared across Decal's API. Domain-specific schemas (Order, CheckoutSession, etc.) live alongside their endpoint docs.
| Page | Used by |
|---|---|
| Typed IDs | Orders, Checkout Sessions, and all other resources |
| Scalars | DateTime, CurrencyAmount, and other primitive value types |
| Addresses | Orders, Customers, Locations, KYB |
| Pagination | All list endpoints |
| Metadata | Orders and any other resource that accepts user-defined keys |
For the shape of error responses returned by every endpoint, see Errors.