Manage Warehouses
teapplix_manage_warehouseCreate, read, update, or delete warehouses, dispatched by Operation (get/create/update/delete). WarehouseId 1 (default) cannot be deleted; warehouses with active orders, channel mappings, or listings cannot be deleted. [DEMO]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 3PLKey | No | Identifies which account when you have multiple accounts at the same 3PL. Leave blank if you only have one account per 3PL. | |
| Operation | Yes | get: list/filter warehouses. create: new warehouse (WarehouseType and WarehouseName required). update: modify warehouse (WarehouseId or WarehouseName required). delete: remove warehouse (WarehouseId or WarehouseName required). | |
| CountryCode | No | ISO country code for the 3PL warehouse location. Applies to create/update. | |
| WarehouseId | No | Unique warehouse identifier. For get: exact match filter. For create: omit to auto-assign. For update/delete: identifies the warehouse. WarehouseId 1 is the default warehouse and cannot be deleted. | |
| WarehouseName | No | Warehouse display name. Must be unique across all warehouses. For get: case-insensitive substring filter. Required on create. For update/delete: exact-match identifier (alternative to WarehouseId). | |
| WarehouseType | No | Type of warehouse. Required on create. GENERIC: your own warehouse, inventory tracked in Teapplix. QB: inventory tracked in QuickBooks. RECONCILE: virtual warehouse to compare quantities against a 3rd-party report. DROPSHIP/DROPSHIP-T: dropship warehouses. FBA: Amazon Fulfillment. 3PL types (e.g. ECCANGWMS): third-party warehouses that manage your inventory. For 3PL and FBA types, WarehouseType cannot be changed after creation. | |
| 3PLWarehouseCode | No | Identifies a specific warehouse facility at the 3PL. Required on create for 3PL types. Links this warehouse entry to a facility for inventory tracking and order fulfillment. | |
| QuantityAlgorithm | No | Inventory quantity calculation method. CALCULATED: from credits/debits plus order activity (each inbound order debits inventory). STATIC: from credits/debits only, without order activity. FIXED: always shows a fixed quantity. Applicable to GENERIC and RECONCILE warehouse types only; ignored for externally managed warehouses. | |
| ReconcileForWarehouseId | No | Only for WarehouseType RECONCILE. The existing warehouse with this ID will have its paired reconcile warehouse set to the newly created warehouse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Warehouses | No |