Skip to main content

Map Courier To Shipping Method

POST 

/api/shippit/instances/:integration_instance/couriers/:courier/link

Map a courier (its courier type / service level) to an internal shipping method so the dispatcher knows which courier to request when submitting an order. Send shipping_method_id as null (or omit it) to remove an existing mapping. Returns the updated courier.

Body parameters:

  • shipping_method_id (integer, nullable) — the internal shipping method id to map to. Must reference an existing shipping method. Null or omitted unlinks the courier.

Returns 404 when the courier cannot be found, and 422 when shipping_method_id does not reference an existing shipping method.

Authenticate with a Bearer token.

Request

Responses

OK

Response Headers
    Content-Type