Inventory Discrepancy Services
All services related to InventoryDiscrepancy are listed in this page.
GET
List InventoryDiscrepancy
GET
List InventoryDiscrepancyThis service is used to get a list of InventoryDiscrepancy.
Path: /api/v1/oms/inventory-discrepancies/
Query Parameters
The following query parameters can be used to get the list of InventoryDiscrepancy.
token
string
header
The API key of the customer account
Example Request
To get list of InventoryDiscrepancy, a GET
request should be sent to /api/v1/oms/inventory-discrepancies/
endpoint. No query parameters or request body are required.
Here's an example of how to make the request in python:
Example Response (200 OK)
In a successful response with a status code of 200 OK, the API returns the list of InventoryDiscrepancy information.
This example response serves as a reference to understand the structure and data format returned from this API service.
GET
Get InventoryDiscrepancy Detail
GET
Get InventoryDiscrepancy DetailThis service is used to get detail about InventoryDiscrepancy.
Path: /api/v1/oms/inventory-discrepancies/<pk>
Query Parameters
The following query parameters can be used to get detail about InventoryDiscrepancy.
token
string
header
The API key of the customer account
Example Request
To get detail about InventoryDiscrepancy, a GET
request should be sent to /api/v1/oms/inventory-discrepancies/<pk>
endpoint. No query parameters or request body are required.
pk
integer
The ID of the discrepancy record
reason
string
The reason type of the discrepancy record
stock_location
integer
The location value of the discrepancy record
is_active
boolean
The status of the discrepancy record
package_item
integer
The Package Item id of the discrepancy record
transfer_item
integer
The Transfer Item id of the discrepancy record
Here's an example of how to make the request in python:
Example Response (200 OK)
In a successful response with a status code of 200 OK, the API returns InventoryDiscrepancy detail.
This example response serves as a reference to understand the structure and data format returned from this API service.
POST
Remove InventoryDiscrepancy
POST
Remove InventoryDiscrepancyThis service is used to remove an InventoryDiscrepancy record.
Path: /api/v1/oms/inventory-discrepancies/remove/
Query Parameters
The following query parameters can be used to remove an InventoryDiscrepancy.
token
string
header
The API key of the customer account
Example Request
To remove an InventoryDiscrepancy, a POST
request should be sent to /api/v1/oms/inventory-discrepancies/remove/
endpoint.
expired_date
string
The expired date deletes discrepancy records starting from the expired date
stock_location
integer
The stock location for remove discrepancy record
Here's an example of how to make the request in python:
Example Response (204 No Content)
A successful response is returned with a status code of 204 NO-CONTENT
.
Was this helpful?