Skip to main content

Update Mapping

PATCH 

/api/shiprush/instances/:integration_instance/shipping-methods/:shippingMethod

Edit a single mapping row. Only the mapped SKU shipping method is editable; accepts PUT or PATCH. Returns the updated row.

Not yet available to API tokens

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

Path parameter:

  • instance: the numeric ID of the ShipRush integration instance.
  • shippingMethod: the mapping row id.

Body fields:

  • shipping_method_id (integer, nullable): the SKU shipping method to map to. Must reference an existing shipping method; a null value clears the mapping.

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

Authentication: Requires a Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type