Skip to main content

Import Shipping Method Mappings (CSV)

POST 

/api/shipstation/integration-instances/:integration_instance/shipping-methods/import

Uploads a CSV of mappings (multipart/form-data).

Authorization

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):

  • code identifies the service (carrier_code|service_code); if blank, it is rebuilt from carrier_code + service_code columns
  • shipping_method_id (authoritative) or shipping_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 errors with 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

OK

Response Headers
    Content-Type