Skip to main content

Map Odoo 3PL Location to Warehouse

PUT 

/api/odoo-3pl/:integration_instance/locations/:locationId/mapping

Maps an Odoo 3PL location to a SKU.io warehouse, or clears the mapping. Stock in the location (and the bins inside it) rolls up to the mapped warehouse, and orders from that warehouse ship from this location.

Not yet available to API tokens

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

Body:

  • warehouse_id — integer, nullable, an existing warehouse ID. Send null to unmap.

The warehouse must either already belong to this Odoo 3PL instance, or be a Direct warehouse set to Manual fulfillment — in which case it is converted to an Odoo 3PL warehouse for this instance. A warehouse linked to another 3PL, or one that ships through another shipping provider, is rejected with 422.

Requires the integrations.update permission.

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type