Skip to content

Commit

Permalink
Merge pull request #1317 from bolsu/UNITY-7589-Variations-Reference-p…
Browse files Browse the repository at this point in the history
…rice-displayed-in-SF-should-match-the-list-price-(from-price)

UNITY-7589 Variations: Reference price displayed in SF should match t…
  • Loading branch information
dkluever22 authored Aug 31, 2023
2 parents 4fecdab + 8955737 commit a8ce464
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"amount": 270.5,
"currency": "EUR"
},
"lowestRefPriceFormatted": "1 piece(s) = 270.50 €",
"highestPrice": {
"taxType": "GROSS",
"formatted": "310.50 €",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down
3 changes: 3 additions & 0 deletions _raml/apps/products/examples/get_product_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down Expand Up @@ -226,6 +227,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down Expand Up @@ -374,6 +376,7 @@
"amount": 39.5,
"currency": "EUR"
},
"lowestRefPriceFormatted": "1 piece(s) = 39.50 €",
"highestPrice": {
"taxType": "GROSS",
"formatted": "131.70 €",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"amount": 270.5,
"currency": "EUR"
},
"lowestRefPriceFormatted": "1 piece(s) = 270.50 €",
"highestPrice": {
"taxType": "GROSS",
"formatted": "310.50 €",
Expand Down Expand Up @@ -260,6 +261,7 @@
"amount": 59.50,
"currency": "EUR"
},
"lowestRefPriceFormatted": "1 piece(s) = 59.50 €",
"highestPrice": {
"taxType": "GROSS",
"formatted": "70.50 €",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down
3 changes: 3 additions & 0 deletions _raml/apps/products/examples/post_product_find_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down Expand Up @@ -220,6 +221,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down Expand Up @@ -362,6 +364,7 @@
"amount": 39.5,
"currency": "EUR"
},
"lowestRefPriceFormatted": "1 piece(s) = 39.50 €",
"highestPrice": {
"taxType": "NET",
"formatted": "131.70 €",
Expand Down
1 change: 1 addition & 0 deletions _raml/apps/products/examples/post_product_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"currency": "EUR"
},
"lowestPrice": null,
"lowestRefPriceFormatted": null,
"highestPrice": null,
"manufacturerPrice": null,
"basePrice": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"amount": 270.5,
"currency": "EUR"
},
"lowestRefPriceFormatted": "1 piece(s) = 270.50 €",
"highestPrice": {
"taxType": "GROSS",
"formatted": "310.50 €",
Expand Down Expand Up @@ -260,6 +261,7 @@
"amount": 59.50,
"currency": "EUR"
},
"lowestRefPriceFormatted": "1 piece(s) = 59.50 €",
"highestPrice": {
"taxType": "GROSS",
"formatted": "70.50 €",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"manufacturerPrice": null,
"basePrice": null,
"lowestPrice":null,
"lowestRefPriceFormatted": null,
"highestPrice": null
},
"forSale": true,
Expand Down
1 change: 1 addition & 0 deletions apps/data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ This object is used for the attributes of basePrice, depositPrice, ecoParticipat
| manufacturerPrice | object of [price](page:apps-data-types#price) | The sales price recommended by the manufacturer.|
| priceWithDeposits | object of [price](page:apps-data-types#price) | The price including all deposits, i.e. price, depositPrice and ecoParticipationPrice.|
| lowestPrice | object of [price](page:apps-data-types#price) | The price of the cheapest variation of a product. Only available if the `productVariationType` is *master*, and a price for at least one variation is available. |
| lowestRefPriceFormatted | string | The formatted price per reference unit of the cheapest variation of a product. Only available if the `productVariationType` is *master*, and a price for at least one variation is available. |
| highestPrice | object of [price](page:apps-data-types#price) | The price of the most expensive variation of a product. Only available if the `productVariationType` is *master*, and a price for at least one variation is available. |
| basePrice | object of [basePrice](page:apps-data-types#baseprice) | The price information scaled to a standardised base unit, according to the German base price regulation "Preisangabenverordnung" (PAngV), e.g. 1 l = 1.20 EUR. Is `null` if no reference amount is specified for the product.|

Expand Down

0 comments on commit a8ce464

Please sign in to comment.