Get Shiptheory Shipment Raw JSON
GET/api/shiptheory/:integration_instance/shipments/:shipment/raw
Fetches the live provider payload for the shipment on demand, resolved through its parent order's reference (Shiptheory has no shipment-level endpoint), and returns it wrapped as { data: { product: {...} }, fetched_at }.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Path parameter:
- integration_instance: the numeric id of the Shiptheory integration instance.
- shipment: the internal Shiptheory shipment id.
Returns 404 on a shipment / instance mismatch, 429 when Shiptheory rate-limits, or 422 when the provider call fails.
Authentication: requires a Bearer token.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Too Many Requests