Skip to main content

Map Shipping Method

PUT 

/api/trackstar/integration-instances/:integration_instance/shipping-methods/mappings/:shippingMethod

Sets or clears the Trackstar shipping method that one shipping method dispatches through.

The path parameter is the shipping method ID — the mapping is keyed on it, so a shipping method resolves to at most one Trackstar shipping method. Send trackstar_shipping_method_id: null to clear the mapping.

Several shipping methods may share one Trackstar shipping method — a Trackstar catalog is normally coarser than a shipping-method list, so this is expected, not a conflict.

trackstar_shipping_method_id is the ID of a synced catalog entry as returned by List Shipping Method Mappings.

Authentication: requires a Bearer token.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Request

Responses

OK

Response Headers
    Content-Type