POST /pricebook

Add a new pricebook entry with the given details.

application/json

Body Required

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

Responses

  • 201

    Pricebook entry created successfully

  • 500

    Error occurred while creating pricebook entry

POST /pricebook
curl \
 -X POST http://api.example.com/pricebook \
 -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
}