Order entry price lists contain the sales prices for products or services used in sales transactions. Create a price list and then create the price list entries associated with the list. See Price lists — Order Entry for more information.
Returns up to 100 object references from the collection with a key, ID, and link for each order entry price list. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Order Entry |
---|---|
User type | Business, Employee, Project Manager, and Warehouse users |
Permissions | List, View Price Lists |
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "Base Price List",
- "href": "/objects/order-entry/price-list/1"
}, - {
- "key": "2",
- "id": "West Coast Price List",
- "href": "/objects/order-entry/price-list/2"
}, - {
- "key": "3",
- "id": "Midwest Price List",
- "href": "/objects/order-entry/price-list/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Creates a new order entry price list.
Subscription | Order Entry |
---|---|
User type | Business, Employee, Project Manager, and Warehouse users |
Permissions | Add Price Lists |
id required | string Unique name for the price list. If the list is exclusive to a specific customer, include the customer's name in the price list name to easily identify the price list. Example: "Base Price List Sales" |
appliesTo | string Application |
startDate | string <date> Start date for the time frame in which the price list is effective. Example: "2021-01-01" |
endDate | string <date> End date for the time frame in which the price list is effective. Example: "2100-12-31" |
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": "Base Price List Sales",
- "startDate": "2023-01-01",
- "endDate": "2030-12-31",
- "status": "active"
}
{- "ia::result": {
- "key": "5",
- "id": "Base Price List Sales",
- "href": "/objects/order-entry/price-list/5"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified order entry price list.
Subscription | Order Entry |
---|---|
User type | Business, Employee, Project Manager, and Warehouse users |
Permissions | List, View Price Lists |
key required | string System-assigned key for the order entry price list. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "key": "5",
- "id": "Base Price List Sales",
- "startDate": "2023-01-01",
- "endDate": "2030-12-31",
- "status": "active",
- "href": "/objects/order-entry/price-list/5"
}, - "ia::meta": {
- "totalCount": 1
}
}
Updates an existing order entry price list by setting field values. Any fields not provided remain unchanged.
Subscription | Order Entry |
---|---|
User type | Business, Employee, Project Manager, and Warehouse users |
Permissions | Edit Price Lists |
key required | string System-assigned key for the order entry price list. Example: 99 |
appliesTo | string Application |
startDate | string <date> Start date for the time frame in which the price list is effective. Example: "2021-01-01" |
endDate | string <date> End date for the time frame in which the price list is effective. Example: "2100-12-31" |
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
{- "startDate": "2021-01-01"
}
{- "ia::result": {
- "key": "5",
- "id": "Base Price List Sales",
- "href": "/objects/order-entry/price-list/5"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes an order entry price list. A price list can be deleted if it has not been assigned to any objects. This removes the price list and all of its associated price list entries from the system.
Subscription | Order Entry |
---|---|
User type | Business, Employee, Project Manager, and Warehouse users |
Permissions | Delete Price Lists |
key required | string System-assigned key for the order entry price list. Example: 99 |
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
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "order-entry/price-list" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or has (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the result set, 4000 maximum. Example: 100 |
OK
Bad Request
{- "object": "order-entry/price-list",
- "filters": [
- {
- "$eq": {
- "status": "inactive"
}
}
], - "fields": [
- "key",
- "id",
- "endDate",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "1",
- "id": "Sales Price List",
- "endDate": "2021-12-31",
- "href": "/objects/order-entry/price-list/1"
}, - {
- "key": "4",
- "id": "Imported Price List",
- "endDate": "2022-01-01",
- "href": "/objects/order-entry/price-list/4"
}, - {
- "key": "20",
- "id": "SBC Price List",
- "endDate": "2023-05-30",
- "href": "/objects/order-entry/price-list/20"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}