DynamicPricing Models
Etiqueta de precio dinámico
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/dynamicPriceToCustomerTag/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/dynamicPriceToCustomerTag
Create
POST https://dev.v3manager.com/api/model/dynamicPriceToCustomerTag
Update
POST https://dev.v3manager.com/api/model/dynamicPriceToCustomerTag/[id]
Delete
DELETE https://dev.v3manager.com/api/model/dynamicPriceToCustomerTag/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| price |
|
int |
yes |
no |
| tag |
|
int |
yes |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Precio dinámico
Endpoints
Retrieve by ID
GET https://dev.v3manager.com/api/model/dynamicPrice/[id]
Retrieve many
GET https://dev.v3manager.com/api/model/dynamicPrice
Create
POST https://dev.v3manager.com/api/model/dynamicPrice
Update
POST https://dev.v3manager.com/api/model/dynamicPrice/[id]
Delete
DELETE https://dev.v3manager.com/api/model/dynamicPrice/[id]
Fields
| Name |
Label |
Type |
Required |
Readonly |
| id |
Referencia |
int |
no |
yes |
| name |
Nombre |
string |
yes |
no |
| product |
Producto |
int |
no |
no |
| productTag |
Etiqueta de producto |
int |
no |
no |
| customerTags |
Etiquetas de cliente |
manyToMany |
no |
no |
| customer |
Cliente |
int |
no |
no |
| ageMin |
Edad mínima |
int |
no |
no |
| ageMax |
Edad máxima |
int |
no |
no |
| ageOffsetDays |
Margen de edad |
int |
no |
no |
| startDate |
Fecha de inicio |
date |
no |
no |
| endDate |
Fecha de fin |
date |
no |
no |
| daysOfWeek |
Días de la semana |
daysOfWeek |
no |
no |
| holidays |
Festivos |
select |
no |
no |
| calendar |
Calendario |
int |
no |
no |
| startTime |
Hora de inicio |
time |
no |
no |
| endTime |
Hora de fin |
time |
no |
no |
| minLimit |
Antelación mínima |
duration |
no |
no |
| maxLimit |
Antelación máxima |
duration |
no |
no |
| directDebit |
Domiciliación |
bool |
yes |
no |
| priority |
Prioridad |
int |
yes |
no |
| channel |
Canal |
select |
yes |
no |
| family |
Familia |
int |
no |
no |
| subfamily |
Subfamilia |
int |
no |
no |
| minSaleCount |
Mínimo número de ventas |
int |
no |
no |
| maxSaleCount |
Máximo número de ventas |
int |
no |
no |
| evalSalesByHour |
Evaluar por hora |
bool |
yes |
no |
| value |
Valor |
float |
yes |
no |
| type |
Tipo de valor |
select |
yes |
no |
| created |
Fecha de creación |
datetime |
no |
yes |
| createUser |
Creado por |
int |
no |
yes |
| updated |
Fecha de actualización |
datetime |
no |
yes |
| updateUser |
Actualizado por |
int |
no |
yes |
| deleted |
Eliminado |
bool |
no |
yes |
Values for holidays
| Value |
Name |
| 0 |
Incluir festivos |
| 1 |
Excluir festivos |
Values for channel
| Value |
Name |
| 0 |
Aplicar siempre |
| 1 |
Aplicar solo online |
| 2 |
Aplicar solo en administración |
Values for type
| Value |
Name |
| 0 |
Precio fijo |
| 1 |
Cantidad a descontar del precio |
| 2 |
Porcentaje a descontar del precio |
| 3 |
Porcentaje a descontar del precio. Redondear |