Skip to main content

Map Carrier/Service

PUT 

/api/starshipit/integration-instances/:integration_instance/shipping-methods/map

Creates or updates the mapping for a single carrier/service code to a SKU shipping method.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Request body:

  • code (string, required, max 255) — the carrier/service code, format "{carrier}|{carrier_service_code}"
  • shipping_method_id (integer, required) — must exist in shipping_methods

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type