Inventory API

Migrate to Updated API Entities

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 are retired.

Migrate to updated endpoint URLs Permalink Get a link to this section

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 are retired in about 12 months.

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

Updated endpointDeprecated 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}