Update a price level
Updates an existing price level.
Path parameters
The QuickBooks-assigned unique identifier of the price level to update.
The QuickBooks-assigned unique identifier of the price level to update.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
Request body
Example request
{
"revisionNumber": "1721172183",
"name": "Wholesale 20% Discount",
"isActive": true,
"fixedPercentage": "-10.0",
"perItemPriceLevels": [
{
"itemId": "80000001-1234567890",
"customPrice": "19.99",
"customPricePercent": "15.0",
"adjustPercentage": "-10.0",
"adjustRelativeTo": "standard_price"
}
],
"currencyId": "80000001-1234567890"
}Response
Returns the updated price level.
Example response
{
"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"
}
}Changes
Changed in 5 of the 46 revisions of this API.23312
- ●
for the
pathrequest parameterid, the maxLength was set to36request-parameter-max-length-set
- ●
the
request property's maxLength was set to36request-property-max-length-set
- ●
the
//request property's maxLength was set to36request-property-max-length-set
- ●
- ○
the request property
//became optionalrequest-property-became-optional
- ○
the request property
//became optionalrequest-property-became-optional
- ○
- ▲
response property
fixedPercentagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/customPricelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/customPricePercentlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/item/fullNamelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/item/idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
response's property type changed fromobjectnullto no type for statusresponse-property-type-changed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ○
added
subschema #1subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ▲
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
//became nullable for the statusresponse-property-became-nullable
- ▲
the response property
//became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the response property
///became nullable for the statusresponse-property-became-nullable
- ▲
the
response's property type changed from no type toobjectnullfor statusresponse-property-type-changed
- ○
removed
subschema #1subschema #2from theresponse propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
response property
fixedPercentagelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
perItemPriceLevels/items/customPricelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
perItemPriceLevels/items/customPricePercentlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
perItemPriceLevels/items/item/fullNamelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
perItemPriceLevels/items/item/idlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ▲
- ▲
response property
fixedPercentagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/customPricelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/customPricePercentlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/item/fullNamelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
perItemPriceLevels/items/item/idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
response's property type changed fromobjectnullto no type for statusresponse-property-type-changed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ○
added
subschema #1subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ▲