Skip to main content
PUT
/
distributor
/
edit_item
Distributor - Edit Item
curl --request PUT \
  --url https://api.skulabs.com/distributor/edit_item \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "item": {
    "_id": "507f1f77bcf86cd799439011",
    "distributor_id": "507f1f77bcf86cd799439011",
    "item_id": "507f1f77bcf86cd799439011",
    "cost": 123,
    "quantity": 123,
    "minimum_quantity": 123,
    "lot_quantity": 123,
    "part_number": "<string>",
    "reorder_point": 123,
    "reorder_rule": "<string>",
    "notes": "<string>"
  }
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
item
object
required

Updated supplier item data

Response

Supplier item updated successfully

success
boolean
required

Whether the operation succeeded