# Extensiv 3PL Warehouse Manager

> Create, update, ship and cancel orders, manage items and receivers, and read stock in Extensiv 3PL Warehouse Manager, and follow new and shipped orders.

App · 21 actions. Web page: https://docs.lodol.com/docs/integrations/extensiv

## Actions

### Activate or deactivate item

Deactivate an item so it can't be ordered or received, or activate it again.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- Item (`item_id`, number, required): The item. At least 1.
- Active (`active`, true/false, required): On activates the item; off deactivates it.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "cost": 1,
    "description": "example",
    "description2": "example",
    "inventoryCategory": "example",
    "itemId": 1,
    "options": {
      "inventoryUnit": {
        "maximumStock": 1,
        "minimumStock": 1,
        "reorderQuantity": 1,
        "unitIdentifier": {
          "id": 1,
          "name": "example"
        }
      }
    },
    "price": 1,
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "deactivated": true,
      "itemId": 1,
      "lastModifiedDate": "example"
    },
    "sku": "example",
    "upc": "example"
  }
}
```

### Cancel order

Cancel an order. This can't be undone.

**Inputs**

- Order (`order_id`, number, required): The order. At least 1.
- Reason (`reason`, text, required): Why the order is canceled.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "description": "example",
    "earliestShipDate": "example",
    "notes": "example",
    "orderItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "notes": "example",
        "qty": 1,
        "readOnly": {
          "fullyAllocated": true,
          "orderItemId": 1
        }
      }
    ],
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "fullyAllocated": true,
      "isClosed": true,
      "lastModifiedDate": "example",
      "orderId": 1,
      "packDoneDate": "example",
      "pickDoneDate": "example",
      "processDate": "example",
      "status": 1
    },
    "referenceNum": "example",
    "routingInfo": {
      "account": "example",
      "billOfLading": "example",
      "carrier": "example",
      "loadNumber": "example",
      "mode": "example",
      "pickupDate": "example",
      "scacCode": "example",
      "trackingNumber": "example"
    },
    "shipCancelDate": "example",
    "shipTo": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "companyName": "example",
      "country": "example",
      "emailAddress": "example",
      "name": "example",
      "phoneNumber": "example",
      "state": "example",
      "zip": "example"
    },
    "shippingNotes": "example",
    "totalWeight": 1
  }
}
```

### Confirm order (ship)

Confirm an order as shipped, optionally with its tracking number. A confirmed order can't be changed.

**Inputs**

- Order (`order_id`, number, required): The order. At least 1.
- Tracking number (`tracking_number`, text): The tracking number. Leave empty to keep the one the order has.
- Shipped at (`confirmed_at`, date and time): When it shipped. Leave empty for now; it can't be in the future.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "description": "example",
    "earliestShipDate": "example",
    "notes": "example",
    "orderItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "notes": "example",
        "qty": 1,
        "readOnly": {
          "fullyAllocated": true,
          "orderItemId": 1
        }
      }
    ],
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "fullyAllocated": true,
      "isClosed": true,
      "lastModifiedDate": "example",
      "orderId": 1,
      "packDoneDate": "example",
      "pickDoneDate": "example",
      "processDate": "example",
      "status": 1
    },
    "referenceNum": "example",
    "routingInfo": {
      "account": "example",
      "billOfLading": "example",
      "carrier": "example",
      "loadNumber": "example",
      "mode": "example",
      "pickupDate": "example",
      "scacCode": "example",
      "trackingNumber": "example"
    },
    "shipCancelDate": "example",
    "shipTo": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "companyName": "example",
      "country": "example",
      "emailAddress": "example",
      "name": "example",
      "phoneNumber": "example",
      "state": "example",
      "zip": "example"
    },
    "shippingNotes": "example",
    "totalWeight": 1
  }
}
```

### Confirm receiver

Confirm a receiver as received, putting its items into stock.

**Inputs**

- Receiver (`receiver_id`, number, required): The receiver (an inbound shipment the warehouse receives). At least 1.
- Arrived at (`arrived_at`, date and time): When it arrived. Leave empty to keep what the receiver has.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "arrivalDate": "example",
    "carrier": "example",
    "expectedDate": "example",
    "notes": "example",
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "lastModifiedDate": "example",
      "receiverId": 1,
      "status": 1
    },
    "receiveItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "lotNumber": "example",
        "qty": 1,
        "readOnly": {
          "receiveItemId": 1
        }
      }
    ],
    "referenceNum": "example",
    "trackingNumber": "example"
  }
}
```

