Update Odoo 3PL Integration Instance
PUT/api/odoo-3pl/:integration_instance
Updates an Odoo 3PL integration instance. This is a partial update (PATCH is also accepted): send only the fields you want to change, and omitted settings keep their current values.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Body (all optional):
name— string, max 255, unique across integration instances.connection_settings— object:base_url— string. HTTPS URL ending in/api/v1/3pl.api_key— string, nullable. Must start with3pl_. An empty or null value keeps the stored key.
settings— object, optional:timezone— string, valid timezone identifier (defaultAmerica/Toronto). The timezone Odoo 3PL's naive date-times are read in.auto_create_products— boolean (default false).record_shipping_costs— boolean (default true). Record the shipping fee Odoo 3PL reports on each shipment as a fulfillment cost.sync_start_date— date, nullable. Anchor forfrom_start_datesyncs.fulfillment_cost_financial_line_type_id— integer, nullable, an existing financial line type ID used for recorded shipping costs.
is_automatic_sync_enabled— boolean, optional. Turns scheduled syncing on or off.
Requires the integrations.update permission.
Authentication: Bearer token (Personal Access 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
Response Headers
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.