POST /pricebookItems

Add a new pricebook item with the given details.

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

  • 201

    Pricebook item created successfully

  • 500

    Error occurred while creating pricebook item

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