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.
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
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.