POST api/v1/productgroup/specialprices?priceGroup={priceGroup}
JOS: ADD COMMENTS
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| priceGroup | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SpecialPriceItem| Name | Description | Type | Additional information |
|---|---|---|---|
| AmountOfUnits |
The amount of units this item is starting with |
integer |
None. |
| Price |
Price for this amount of units |
decimal number |
None. |
| IsCompletePrice |
Is the price the same for each amount above the amoutn of units? |
boolean |
None. |
| ValidFrom |
When can the price be used. Start date of period |
date |
None. |
| ValidTill |
When can the price be used. End date of period |
date |
None. |
| VariationIdentifier |
Identifier of the variation the price is for |
globally unique identifier |
None. |
| ProductIdentifier |
Identifier of the product the variation belongs to |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AmountOfUnits": 1,
"Price": 2.0,
"IsCompletePrice": true,
"ValidFrom": "2026-01-23T21:25:20.2012946+00:00",
"ValidTill": "2026-01-23T21:25:20.2012946+00:00",
"VariationIdentifier": "dc6c208c-b2e7-4bed-84e1-cd0df241fb4e",
"ProductIdentifier": "8c4057e8-e79a-4769-b8b1-fe4f7ea56dab"
},
{
"AmountOfUnits": 1,
"Price": 2.0,
"IsCompletePrice": true,
"ValidFrom": "2026-01-23T21:25:20.2012946+00:00",
"ValidTill": "2026-01-23T21:25:20.2012946+00:00",
"VariationIdentifier": "dc6c208c-b2e7-4bed-84e1-cd0df241fb4e",
"ProductIdentifier": "8c4057e8-e79a-4769-b8b1-fe4f7ea56dab"
}
]
application/xml, text/xml
Sample:
<ArrayOfSpecialPriceItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Promidata.PromotionalOffice.Webservice.Contracts">
<SpecialPriceItem>
<AmountOfUnits>1</AmountOfUnits>
<IsCompletePrice>true</IsCompletePrice>
<Price>2</Price>
<ProductIdentifier>8c4057e8-e79a-4769-b8b1-fe4f7ea56dab</ProductIdentifier>
<ValidFrom>2026-01-23T21:25:20.2012946+00:00</ValidFrom>
<ValidTill>2026-01-23T21:25:20.2012946+00:00</ValidTill>
<VariationIdentifier>dc6c208c-b2e7-4bed-84e1-cd0df241fb4e</VariationIdentifier>
</SpecialPriceItem>
<SpecialPriceItem>
<AmountOfUnits>1</AmountOfUnits>
<IsCompletePrice>true</IsCompletePrice>
<Price>2</Price>
<ProductIdentifier>8c4057e8-e79a-4769-b8b1-fe4f7ea56dab</ProductIdentifier>
<ValidFrom>2026-01-23T21:25:20.2012946+00:00</ValidFrom>
<ValidTill>2026-01-23T21:25:20.2012946+00:00</ValidTill>
<VariationIdentifier>dc6c208c-b2e7-4bed-84e1-cd0df241fb4e</VariationIdentifier>
</SpecialPriceItem>
</ArrayOfSpecialPriceItem>