PUT /pricebook/{pricebookID}

Update details of an existing pricebook entry.

Path parameters

  • pricebookID integer Required
application/json

Body Required

  • pricebookID integer
  • BookName string
  • description string
  • industry string
  • status string
  • companyID integer
  • createdBy integer
  • updatedBy integer

Responses

  • 200

    Pricebook entry updated successfully

  • 404

    Pricebook entry not found

  • 500

    Internal server error

PUT /pricebook/{pricebookID}
curl \
 -X PUT http://api.example.com/pricebook/{pricebookID} \
 -H "Content-Type: application/json" \
 -d '{"pricebookID":42,"BookName":"string","description":"string","industry":"string","status":"string","companyID":42,"createdBy":42,"updatedBy":42}'
Request example
{
  "pricebookID": 42,
  "BookName": "string",
  "description": "string",
  "industry": "string",
  "status": "string",
  "companyID": 42,
  "createdBy": 42,
  "updatedBy": 42
}