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.
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.
Subscription | Purchasing |
---|---|
Configuration | null |
User type | Business, Project Manager, Employee, Warehouse |
Permissions | List, View Price Schedules |
OK
Bad Request
{- "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
}
}
Creates a new purchasing price schedule.
Subscription | Purchasing |
---|---|
Configuration | null |
User type | Business |
Permissions | List, View, Add Price Schedules |
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. | |||||
| |||||
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. Example: "active" |
Created
Bad Request
{- "id": "Acme Price Schedule",
- "description": "Acme Discount Schedule",
- "discountPercent": "10",
- "status": "active"
}
{- "ia::result": {
- "key": "3",
- "id": "Acme Price Schedule",
- "href": "/objects/purchasing/price-schedule/3"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified purchasing price schedule.
Subscription | Purchasing |
---|---|
Configuration | null |
User type | Business, Project Manager, Employee, Warehouse |
Permissions | List, View Price Schedules |
key required | string System-assigned key for the price schedule. Example: 53 |
OK
Bad Request
{- "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
}
}
Updates an existing purchasing price schedule by setting field values. Any fields not provided remain unchanged.
Subscription | Purchasing |
---|---|
Configuration | null |
User type | Business |
Permissions | List, View, Edit Price Schedules |
key required | string System-assigned key for the price schedule. Example: 53 |
description | string Description of the purchasing price schedule. Example: "Colt Price Schedule 2021" | ||||
object Associated 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. Example: "active" |
OK
Bad Request
{- "discountPercent": "15"
}
{- "ia::result": {
- "key": "3",
- "id": "Acme Price Schedule",
- "href": "/objects/purchasing/price-schedule/3"
}, - "ia::meta": {
- "totalCount": 1
}
}
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.
Subscription | Purchasing |
---|---|
Configuration | null |
User type | Business |
Permissions | List, View, Delete Price Schedules |
key required | string System-assigned key for the price schedule. Example: 53 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Use the query service to find price schedules that meet certain criteria and to specify the properties that are returned.
OK