### Create item

Add an item (SKU) for a customer.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- SKU (`sku`, text, required): The item's SKU.
- Description (`description`, text, required): What the item is.
- Unit of measure (`unit`, text, required): The unit it is stocked in.
- UPC (`upc`, text): The UPC barcode.
- Second description (`description2`, text): A second description line.
- Category (`category`, text): The inventory category.
- Cost (`cost`, number): What one costs. At least 0.
- Price (`price`, number): What one sells for. At least 0.
- Minimum stock (`minimum_stock`, number): Stock below this is low. At least 0.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "cost": 1,
    "description": "example",
    "description2": "example",
    "inventoryCategory": "example",
    "itemId": 1,
    "options": {
      "inventoryUnit": {
        "maximumStock": 1,
        "minimumStock": 1,
        "reorderQuantity": 1,
        "unitIdentifier": {
          "id": 1,
          "name": "example"
        }
      }
    },
    "price": 1,
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "deactivated": true,
      "itemId": 1,
      "lastModifiedDate": "example"
    },
    "sku": "example",
    "upc": "example"
  }
}
```

### Create order

Create an order for a customer at a facility, with one item and where to ship it.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- Facility (`facility_id`, number, required): The facility (warehouse). At least 1.
- Reference (`reference`, text, required): The order's reference number, unique for the customer.
- SKU (`sku`, text, required): The item's SKU.
- Quantity (`quantity`, number, required): How many.
- Ship to name (`ship_to_name`, text, required): Who it ships to.
- Ship to company (`ship_to_company`, text): The company it ships to.
- Address line 1 (`ship_to_address1`, text, required): The first address line.
- Address line 2 (`ship_to_address2`, text): The second address line.
- City (`ship_to_city`, text, required): The city.
- State (`ship_to_state`, text): The state or province, such as CA.
- ZIP code (`ship_to_zip`, text): The ZIP or postal code.
- Country (`ship_to_country`, text, required): The two-letter country code, such as US.
- Phone (`ship_to_phone`, text): A phone number for the delivery.
- Email (`ship_to_email`, text): An email address for the delivery.
- PO number (`po_number`, text): The purchase order number.
- Warehouse notes (`notes`, text): Instructions for the warehouse.
- Shipping notes (`shipping_notes`, text): Instructions for the carrier.
- Carrier (`carrier`, text): The carrier, such as UPS or FedEx.
- SCAC code (`scac`, text): The carrier's SCAC code, such as UPGN.
- Earliest ship date (`earliest_ship_date`, date and time): The earliest it may ship.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "description": "example",
    "earliestShipDate": "example",
    "notes": "example",
    "orderItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "notes": "example",
        "qty": 1,
        "readOnly": {
          "fullyAllocated": true,
          "orderItemId": 1
        }
      }
    ],
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "fullyAllocated": true,
      "isClosed": true,
      "lastModifiedDate": "example",
      "orderId": 1,
      "packDoneDate": "example",
      "pickDoneDate": "example",
      "processDate": "example",
      "status": 1
    },
    "referenceNum": "example",
    "routingInfo": {
      "account": "example",
      "billOfLading": "example",
      "carrier": "example",
      "loadNumber": "example",
      "mode": "example",
      "pickupDate": "example",
      "scacCode": "example",
      "trackingNumber": "example"
    },
    "shipCancelDate": "example",
    "shipTo": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "companyName": "example",
      "country": "example",
      "emailAddress": "example",
      "name": "example",
      "phoneNumber": "example",
      "state": "example",
      "zip": "example"
    },
    "shippingNotes": "example",
    "totalWeight": 1
  }
}
```

### Create receiver

