- Authentication
- Pagination
- Rate limits
- Error codes
- Changelog
- Configuration Service
- Endpoints
- Authentication
- Customer
- Supplier
- Product
- Product
- Groups
- Discount
- Stock
- Prices
- Descriptions
- Refereces
- Quote
- Sales order
- Invoice
- Delivery
- Purchase order
Get product prices
Testing
POST
/rest/v1/products/prices
Request
Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Body Params application/json
items
array [object {3}]
optional
productId
integer
required
configurationId
integer
optional
customerId
integer
optional
Example
{
"items": [
{
"productId": 213,
"customerId": 5873
},
{
"productId": 44,
"configurationId": 84628
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.logictrade.cloud/rest/v1/products/prices' \
--header 'Content-Type: application/json' \
--header 'api-key;' \
--data-raw '{
"items": [
{
"productId": 213,
"customerId": 5873
},
{
"productId": 44,
"configurationId": 84628
}
]
}'
Responses
🟢200Success
application/json
Body
array of:
productId
integer
optional
configurationId
integer
optional
customerId
integer
optional
salesPrice
number <double>
optional
discountSalesPrice
number <double>
optional
recommendedRetailPrice
number <double>
optional
Example
[
{
"productId": 106,
"salesPrice": 1000,
"discountSalesPrice": 900,
"recommendedRetailPrice": 1299.95
},
{
"productId": 106,
"customerId": 12,
"configurationId": 1010,
"salesPrice": 1012,
"discountSalesPrice": 607.2,
"recommendedRetailPrice": 1299.95
}
]
Modified at 2025-01-20 13:54:22