Migrate to Updated API Entities

Applies to: Inventory API

Learn which updated Inventory API endpoints to call to migrate from deprecated endpoint URLs.

Link to section

Overview

As the Inventory API evolves, some of the API entities are updated, some are deprecated for backward compatibility, and some are retired and no longer supported. The following information can help you migrate to updated API entities until they're retired.

Link to section

Migrate to updated endpoint URLs

The following endpoints have updated URLs to conform to the standard REST API convention. Their deprecated URLs are now part of the respective deprecated endpoints with the Deprecated prefix in their names. Support of these deprecated endpoints ends when they're retired in about 12 months.

Each pair of the updated endpoints and the corresponding deprecated endpoints share the same behavior.

Updated endpoint Deprecated URL
RetrieveInventoryAdjustment
GET /v2/inventory/adjustments/{adjustment_id}
DeprecatedRetrieveInventoryAdjustment
GET /v2/inventory/adjustment/{adjustment_id}
BatchChangeInventory
POST /v2/inventory/changes/batch-create
DeprecatedBatchChangeInventory
POST /v2/inventory/batch-change
BatchRetrieveInventoryChanges
POST /v2/inventory/changes/batch-retrieve
DeprecatedBatchRetrieveInventoryChanges
POST /v2/inventory/batch-retrieve-changes
BatchRetrieveInventoryCounts
POST /v2/inventory/counts/batch-retrieve
DeprecatedBatchRetrieveInventoryCounts
POST /v2/inventory/batch-retrievve-counts
RetrieveInventoryPhysicalCount
GET /v2/inventory/physical-counts/{physical_count_id}  
DeprecatedRetrieveInventoryPhysicalCount
GET /v2/inventory/physical-count/{physical_count_id}