Tell the warehouse a shipment of one item is coming, so it can be received.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- Facility (`facility_id`, number, required): The facility (warehouse). At least 1.
- Reference (`reference`, text, required): The receiver's reference number.
- SKU (`sku`, text, required): The item's SKU.
- Quantity (`quantity`, number, required): How many.
- PO number (`po_number`, text): The purchase order number.
- Expected (`expected_date`, date and time): When the shipment is expected.
- Carrier (`carrier`, text): The carrier bringing it.
- Tracking number (`tracking_number`, text): The inbound tracking number.
- Notes (`notes`, text): Notes for the warehouse.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "arrivalDate": "example",
    "carrier": "example",
    "expectedDate": "example",
    "notes": "example",
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "lastModifiedDate": "example",
      "receiverId": 1,
      "status": 1
    },
    "receiveItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "lotNumber": "example",
        "qty": 1,
        "readOnly": {
          "receiveItemId": 1
        }
      }
    ],
    "referenceNum": "example",
    "trackingNumber": "example"
  }
}
```

### Find order by reference

Find orders by their reference number.

**Inputs**

- Reference (`reference`, text, required): The order's reference number.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "description": "example",
        "earliestShipDate": "example",
        "notes": "example",
        "orderItems": [
          {
            "itemIdentifier": {
              "id": 1,
              "sku": "example"
            },
            "notes": "example",
            "qty": 1,
            "readOnly": {
              "fullyAllocated": true,
              "orderItemId": 1
            }
          }
        ],
        "poNum": "example",
        "readOnly": {
          "creationDate": "example",
          "customerIdentifier": {
            "externalId": "example",
            "id": 1,
            "name": "example"
          },
          "facilityIdentifier": {
            "id": 1,
            "name": "example"
          },
          "fullyAllocated": true,
          "isClosed": true,
          "lastModifiedDate": "example",
          "orderId": 1,
          "packDoneDate": "example",
          "pickDoneDate": "example",
          "processDate": "example",
          "status": 1
        },
        "referenceNum": "example",
        "routingInfo": {
          "account": "example",
          "billOfLading": "example",
          "carrier": "example",
          "loadNumber": "example",
          "mode": "example",
          "pickupDate": "example",
          "scacCode": "example",
          "trackingNumber": "example"
        },
        "shipCancelDate": "example",
        "shipTo": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "companyName": "example",
          "country": "example",
          "emailAddress": "example",
          "name": "example",
          "phoneNumber": "example",
          "state": "example",
          "zip": "example"
        },
        "shippingNotes": "example",
        "totalWeight": 1
      }
    ],
    "totalResults": 1
  }
}
```

### Get customer

Get a customer with its company details and facilities.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "companyInfo": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "companyName": "example",
      "country": "example",
      "emailAddress": "example",
      "name": "example",
      "phoneNumber": "example",
      "state": "example",
      "zip": "example"
    },
    "facilities": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "primaryContact": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "companyName": "example",
      "country": "example",
      "emailAddress": "example",
      "name": "example",
      "phoneNumber": "example",
      "state": "example",
      "zip": "example"
    },
    "readOnly": {
      "creationDate": "example",
      "customerId": 1,
      "deactivated": true
    }
  }
}
```

### Get item

Get an item with its unit of measure, prices and stock levels.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- Item (`item_id`, number, required): The item. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "cost": 1,
    "description": "example",
    "description2": "example",
    "inventoryCategory": "example",
    "itemId": 1,
    "options": {
      "inventoryUnit": {
        "maximumStock": 1,
        "minimumStock": 1,
        "reorderQuantity": 1,
        "unitIdentifier": {
          "id": 1,
          "name": "example"
        }
      }
    },
    "price": 1,
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "deactivated": true,
      "itemId": 1,
      "lastModifiedDate": "example"
    },
    "sku": "example",
    "upc": "example"
  }
}
```

### Get order

Get an order with its items, ship-to address, routing and packages.

**Inputs**

