Skip to main content

What’s new at Endless

Developer changelog

API changes, deprecations, and important updates for your integrations.

improvement

ECHO Records And Sales Channels Validate Channel Handles

Check integrations that call echoCreateDemandRecord or echoCreateShipmentRecord. The sales channel you send is now saved as a handle: “DTC” becomes dtc, and “Sephora US” becomes sephora-us. A value with no letters or digits returns the error “Sales channel must contain a-z letters or digits.” Before, the value was saved as sent. Filters by sales channel also match the converted value.

createSalesChannel and updateSalesChannel now reject a handle that does not use lowercase letters, numbers, and single hyphens, starting with a letter. Existing handles already meet this rule.

improvement

Incoming Items Fields Can Be Null

On incomingItems, carrierType, poNumber, and totalUnits are now nullable. Before, they were non-null. A request that selected any of them failed whenever a value was missing, and totalUnits never had one.

Update clients that parse these fields so they accept null. totalUnits remains in the schema so existing queries stay valid, and always returns null. Use shipmentItem.quantity instead.

improvement

Undoing a shipment keeps its inventory allocated

Check integrations that cancel shipments or revert fulfillments, or that read allocated and available counts afterward.

Canceling an order shipment, editing it so the fulfillment is no longer fully shipped, or reverting a fulfillment to Allocated now puts the units back on hand and keeps them allocated to the fulfillment. Before, the units were released and counted as available while the fulfillment still needed them. Canceling a fulfillment still releases them. If the order is already canceled, the units are released.

improvement

Inventory building filter includes incoming-only items

A request that filters inventory by buildingIds now also returns items that have no stock row in the building but have open inbound units to it. These are shipment lines with units left to receive and transfers that are in transit, delivered, or in receiving. Before, they were excluded. Inventory exports use the same filter.

With buildingIds set, sorting by the incoming columns now counts only shipments to those buildings. Adding a location filter keeps the earlier rule, because incoming units do not have a location yet. Check callers that count items or page through results with a building filter.

improvement

Migrate deprecated warehouse connection operations

warehouseAddExternalRelation, warehouseUpdateExternalRelation, and warehouseRemoveExternalRelation are deprecated. Migrate to buildingIntegrationConnectionsCreate, buildingIntegrationConnectionsUpdate, and buildingIntegrationConnectionsRemove. The old operations still work.

The warehouseExternal query and Warehouse.externalData are also deprecated. Read buildingIntegrationConnections on Warehouse or Integration instead. Create takes buildingId and integrationId; update and remove take connectionId. A building can have only one active connection to an integration.

improvement

Inventory receipt dates now use actual receipt

Inventory receivedAt and the landed cost date now use a supply shipment’s actualReceivedDate, falling back to the delivered date when receipt is unknown. Previously they used the delivered date. Reports or integrations that treated warehouse delivery as inventory receipt must account for the distinction.

Advancing a shipment to In Transit, Delivered, or Received records the corresponding date. Pass statusDate when recording a historical transition so it uses the intended date.

improvement

Fulfillment location inputs now enforce validation

createDraftFulfillment now rejects a location that does not exist, belongs to another building, or is not active and pickable. This applies to the new typed items argument and the deprecated JSON fulfillmentItems argument. Such locations were previously accepted and ignored.

The JSON argument still works and stores a location without restricting allocation. Migrating to typed items changes that behavior: the location becomes a binding restriction, and insufficient stock there returns an error. Do not send both arguments in one request.

improvement

`echoDeleteData` Replaces The Three ECHO Delete Mutations

echoDeleteData deletes ECHO order history, shipment history, or inventory snapshot records. Each request selects one dataset and either a list of IDs or the same filters the list queries accept. The three earlier delete mutations, one per dataset, are removed. Update any caller to the new name.

Deleting by IDs finishes in the request and returns deletedCount. Deleting by filters runs in the background across all pages and returns a processId. Filtered deletion skips records changed after the request. The mutation requires the new echo:delete_data permission, which company operators and operations integrations do not hold. Records created automatically are never deleted.

improvement

Combined inventory exports and process access have changed

Inventory exports using COMBINED grouping now include every matching item instead of stopping at a row limit. Location filters are rejected for this grouping; use warehouse or location grouping when a location filter is required. Those groupings keep their existing row limit.

Export process polling and subscriptions now require the requesting identity to own the process, including API clients. Use the same identity that requested the export to retrieve its status and download metadata.

improvement

Migrate deprecated ECHO export mutations

The three dataset-specific ECHO export mutations are deprecated in favor of echoExportData. They still work, and their schema deprecation messages identify the replacement.

When migrating, pass exactly one of demand, shipments, inventory, or inventoryChanges under input.export, with filters nested inside that selection. Missing, null, or multiple selections are rejected. An empty object for the selected dataset exports without filters.