Retrieve commission information for a single EAN 8712626055143
Retrieves commission information on a specific EAN, in this case 8712626055143.
Request
GET - /retailer-demo/commission/8712626055143?condition=GOOD&price=24.50
Request headers
Accept: |
application/vnd.retailer.v3+json |
Content-Type: |
N/A |
Authorization: |
Bearer token (omitted) |
Request body
This endpoint has no request body.
Response Headers
Content-Type: |
application/vnd.retailer.v3+json |
Status: |
200 OK |
Response body
{
"ean" : "8712626055143",
"condition" : "GOOD",
"price" : 24.5,
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 4.67
}
Back to top
Retrieve commission information for a single EAN 8712626055150
Retrieves commission information on a specific EAN, in this case 8712626055150.
Request
GET - /retailer-demo/commission/8712626055150?condition=NEW
Request headers
Accept: |
application/vnd.retailer.v3+json |
Content-Type: |
N/A |
Authorization: |
Bearer token (omitted) |
Request body
This endpoint has no request body.
Response Headers
Content-Type: |
application/vnd.retailer.v3+json |
Status: |
200 OK |
Response body
{
"ean" : "8712626055150",
"condition" : "NEW",
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 6.24
}
Back to top
Retrieve commission information for a single EAN 0604020064587
Retrieves commission information on a specific EAN, in this case 0604020064587.
Request
GET - /retailer-demo/commission/0604020064587?condition=NEW&price=24.95
Request headers
Accept: |
application/vnd.retailer.v3+json |
Content-Type: |
N/A |
Authorization: |
Bearer token (omitted) |
Request body
This endpoint has no request body.
Response Headers
Content-Type: |
application/vnd.retailer.v3+json |
Status: |
200 OK |
Response body
{
"ean" : "0604020064587",
"condition" : "NEW",
"price" : 24.95,
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 4.73
}
Back to top
Retrieve commission information for a single EAN 8718526069334 with reductions
Retrieves commission information on a specific EAN, in this case 8718526069334. This article is also viable for a reduction in commission if a certain pricepoint is met.
Request
GET - /retailer-demo/commission/8718526069334?condition=NEW&price=25.00
Request headers
Accept: |
application/vnd.retailer.v3+json |
Content-Type: |
N/A |
Authorization: |
Bearer token (omitted) |
Request body
This endpoint has no request body.
Response Headers
Content-Type: |
application/vnd.retailer.v3+json |
Status: |
200 OK |
Response body
{
"ean" : "8718526069334",
"condition" : "NEW",
"price" : 25.0,
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 3.82,
"totalCostWithoutReduction" : 4.74,
"reductions" : [ {
"maximumPrice" : 25.99,
"costReduction" : 0.92,
"startDate" : "2018-04-25",
"endDate" : "2018-05-15"
} ]
}
Back to top
Retrieve commission information for a single EAN 8804269223123
Retrieves commission information on a specific EAN, in this case 8804269223123.
Request
GET - /retailer-demo/commission/8804269223123?condition=NEW&price=699.95
Request headers
Accept: |
application/vnd.retailer.v3+json |
Content-Type: |
N/A |
Authorization: |
Bearer token (omitted) |
Request body
This endpoint has no request body.
Response Headers
Content-Type: |
application/vnd.retailer.v3+json |
Status: |
200 OK |
Response body
{
"ean" : "8804269223123",
"condition" : "NEW",
"price" : 699.95,
"fixedAmount" : 0.99,
"percentage" : 16,
"totalCost" : 112.99
}
Back to top
Retrieve commission information on multiple EAN's
In addition to the GET Commission request which returns commission information for a single EAN, it is also possibly to send us a query with multiple EANs with a maximum of 100 EANs. The demo environment contains commission information for the following EAN’s: 8712626055150, 8804269223123, 8712626055143, 8718526069334, 0604020064587.
Request
POST - /retailer-demo/commission
Request headers
Accept: |
application/vnd.retailer.v3+json |
Content-Type: |
application/vnd.retailer.v3+json |
Authorization: |
Bearer token (omitted) |
Request body
{
"commissionQueries" : [ {
"ean" : "8712626055150",
"condition" : "NEW",
"price" : "34.99"
}, {
"ean" : "8804269223123",
"condition" : "NEW",
"price" : "699.95"
}, {
"ean" : "8712626055143",
"condition" : "GOOD",
"price" : "24.50"
}, {
"ean" : "0604020064587",
"condition" : "NEW",
"price" : "24.95"
}, {
"ean" : "8718526069334",
"condition" : "NEW",
"price" : "25.00"
} ]
}
Response Headers
Content-Type: |
application/vnd.retailer.v3+json |
Status: |
200 OK |
Response body
{
"commissions" : [ {
"ean" : "8712626055150",
"condition" : "NEW",
"price" : 34.99,
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 6.24
}, {
"ean" : "8804269223123",
"condition" : "NEW",
"price" : 699.95,
"fixedAmount" : 0.99,
"percentage" : 16,
"totalCost" : 112.99
}, {
"ean" : "8712626055143",
"condition" : "GOOD",
"price" : 24.5,
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 4.67
}, {
"ean" : "0604020064587",
"condition" : "NEW",
"price" : 24.95,
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 4.73
}, {
"ean" : "8718526069334",
"condition" : "NEW",
"price" : 25.0,
"fixedAmount" : 0.99,
"percentage" : 15,
"totalCost" : 3.82,
"totalCostWithoutReduction" : 4.74,
"reductions" : [ {
"maximumPrice" : 25.99,
"costReduction" : 0.92,
"startDate" : "2018-04-25",
"endDate" : "2018-05-15"
} ]
} ]
}
Back to top