- Order (`order_id`, number, required): The order. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "description": "example",
    "earliestShipDate": "example",
    "notes": "example",
    "orderItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "notes": "example",
        "qty": 1,
        "readOnly": {
          "fullyAllocated": true,
          "orderItemId": 1
        }
      }
    ],
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "fullyAllocated": true,
      "isClosed": true,
      "lastModifiedDate": "example",
      "orderId": 1,
      "packDoneDate": "example",
      "pickDoneDate": "example",
      "processDate": "example",
      "status": 1
    },
    "referenceNum": "example",
    "routingInfo": {
      "account": "example",
      "billOfLading": "example",
      "carrier": "example",
      "loadNumber": "example",
      "mode": "example",
      "pickupDate": "example",
      "scacCode": "example",
      "trackingNumber": "example"
    },
    "shipCancelDate": "example",
    "shipTo": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "companyName": "example",
      "country": "example",
      "emailAddress": "example",
      "name": "example",
      "phoneNumber": "example",
      "state": "example",
      "zip": "example"
    },
    "shippingNotes": "example",
    "totalWeight": 1
  }
}
```

### Get receiver

Get a receiver with its items and quantities.

**Inputs**

- Receiver (`receiver_id`, number, required): The receiver (an inbound shipment the warehouse receives). At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "arrivalDate": "example",
    "carrier": "example",
    "expectedDate": "example",
    "notes": "example",
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "lastModifiedDate": "example",
      "receiverId": 1,
      "status": 1
    },
    "receiveItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "lotNumber": "example",
        "qty": 1,
        "readOnly": {
          "receiveItemId": 1
        }
      }
    ],
    "referenceNum": "example",
    "trackingNumber": "example"
  }
}
```

### List customers

List the customers (brands) the warehouse holds goods for.

**Inputs**

- Records per page (`per_page`, number): How many records a page holds, up to 1000. Leave empty for 100. From 1 to 1000.
- Page (`page`, number): Which page to return, from 1. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "companyInfo": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "companyName": "example",
          "country": "example",
          "emailAddress": "example",
          "name": "example",
          "phoneNumber": "example",
          "state": "example",
          "zip": "example"
        },
        "facilities": [
          {
            "id": 1,
            "name": "example"
          }
        ],
        "primaryContact": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "companyName": "example",
          "country": "example",
          "emailAddress": "example",
          "name": "example",
          "phoneNumber": "example",
          "state": "example",
          "zip": "example"
        },
        "readOnly": {
          "creationDate": "example",
          "customerId": 1,
          "deactivated": true
        }
      }
    ],
    "totalResults": 1
  }
}
```

### List facilities

List the facilities (warehouses).

**Inputs**

- Records per page (`per_page`, number): How many records a page holds, up to 1000. Leave empty for 100. From 1 to 1000.
- Page (`page`, number): Which page to return, from 1. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "code": "example",
        "contact": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "companyName": "example",
          "country": "example",
          "emailAddress": "example",
          "name": "example",
          "phoneNumber": "example",
          "state": "example",
          "zip": "example"
        },
        "deactivated": true,
        "facilityId": 1,
        "name": "example",
        "timeZoneName": "example"
      }
    ],
    "totalResults": 1
  }
}
```

### List items

List a customer's items (SKUs), optionally only one SKU.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- SKU (`sku`, text): Only the item with this SKU.
- Include deactivated (`include_inactive`, true/false): On also lists deactivated items.
- Records per page (`per_page`, number): How many records a page holds, up to 1000. Leave empty for 100. From 1 to 1000.
- Page (`page`, number): Which page to return, from 1. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "cost": 1,
        "description": "example",
        "description2": "example",
        "inventoryCategory": "example",
        "itemId": 1,
        "options": {
          "inventoryUnit": {
            "maximumStock": 1,
            "minimumStock": 1,
            "reorderQuantity": 1,
            "unitIdentifier": {
              "id": 1,
              "name": "example"
            }
          }
        },
        "price": 1,
        "readOnly": {
          "creationDate": "example",
          "customerIdentifier": {
            "externalId": "example",
            "id": 1,
            "name": "example"
          },
          "deactivated": true,
          "itemId": 1,
          "lastModifiedDate": "example"
        },
        "sku": "example",
        "upc": "example"
      }
    ],
    "totalResults": 1
  }
}
```

### List orders

List orders, newest first, with their items. Filter by customer, facility, status, SKU or date.

**Inputs**

- Customer (`customer_id`, number): Only this customer's records. Leave empty for every customer. At least 1.
- Facility (`facility_id`, number): Only this facility's records. Leave empty for every facility. At least 1.
- Status (`status`, text): Only records with this status. Leave empty for every status. One of: `status_0` (Open), `status_1` (Closed (confirmed)), `status_2` (Canceled).
- SKU contains (`sku`, text): Only orders with an item whose SKU contains this.
- Created after (`created_after`, date and time): Only orders created after this time.
- Changed after (`changed_after`, date and time): Only orders changed after this time.
- Records per page (`per_page`, number): How many records a page holds, up to 1000. Leave empty for 100. From 1 to 1000.
- Page (`page`, number): Which page to return, from 1. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "description": "example",
        "earliestShipDate": "example",
        "notes": "example",
        "orderItems": [
          {
            "itemIdentifier": {
              "id": 1,
              "sku": "example"
            },
            "notes": "example",
            "qty": 1,
            "readOnly": {
              "fullyAllocated": true,
              "orderItemId": 1
            }
          }
        ],
        "poNum": "example",
        "readOnly": {
          "creationDate": "example",
          "customerIdentifier": {
            "externalId": "example",
            "id": 1,
            "name": "example"
          },
          "facilityIdentifier": {
            "id": 1,
            "name": "example"
          },
          "fullyAllocated": true,
          "isClosed": true,
          "lastModifiedDate": "example",
          "orderId": 1,
          "packDoneDate": "example",
          "pickDoneDate": "example",
          "processDate": "example",
          "status": 1
        },
        "referenceNum": "example",
        "routingInfo": {
          "account": "example",
          "billOfLading": "example",
          "carrier": "example",
          "loadNumber": "example",
          "mode": "example",
          "pickupDate": "example",
          "scacCode": "example",
          "trackingNumber": "example"
        },
        "shipCancelDate": "example",
        "shipTo": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "companyName": "example",
          "country": "example",
          "emailAddress": "example",
          "name": "example",
          "phoneNumber": "example",
          "state": "example",
          "zip": "example"
        },
        "shippingNotes": "example",
        "totalWeight": 1
      }
    ],
    "totalResults": 1
  }
}
```

### List receivers

List receivers (inbound shipments), newest first. Filter by customer, status or date.

**Inputs**

- Customer (`customer_id`, number): Only this customer's records. Leave empty for every customer. At least 1.
- Status (`status`, text): Only records with this status. Leave empty for every status. One of: `status_0` (Open), `status_1` (Closed (confirmed)), `status_2` (Canceled).
- Created after (`created_after`, date and time): Only receivers created after this time.
- Records per page (`per_page`, number): How many records a page holds, up to 1000. Leave empty for 100. From 1 to 1000.
- Page (`page`, number): Which page to return, from 1. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "arrivalDate": "example",
        "carrier": "example",
        "expectedDate": "example",
        "notes": "example",
        "poNum": "example",
        "readOnly": {
          "creationDate": "example",
          "customerIdentifier": {
            "externalId": "example",
            "id": 1,
            "name": "example"
          },
          "facilityIdentifier": {
            "id": 1,
            "name": "example"
          },
          "lastModifiedDate": "example",
          "receiverId": 1,
          "status": 1
        },
        "receiveItems": [
          {
            "itemIdentifier": {
              "id": 1,
              "sku": "example"
            },
            "lotNumber": "example",
            "qty": 1,
            "readOnly": {
              "receiveItemId": 1
            }
          }
        ],
        "referenceNum": "example",
        "trackingNumber": "example"
      }
    ],
    "totalResults": 1
  }
}
```

### List stock

List a customer's stock at a facility: received, on hand, available and on hold, by location and lot.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- Facility (`facility_id`, number, required): The facility (warehouse). At least 1.
- SKU (`sku`, text): Only this SKU.
- Records per page (`per_page`, number): How many records a page holds, up to 1000. Leave empty for 100. From 1 to 1000.
- Page (`page`, number): Which page to return, from 1. At least 1.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "availableQty": 1,
        "expirationDate": "example",
        "itemDescription": "example",
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "locationIdentifier": {
          "id": 1,
          "nameKey": {
            "name": "example"
          }
        },
        "lotNumber": "example",
        "onHandQty": 1,
        "onHoldQty": 1,
        "qualifier": "example",
        "receiveItemId": 1,
        "receivedDate": "example",
        "receivedQty": 1,
        "receiverId": 1
      }
    ],
    "totalResults": 1
  }
}
```

