Category fees

Note

This endpoint is under construction and it is subject to change.

The advertisement listing fees related to the leaf category.

field type constraints default Req W U
insertionFee int non-negative yes no no
runningSubscriptions Running Subscriptions yes no no

insertionFee

A fee in Euro cents to create an advertisement in the leaf category.

runningSubscriptions

All running subscription fees in the leaf category.

Reference

GET /v1/categories/{l1CategoryId}/{l2CategoryId}/fees

This urls returns advertisement listing fees for the specified leaf category.

Example

Retrieving category insertion fee :

Request :

GET /v1/categories/1/4/fees HTTP/1.1
Host: api.marktplaats.nl

Response :

HTTP/1.1 200 OK
Content-Type: application/json

{
 "_links":{
   "self":{
     "href":"/v1/categories/1/4/fees"
   },
   "describedby":{
     "href":"https://api.marktplaats.nl/docs/v1/categories.html#fees"
   },
   "curies":[{
     "href":"${relsUrl}/{rel}.html",
     "templated":true,
     "name":"mp"
   }]
 },
 "insertionFee": 325,
 "runningSubscriptions":[]
}

Retrieving category subscription fees :

Request :

GET /v1/categories/91/93/fees HTTP/1.1
Host: api.marktplaats.nl

Response :

HTTP/1.1 200 OK
Content-Type: application/json

{
 "_links":{
   "self":{
     "href":"/v1/categories/91/93/fees"
   },
   "describedby":{
     "href":"https://api.marktplaats.nl/docs/v1/categories.html#fees"
   },
   "curies":[{
     "href":"${relsUrl}/{rel}.html",
     "templated":true,
     "name":"mp"
   }]
 },
 "insertionFee": 0,
 "runningSubscriptions":[
   {
     "durationDays": 7,
     "fee": 1250
   },
   {
     "durationDays": 14,
     "fee": 1750
   },
   {
     "durationDays": 28,
     "fee": 2500
   }
 ]
}