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
}Update an item’s details in a distributor’s catalog.
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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Updated supplier item data
Show child attributes
Supplier item updated successfully
Whether the operation succeeded