DynamicPricing Models
Dynamic price
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/dynamicPrice/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/dynamicPrice
Create
POST https://eu.golfmanager.com/api/model/dynamicPrice
Update
POST https://eu.golfmanager.com/api/model/dynamicPrice/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/dynamicPrice/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Name |
string |
yes |
no |
product |
Product |
int |
no |
no |
productTag |
Product tag |
int |
no |
no |
customerTags |
Customer tags |
manyToMany |
no |
no |
customer |
Customer |
int |
no |
no |
ageMin |
Minimum age |
int |
no |
no |
ageMax |
Maximum age |
int |
no |
no |
ageOffsetDays |
Age range |
int |
no |
no |
startDate |
Start date |
date |
no |
no |
endDate |
End date |
date |
no |
no |
daysOfWeek |
Days of the week |
daysOfWeek |
no |
no |
holidays |
Holidays |
select |
no |
no |
calendar |
Calendar |
int |
no |
no |
startTime |
Start time |
time |
no |
no |
endTime |
End time |
time |
no |
no |
minLimit |
Limit before the start |
duration |
no |
no |
maxLimit |
Limit in advance |
duration |
no |
no |
directDebit |
Direct debit |
bool |
yes |
no |
priority |
Priority |
int |
yes |
no |
channel |
Channel |
select |
yes |
no |
family |
Family |
int |
no |
no |
subfamily |
Subfamily |
int |
no |
no |
minSaleCount |
Minimum sales number |
int |
no |
no |
maxSaleCount |
Maximum sales number |
int |
no |
no |
evalSalesByHour |
Evaluate per hour |
bool |
yes |
no |
value |
Value |
float |
yes |
no |
type |
Value type |
select |
yes |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |
Values for holidays
Value |
Name |
0 |
Include holidays |
1 |
Exclude holidays |
Values for channel
Value |
Name |
0 |
Apply always |
1 |
Apply only Online |
2 |
Apply only in the back office |
Values for type
Value |
Name |
0 |
Fixed price |
1 |
Amount to be discounted from the price |
2 |
Percentage to be discounted from the price |
3 |
Porcentaje a descontar del precio. Redondear |
Dynamic price tag
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag
Create
POST https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag
Update
POST https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
price |
|
int |
yes |
no |
tag |
|
int |
yes |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |