PUT /pricebookItems/{pricebookItemID}

Update details of an existing pricebook item.

Path parameters

  • pricebookItemID integer Required
application/json

Body Required

  • pricebookItemID integer
  • itemName string
  • itemTypeID integer
  • description string
  • price number(double)
  • taxable boolean
  • isAdjustable boolean
  • rateType string
  • IsActive boolean
  • companyID integer
  • createdBy integer
  • updatedBy integer

Responses

  • 200

    Pricebook item updated successfully

  • 404

    Pricebook item not found

  • 500

    Internal server error

PUT /pricebookItems/{pricebookItemID}
curl \
 -X PUT http://api.example.com/pricebookItems/{pricebookItemID} \
 -H "Content-Type: application/json" \
 -d '{"pricebookItemID":42,"itemName":"string","itemTypeID":42,"description":"string","price":42.0,"taxable":true,"isAdjustable":true,"rateType":"string","IsActive":true,"companyID":42,"createdBy":42,"updatedBy":42}'
Request example
{
  "pricebookItemID": 42,
  "itemName": "string",
  "itemTypeID": 42,
  "description": "string",
  "price": 42.0,
  "taxable": true,
  "isAdjustable": true,
  "rateType": "string",
  "IsActive": true,
  "companyID": 42,
  "createdBy": 42,
  "updatedBy": 42
}