Connections
Update fulfillment mapping
Replaces the warehouses that feed the external locations.
PATCH/v1/connections/{id}/fulfillment-mapping
Coming soon
This route is not in the API yet. This page shows what it will do. Fields, examples and the playground arrive when it ships.
Send entries with locationId and warehouseIds. The locations you send are replaced, the omitted ones stay as they are, and warehouseIds: [] clears that location's mapping. The answer is the whole mapping.
Errors:
404: location from another Connection or warehouse from another seller.400:marketplace_fulfillmentlocation (read-only) or a warehouse repeated in two locations.409: archived warehouse (warehouse_archived).
The route does not publish stock. To publish with the new mapping, request an inventory publication. The change fires the connection.updated webhook.
Part of Stay in sync.