Breaking changes between Litium Connect ERP versions

This article will describe the breaking changes between the Litium Connect ERP versions.

Breaking changes will be listed version by version. The version number is indicating in which version the changes were introduced.

Version 2

The naming of endpoints has been unified to streamline with REST api standards.

Inventories

Inventory items update

From: POST /Litium/api/connect/erp/inventories/{inventoryId}
To: PUT /Litium/api/connect/erp/inventories/{inventoryId}/items

Inventory items delete

From: DELETE /Litium/api/connect/erp/inventories/{inventoryId}
To: DELETE /Litium/api/connect/erp/inventories/{inventoryId}/items

Orders

Notify order exported

The notify order exported is called by the ERP system to notify Litium when the order have been exported.

From: POST /Litium/api/connect/erp/orders/{orderId}/orderExportedToErp
To: POST /Litium/api/connect/erp/orders/{orderId}/notify/exported

Create shipment

From: POST /Litium/api/connect/erp/orders/{orderId}/shipment
To: POST /Litium/api/connect/erp/orders/{orderId}/shipments

Get shipment

From: GET /Litium/api/connect/erp/orders/{orderId}/deliveries/{deliveryId}
To: GET /Litium/api/connect/erp/orders/{orderId}/shipments/{shipmentId}

Notify that shipment is delivered

From: POST /Litium/api/connect/erp/orders/{orderId}/deliveries/{deliveryId}/notify/delivered
To: POST /Litium/api/connect/erp/orders/{orderId}/shipments/{shipmentId}/notify/delivered

Prices

Price items update

From: POST /Litium/api/connect/erp/prices/{priceListId}
To: PUT /Litium/api/connect/erp/prices/{priceListId}/items

Price items delete

From: DELETE /Litium/api/connect/erp/prices/{priceListId}
To: DELETE /Litium/api/connect/erp/prices/{priceListId}/items

RMA

Create RMA

From: POST /Litium/api/connect/erp/rmas/{orderId}
To: POST /Litium/api/connect/erp/orders/{orderId}/action/createRma

Sales return order

Confirm a return

From: POST /Litium/api/connect/erp/salesReturnOrders/{orderId}/confirmReturn
To: POST /Litium/api/connect/erp/salesReturnOrders/{orderId}/action/confirmReturn

Refund a return

From: POST /Litium/api/connect/erp/salesReturnOrders/{orderId}/refund
To: POST /Litium/api/connect/erp/salesReturnOrders/{orderId}/action/refund