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.

PageUsed by
Typed IDsOrders, Checkout Sessions, and all other resources
ScalarsDateTime, CurrencyAmount, and other primitive value types
AddressesOrders, Customers, Locations, KYB
PaginationAll list endpoints
MetadataOrders and any other resource that accepts user-defined keys

For the shape of error responses returned by every endpoint, see Errors.