Skip to main content
POST
/
quickbooks-desktop
/
price-levels
JavaScript
import Conductor from 'conductor-node';

const conductor = new Conductor({
  apiKey: 'sk_conductor_...',
});

const priceLevel = await conductor.qbd.priceLevels.create({
  name: 'Wholesale 20% Discount',
  conductorEndUserId: 'end_usr_1234567abcdefg',
});

console.log(priceLevel.id);
{
  "id": "80000001-1234567890",
  "objectType": "qbd_price_level",
  "createdAt": "2025-01-01T12:34:56+00:00",
  "updatedAt": "2025-02-01T12:34:56+00:00",
  "revisionNumber": "1721172183",
  "name": "Wholesale 20% Discount",
  "isActive": true,
  "priceLevelType": "fixed_percentage",
  "fixedPercentage": "-10.0",
  "perItemPriceLevels": [
    {
      "item": {
        "id": "80000001-1234567890",
        "fullName": "Widget A"
      },
      "customPrice": "19.99",
      "customPricePercent": "15.0"
    }
  ],
  "currency": {
    "id": "80000001-1234567890",
    "fullName": "USD"
  }
}

Authorizations

Authorization
string
header
required

Headers

Conductor-End-User-Id
string
required
Example:

Body

application/json
name
string
required
Maximum length: 31
Example:
isActive
boolean
default:true
Example:
fixedPercentage
string
Example:
perItemPriceLevels
object[]
Minimum length: 1
currencyId
string
Example:

Response

200 - application/json
id
string
required
Example:
objectType
string
required
Allowed value: "qbd_price_level"
Example:
createdAt
string
required
Example:
updatedAt
string
required
Example:
revisionNumber
string
required
Example:
name
string
required
Example:
isActive
boolean
required
Example:
priceLevelType
enum<string>
required
Available options:
fixed_percentage,
per_item
Example:
fixedPercentage
string | null
required
Example:
perItemPriceLevels
The Per-Item Price Level object · object[]
required
currency
object | null
required
Example: