Library
Webhooks & Firehoses
Department1 Resource
This resource describes details of a single Department1
"K". The field physkey is expected in the "k" (key) parameter for FD1 edit functions.
Available Fields
| Name | Description | Datatype | Resource | "q" |
| depid | Number | Yes | ||
| description | String | |||
| minmargin | Double | |||
| maxmargin | Double | |||
| flags | Number | |||
| color | Number | |||
| deleted | Department has been deleted | |||
| physkey | String | |||
| sortorder | Number | |||
| rmsystem | String | |||
| marginalert | Alert at POS if current margin outside targets | |||
| xeroaccountid | Account id in Xero for this payment type | String | ||
| loadcostpolicy | How/if cost price should be loaded into stores during a sync operation | Number | ||
| sitecategory | ||||
| default_webgroup | Default webgroup used for products in this department that do not specifically have a webgroup defined themselves | Number |