inventory/item/editStock
POST
/inventory/item/editStockThis edits up to 100 items stock 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.
items
array [object {6}]
required
The items to edit, up to 100.
model
string
optional
The model of the item.
sku
string
optional
The SKU of the item.
barcode
string
optional
The barcode of the item.
location_id
integer
required
The location ID stock to update.
quantity
integer
required
The new quantity at the location.
cost
number
required
The cost for the item.
currency
string
optional
The currency code for the cost used.
currency_value
number
optional
The currency value, only if currency is set. Accepts 0 for auto value.
Example
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"items": [
{
"model": "string",
"sku": "string",
"barcode": "string",
"location_id": 0,
"quantity": 0,
"cost": 0
}
],
"currency": "string",
"currency_value": 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 true only if there's a stock quantity change.
Example
{
"error": [
"string"
],
"success": true
}
Last modified: 4 months ago