Discount
Endpoints
Import entity list
| /companies/{companycode}/establishments/{establishmentcode}/discounts/import | 
Parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
| Path | companyCode | Current context company code | string | 
| Path | establishmentCode | Current context establishment code | string | 
| Body | body | 
Data structure
ImportDiscountList
| Name | Value | 
|---|---|
| callback | string | 
| data | Discount list | 
| parameters | 
Discount
Discount data structure.
| Name | Description | Value | Business rules | 
|---|---|---|---|
| companyCode | string | 2 characters max | |
| establishmentCode | string | 2 characters max | |
| effectiveDate | Effective date | datetime (ISO-8601) | AAAA-MM-JJTHH:MM:SSZ | 
| itemCode | Item code | string | 20 characters max | 
| customerCode | Customer code | string | 10 characters max | 
| groupCode | Customer group code | string | 10 characters max | 
| groupLevel | Customer group level | integer | |
| groupValueCode | Customer group value code | string | 20 characters max | 
| percent | Percent | double | |
| price | Price | double | |
| currencyCode | Currency code | string | 3 characters max | 
| unitCode | Unit code | string | 5 characters max |