Shipping & logistics
ShipEngine mock API
ShipEngine shipping API: shipments, labels, batches, carriers, warehouses, tags and webhooks.
At a glance
- Operations
- 97
- Stateful operations
- 41
- Stateful resources
- 7
- Webhook events
- 2
- Vendor API version
- v1
- Verification
- Spec-verified
How it works
Use ShipEngine without calling ShipEngine (Auctane)
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
api-key: TEST_MockApiKey0123456789abcdefghijklmnop State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Shipments | 6 |
| Labels | 7 |
| Batches | 8 |
| Carriers | 3 |
| Warehouses | 5 |
| Webhooks | 5 |
| Tags | 8 |
Webhooks
Events your handlers can receive
- track
- batch
Deliveries are unsigned: ShipEngine signs webhooks with RSA-SHA256 (x-shipengine-rsa-sha256-signature over '<timestamp>.<body>', JWKS-published key); the private key is not reproducible.
Coverage
97 operations
41 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 55 |
| Batches | 8 |
| Tags | 8 |
| Labels | 7 |
| Shipments | 6 |
| Warehouses | 5 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
4 operations cannot be checked against the specification.
Source and limits
License, source and limits
- Generated from the ShipEngine (Auctane) API description, licensed under Proprietary (no licence published; ShipEngine API terms).
- ShipEngine (Auctane) API documentation
- Source specification
Each collection (shipments, labels, batches, warehouses, webhooks, tags) holds up to 1 MiB of objects per API-Key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Creating shipments stores the first shipment of a request only; labels created from /v1/labels or a rate are not linked to a stored shipment, and a label from a stored shipment turns it label_purchased. A label outside a batch reports batch_id 'se-0' and carrier service entries repeat the carrier id as carrier_code (both because the vendor schema demands it). Batches move open to processing on process, and read as completed 1.5 s later; the list derives the same completion (status filter and completed count) from the process time without any prior read, and processed_at is the process time plus 1 s on both the list and a get, so it is stable across calls. Page sizes follow page_size (default 25) with at most 200 pages; link hrefs omit other filters. Carriers are seeded and read-only. Rates, tracking, pickups, manifests, package types, account settings and every other operation are schema-valid stateless samples. Webhooks (track on label creation, batch on completion) are registered through /v1/environment/webhooks, one per event, and delivered unsigned because ShipEngine's RSA signature cannot be reproduced.
MaxoPerf is not affiliated with, endorsed by, or sponsored by ShipEngine (Auctane). ShipEngine is a trademark of its owner.