### List units of measure

List the units of measure an item can be stocked in, such as Each or Carton.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "IsIntegral": true,
        "Name": "example",
        "PluralDescription": "example"
      }
    ]
  }
}
```

### Update item

Change an item's description, barcode, category, prices or minimum stock. Fields left empty stay as they are.

**Inputs**

- Customer (`customer_id`, number, required): The customer (the brand whose goods the warehouse holds). At least 1.
- Item (`item_id`, number, required): The item. At least 1.
- Description (`description`, text): What the item is.
- UPC (`upc`, text): The UPC barcode.
- Second description (`description2`, text): A second description line.
- Category (`category`, text): The inventory category.
- Cost (`cost`, number): What one costs. At least 0.
- Price (`price`, number): What one sells for. At least 0.
- Minimum stock (`minimum_stock`, number): Stock below this is low. At least 0.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "cost": 1,
    "description": "example",
    "description2": "example",
    "inventoryCategory": "example",
    "itemId": 1,
    "options": {
      "inventoryUnit": {
        "maximumStock": 1,
        "minimumStock": 1,
        "reorderQuantity": 1,
        "unitIdentifier": {
          "id": 1,
          "name": "example"
        }
      }
    },
    "price": 1,
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "deactivated": true,
      "itemId": 1,
      "lastModifiedDate": "example"
    },
    "sku": "example",
    "upc": "example"
  }
}
```

### Update order

Change an open order's reference, PO number, notes or tracking number. Fields left empty stay as they are.

**Inputs**

- Order (`order_id`, number, required): The order. At least 1.
- Reference (`reference`, text): The order's reference number.
- PO number (`po_number`, text): The purchase order number.
- Warehouse notes (`notes`, text): Instructions for the warehouse.
- Shipping notes (`shipping_notes`, text): Instructions for the carrier.
- Tracking number (`tracking_number`, text): The tracking number.

**Outputs**

- `data` (object): The response from Extensiv 3PL Warehouse Manager.

**Example output**

```json
{
  "data": {
    "description": "example",
    "earliestShipDate": "example",
    "notes": "example",
    "orderItems": [
      {
        "itemIdentifier": {
          "id": 1,
          "sku": "example"
        },
        "notes": "example",
        "qty": 1,
        "readOnly": {
          "fullyAllocated": true,
          "orderItemId": 1
        }
      }
    ],
    "poNum": "example",
    "readOnly": {
      "creationDate": "example",
      "customerIdentifier": {
        "externalId": "example",
        "id": 1,
        "name": "example"
      },
      "facilityIdentifier": {
        "id": 1,
        "name": "example"
      },
      "fullyAllocated": true,
      "isClosed": true,
      "lastModifiedDate": "example",
      "orderId": 1,
      "packDoneDate": "example",
      "pickDoneDate": "example",
      "processDate": "example",
      "status": 1
    },
    "referenceNum": "example",
    "routingInfo": {
      "account": "example",
      "billOfLading": "example",
      "carrier": "example",
      "loadNumber": "example",
      "mode": "example",
      "pickupDate": "example",
      "scacCode": "example",
      "trackingNumber": "example"
    },
    "shipCancelDate": "example",
    "shipTo": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "companyName": "example",
      "country": "example",
      "emailAddress": "example",
      "name": "example",
      "phoneNumber": "example",
      "state": "example",
      "zip": "example"
    },
    "shippingNotes": "example",
    "totalWeight": 1
  }
}
```
