Import Shipping Method Mappings (CSV)
POST/api/shipstation/integration-instances/:integration_instance/shipping-methods/import
Uploads a CSV of mappings (multipart/form-data).
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Body fields:
file— required, mimes: csv or txt, max 2048 KB. First row must be a header.
Row semantics (per line):
codeidentifies the service (carrier_code|service_code); if blank, it is rebuilt from carrier_code + service_code columnsshipping_method_id(authoritative) orshipping_method_name(fallback, matched case-insensitively against name or full_name) resolves the SKU.io shipping method- Both blank → the mapping for that code is deleted
- Unresolvable rows are collected into
errorswith their line numbers
Response data: {created, updated, deleted, errors[]} summary.
Errors:
- 422 — missing/invalid file (wrong mime type or > 2 MB)
Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 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.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.