Appearance
Send prices
Endpoints
https://app.passelimerit.fi/api/v2/sendprices
Query Payload
json
{
"Prices": [
{
"TargetGroup": 1,
"TargetName": "testName",
"ItemCode": "eu-maat tav",
"Price": 0,
"CurrencyCode": "EUR",
"DiscountAllowed": true,
"StartDate": "20200707",
"EndDate": "20200708"
}
]
}
Click to see the query parameters
Field | Type | Comment | Required |
---|---|---|---|
Prices | Array of prices objects | Required |
Prices Object Parameters
Field | Type | Comment | Required |
---|---|---|---|
TargetGroup | Int | 0 - campaign, 1 - Customer, 2 - Customer Group | |
TargetName | Str | Required | |
ItemCode[1] | Str | Required | |
Price | Decimal | ||
CurrencyCode | Str | ||
DiscountAllowed | Bool | true / false | |
StartDate | Date | Required | |
EndDate | Date |
IMPORTANT
There is a problem with how the API checks the ItemCode. It has to be in lowercase or else it will not work.
Successful Result
text
OK
ItemCode has to be in lowercase or else it will not work. ↩︎