inventory/deduction/edit
POST
/inventory/deduction/editThis edits an item deduction on the Equotix One account.
Request
Body Params application/json
domain
string
required
The domain you are assigned to authenticate your Equotix One account.
api_key
string
required
The email address assigned to the user account in your Equotix One.
auth_timestamp
integer
required
The unix timestamp used to sign this API request.
auth_signature
string
required
The calculated signature for this API request.
item_deduction_id
integer
required
The item deduction ID to edit.
comment
string
required
The comment for this item deduction.
deduction
array [object {5}]
required
The list of items for the item deduction.
name
string
required
The item name.
item_id
integer
required
The item ID.
location_id
integer
required
The location ID to deduct quantity from.
quantity
integer
required
The quantity to deduct.
cost
number
optional
The item cost. Required if user account has permission to view item cost.
Example
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"item_deduction_id": 0,
"comment": "string",
"deduction": [
{
"name": "string",
"item_id": 0,
"location_id": 0,
"quantity": 0,
"cost": 0
}
]
}
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
array[string]
optional
Returns only if there is an error.
success
boolean
optional
Returns only if there is no error.
item_deduction_id
integer
optional
The edited item deduction ID.
Example
{
"error": [
"string"
],
"success": true,
"item_deduction_id": 0
}
Last modified: 4 months ago