Dynamic prices - OBSOLETE API

List Dynamic prices

URL

https://dev.v3manager.com/demo/api/dynamicPrice

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/dynamicPrice"

Count Dynamic prices

URL

https://dev.v3manager.com/demo/api/dynamicPrice/count

HTTP Method

GET

Sum Dynamic prices

URL

https://dev.v3manager.com/demo/api/dynamicPrice/sum

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/dynamicPrice/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/dynamicPrice/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"

Parameters

Name Type Required
field string yes
filter array no

Load Dynamic price by id

URL

https://dev.v3manager.com/demo/api/dynamicPrice/:id

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/dynamicPrice/22"

Create or update Dynamic prices

URL

https://dev.v3manager.com/demo/api/dynamicPrice

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUserName Updated by string No
updateUser Updated by int Yes
maxLimit Limit in advance duration No
minLimit Minimum limit before start duration No
calendar Calendar int No
calendarName Calendar string No
channel Channel select No
customer Customer int No
customerName Customer string No
createUserName Created by string No
createUser Created by int Yes
directDebit Direct debit bool No
daysOfWeek Days of the week daysOfWeek No
ageMax Maximum age int No
ageMin Minimum age int No
deleted Removed bool Yes
productTagName Product tag string No
productTag Product tag int No
customerTags Customer tags manyToMany No
evalSalesByHour Evaluate per hour bool No
family Family int No
familyName Family string No
updated Update date datetime Yes
created Creation date datetime Yes
endDate End date date No
startDate Start date date No
holidays Holidays select No
endTime End time time No
startTime Start time time No
ageOffsetDays Age range int No Calculate the person's age by increasing the number of days
maxSaleCount Maximum sales number int No
minSaleCount Minimum sales number int No
name Name string No
priority Priority int No
product Product int No
productName Product string No
id ID int Yes
subfamilyName Subfamily string No
subfamily Subfamily int No
type Value type select No
value Value float No
Values for channel
Value Name
0 Apply always
1 Apply only Online
2 Apply only in the back office
Values for holidays
Value Name
0 Include holidays
1 Exclude holidays
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