Skip to content

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
FieldTypeCommentRequired
PricesArray of prices objectsRequired

Prices Object Parameters

FieldTypeCommentRequired
TargetGroupInt0 - campaign,
1 - Customer,
2 - Customer Group
TargetNameStrRequired
ItemCode[1]StrRequired
PriceDecimal
CurrencyCodeStr
DiscountAllowedBooltrue / false
StartDateDateRequired
EndDateDate

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

  1. ItemCode has to be in lowercase or else it will not work. ↩︎