Price schedules

Purchasing price schedules are pricing groups that you can assign to one or more vendors. Discount items by assigning a vendor to a price schedule associated with a price list that contains different discounts for various items. Or define a price schedule with a 10% discount off all items and assign that price schedule to the vendor. See Price schedules — Purchasing for more information.

List price schedules

get/objects/purchasing/price-schedule

Returns a collection with a key, ID, and link for each purchasing price schedule. This operation is mostly for use in testing; use query to find objects that meet certain criteria and specify the properties that are returned.

Permissions and other requirements
SubscriptionPurchasing
Configurationnull
User typeBusiness, Project Manager, Employee, Warehouse
PermissionsList, View Price Schedules
SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "3",
      • "id": "Robotic Price Schedule",
      • "href": "/objects/purchasing/price-schedule/3"
      },
    • {
      • "key": "5",
      • "id": "Acme Price Schedule",
      • "href": "/objects/purchasing/price-schedule/5"
      }
    ],
  • "ia::meta": {
    • "totalCount": 2,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Create a price schedule

post/objects/purchasing/price-schedule

Creates a new purchasing price schedule.

Permissions and other requirements
SubscriptionPurchasing
Configurationnull
User typeBusiness
PermissionsList, View, Add Price Schedules
SecurityOAuth2
Request
Request Body schema: application/json
id
required
string

Unique identifier for the purchasing price schedule.

Example: "ColtSched21"
description
string

Description of the purchasing price schedule.

Example: "Colt Price Schedule 2021"
object

Associated purchasing price list.

key
string

System-assigned key for the purchasing price list.

Example: "23"
id
string

Unique identifier for the purchasing price list.

Example: "Purchasing Price list"
discountPercent
string <decimal-precision-2>

Discount percentage for all items in the associated price list. A positive value decreases prices; a negative value increases prices.

Example: "10"
status
string
Default: "active"

Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced.

Enum: "active" "inactive"
Example: "active"
Responses
201

Created

400

Bad Request

Request samples
application/json
{
  • "id": "Acme Price Schedule",
  • "description": "Acme Discount Schedule",
  • "discountPercent": "10",
  • "status": "active"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "3",
    • "id": "Acme Price Schedule",
    • "href": "/objects/purchasing/price-schedule/3"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Get a price schedule

get/objects/purchasing/price-schedule/{key}

Returns detailed information for a specified purchasing price schedule.

Permissions and other requirements
SubscriptionPurchasing
Configurationnull
User typeBusiness, Project Manager, Employee, Warehouse
PermissionsList, View Price Schedules
SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the price schedule.

Example: 53
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "3",
    • "id": "Acme Price Schedule",
    • "description": "Acme Discount Schedule",
    • "discountPercent": "10",
    • "status": "active",
    • "href": "/objects/purchasing/price-schedule/3"
    },
  • "audit": {
    • "modifiedBy": "1",
    • "createdDateTime": "2024-10-09T07:42:01Z",
    • "modifiedDateTime": "2024-10-09T07:52:39Z",
    • "createdBy": "1"
    },
  • "entity": {
    • "id": "1",
    • "key": "1",
    • "name": "New Entity"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Update a price schedule

patch/objects/purchasing/price-schedule/{key}

Updates an existing purchasing price schedule by setting field values. Any fields not provided remain unchanged.

Permissions and other requirements
SubscriptionPurchasing
Configurationnull
User typeBusiness
PermissionsList, View, Edit Price Schedules
SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the price schedule.

Example: 53
Request Body schema: application/json
description
string

Description of the purchasing price schedule.

Example: "Colt Price Schedule 2021"
object

Associated purchasing price list.

key
string

System-assigned key for the purchasing price list.

Example: "23"
id
string

Unique identifier for the purchasing price list.

Example: "Purchasing Price list"
discountPercent
string <decimal-precision-2>

Discount percentage for all items in the associated price list. A positive value decreases prices; a negative value increases prices.

Example: "10"
status
string
Default: "active"

Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced.

Enum: "active" "inactive"
Example: "active"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "discountPercent": "15"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "3",
    • "id": "Acme Price Schedule",
    • "href": "/objects/purchasing/price-schedule/3"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Delete a price schedule

delete/objects/purchasing/price-schedule/{key}

Deletes a purchasing price schedule. A price schedule can be deleted if it is no longer in use and it needs to be removed from the system.

Permissions and other requirements
SubscriptionPurchasing
Configurationnull
User typeBusiness
PermissionsList, View, Delete Price Schedules
SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the price schedule.

Example: 53
Responses
204

No Content

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}

Query price schedules

post/services/core/query

Use the query service to find price schedules that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

Request samples