Map Shipping Method
PUT/api/odoo-3pl/:integration_instance/shipping-methods/mappings/:shippingMethod
Sets or clears the Odoo 3PL carrier 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 Odoo 3PL carrier. Send odoo_3pl_shipping_method_id: null to clear the mapping.
Several shipping methods may share one Odoo 3PL carrier — a Odoo 3PL catalog is normally coarser than a shipping-method list, so this is expected, not a conflict.
odoo_3pl_shipping_method_id is the ID of a synced catalog entry as returned by List Shipping Method Mappings.
Authentication: requires a Bearer token.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
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 — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Content
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.