Skip to main content

What’s new at Endless

Developer changelog

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

improvement

Purchase Order Updates Clear Fields Sent As Null

Check integrations that call supplyUpdatePurchaseOrder and send null for empty fields. A field sent as null now clears its stored value. Before, the request succeeded and the old value stayed. A field you omit keeps its stored value, as before.

This applies to the description, special instructions, incoterms, payment terms, and contact on the order, and to unit cost, MOQ, lead time, HTS code, carton quantity, weight, and volume on existing lines. Send only the fields that changed.

Two related changes. A line without a unit cost no longer raises an error in the order total; the total adds only lines that have a cost. The company in the request now decides which purchase order is found. A purchase order from another company returns “Purchase Order not found,” and a user with several companies must send company context or the request fails with “Company context is required.”

improvement

Supply shipment receiving and status rules changed

Supply shipments now follow the transfer rules. Check integrations that write received quantities or change shipment status.

Received quantities are accepted only while a shipment is In Receiving. Receipts on Pending, In Transit, or Delivered start receiving. Receipts on Received, Closed, or Canceled are refused. When a shipment becomes Received, each short line is lowered to its received quantity and the difference returns to the purchase order as unshipped. SupplyShipmentItem.originalQuantity holds the quantity before the change. Received, Closed, and Canceled shipments count 0 incoming.

expectedStatus on the bulk status mutations is deprecated and still works. Use expectedStatuses per shipment. The supplyShipmentsAdvance, supplyShipmentsStepBack, supplyShipmentsStartReceiving, and supplyShipmentsMarkReceived mutations require expectedStatus and refuse a stale one.

qtyReceived on purchase order lines was always null. It now returns the received quantity from the line’s shipments, and stays null when nothing is received.

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

Supplier cost responses and address meaning have changed

productAddCosts, productUpdateCosts, and productArchiveCosts now run as a tracked process and return its processId. For productArchiveCosts, that value previously contained the product ID. Treat it as a process identifier and inspect failedItems for rejected products.

SupplySupplier.address now returns the ship-from address. Callers that need the remit-to address must select it explicitly. Dropship cost tiers now require a minimum order quantity of 1.