Actions478
- Account Actions
- Account Details For Period Inquiry Actions
- Account Group Actions
- Account Summary Inquiry Actions
- Activity Actions
- Amazon Store Actions
- Appointment Actions
- Attribute Definition Actions
- Big Commerce Stores Actions
- Bill Actions
- Budget Actions
- Business Account Actions
- Carrier Actions
- Case Actions
- Cash Sale Actions
- Cash Transaction Actions
- Change Order Actions
- Change Order Class Actions
- Check Actions
- Companies Structure Actions
- Company Financial Period Actions
- Contact Actions
- Contract Usage Actions
- Cost Code Actions
- Currency Actions
- Customer Actions
- Customer Class Actions
- Customer Location Actions
- Customer Payment Method Actions
- Customer Price Class Actions
- Deduction Benefit Code Actions
- Discount Actions
- Discount Code Actions
- Earning Type Code Actions
- Email Actions
- Email Processing Actions
- Employee Actions
- Employee Payroll Class Actions
- Employee Payroll Settings Actions
- Event Actions
- Expense Claim Actions
- Expense Receipt Actions
- External Commitment Actions
- Financial Period Actions
- Financial Year Actions
- F O B Point Actions
- Inventory Adjustment Actions
- Inventory Allocation Inquiry Actions
- Inventory Issue Actions
- Inventory Quantity Available Actions
- Inventory Receipt Actions
- Inventory Summary Inquiry Actions
- Invoice Actions
- Item Class Actions
- Item Sales Category Actions
- Item Warehouse Actions
- Journal Transaction Actions
- Kit Assembly Actions
- Kit Specification Actions
- Labor Cost Rate Actions
- Lead Actions
- Ledger Actions
- Lot Serial Class Actions
- Non Stock Item Actions
- Opportunity Actions
- Pay Group Actions
- Payment Actions
- Payment Method Actions
- Pay Period Actions
- Payroll Batch Actions
- Payroll Union Local Actions
- Payroll W C C Code Actions
- Physical Inventory Count Actions
- Physical Inventory Review Actions
- Pro Forma Invoice Actions
- Project Actions
- Project Budget Actions
- Project Task Actions
- Project Template Actions
- Project Template Task Actions
- Project Transaction Actions
- P T O Bank Actions
- Purchase Order Actions
- Purchase Receipt Actions
- Sales Invoice Actions
- Sales Order Actions
- Salesperson Actions
- Sales Prices Inquiry Actions
- Sales Price Worksheet Actions
- Service Order Actions
- Shipment Actions
- Shipping Box Actions
- Shipping Term Actions
- Shipping Zones Actions
- Ship Via Actions
- Shopify Store Actions
- Stock Item Actions
- Storage Details By Location Inquiry Actions
- Storage Details Inquiry Actions
- Subaccount Actions
- Subcontract Actions
- Task Actions
- Tax Actions
- Tax Category Actions
- Tax Reporting Settings Actions
- Tax Zone Actions
- Template Items Actions
- Time Entry Actions
- Transfer Order Actions
- Union Local Actions
- Units Of Measure Actions
- Vendor Actions
- Vendor Class Actions
- Vendor Prices Inquiry Actions
- Vendor Price Worksheet Actions
- Warehouse Actions
- Work Calendar Actions
- Work Class Compensation Code Actions
- Work Location Actions
Discount Code → Get List
AI-generatedSummary
Retrieve a filtered list of Discount Code records from Acumatica using OData $filter expressions constructed from user-specified criteria.
Inputs
- Applicable To Filter — Filter Discount Codes by the 'Applicable To' field using operators Equals, Contains, or Starts With.
- Created Date Time Filter — Filter Discount Codes by their creation date/time using operators such as Equals, After, On or After, Before, or On or Before.
- Description Filter — Filter Discount Codes by description using operators Equals, Contains, or Starts With.
- Discount Code ID Filter — Filter Discount Codes by Discount Code ID using operators Equals, Contains, or Starts With.
- Discount Type Filter — Filter Discount Codes by Discount Type using operators Equals, Contains, or Starts With.
- Last Modified Date Time Filter — Filter Discount Codes by last modified date/time using operators such as Equals, After, On or After, Before, or On or Before.
- Custom Filter — Specify an advanced custom OData $filter string to apply additional filtering criteria beyond the predefined filters.
Output shape
a list of Discount Code records matching the filter criteria, returned as JSON objects with fields defined by the Acumatica API schema for Discount Codes.
Filters combine to form an OData $filter expression which is sent to the Acumatica API. Only Discount Codes matching this filter are returned. If no filters are set, all Discount Codes are retrieved. The output does not include pagination or error envelope details by default.
Examples
Example 1: Retrieve all Discount Codes applicable to 'Customer' created after 2023-01-01.
Set 'Applicable To Filter' with operator 'Equals' and value 'Customer', and 'Created Date Time Filter' with operator 'After' and value '2023-01-01T00:00:00'.
Example 2: Retrieve Discount Codes whose description contains 'Summer' ignoring case.
Set 'Description Filter' with operator 'Contains' and value 'Summer'.
Example 3: Use a custom OData filter to retrieve Discount Codes with IDs starting with 'DISC' and last modified on or after 2024-01-01.
Set 'Custom Filter' with value "startswith(DiscountCodeID/value, 'DISC') and LastModifiedDateTime/value ge 2024-01-01T00:00:00".
