Official SDKs
The TypeScript SDK is published as @beach-depository/sdk.Installation
Quick start
token is the same Bearer key from Getting Started. BeachApiEnvironment.Sandbox is https://sandbox.api.beachdepository.com. For live, pass baseUrl: "https://api.beachdepository.com". The client appends /v1.
Calls are grouped by resource:
A non-success response throws
BeachApiError, with statusCode, message, and body.
Idempotency
Creates for FBO accounts, addresses, aliases, inbound shipments, outbound requests, transfers, and webhooks take an optionalidempotencyKey. The client sends it as the Idempotency-Key header. Cancel and label rates do not accept the option.
Idempotency-Replayed: true.