v6 - Offers - Demo Endpoints

Create an unpublished offer report

Example request for requesting an unpublished offer report.

POST /retailer-demo/offers/unpublished

  • Request

  • Response

Accept: application/vnd.retailer.v6+json
Content-Type: application/vnd.retailer.v6+json
Authorization: Bearer token (omitted)

{
  "format" : "CSV"
}

Content-Type: application/vnd.retailer.v6+json

Status: 202 ACCEPTED

{
  "processStatusId" : "1",
  "eventType" : "UNPUBLISHED_OFFER_REPORT",
  "description" : "Create unpublished offer report.",
  "status" : "PENDING",
  "createTimestamp" : "2021-06-23T10:11:13+02:00",
  "links" : [ {
    "rel" : "self",
    "href" : "http://api.bol.com/retailer-demo/process-status/1",
    "method" : "GET"
  } ]
}

Retrieve an unpublished offer report

Example request for retrieving an unpublished offer report.

GET /retailer-demo/offers/unpublished/3f2bb9f5-79dd-472c-aeb7-fef416b77928

  • Request

  • Response

Accept: application/vnd.retailer.v6+csv
Content-Type: N/A
Authorization: Bearer token (omitted)

This endpoint has no request body.

Content-Type: application/vnd.retailer.v6+csv

Status: 200 OK

offerId,ean,notPublishableReason,notPublishableReasonDescription
a045ae2c-b69c-505a-6200-bff01caab5c3,2138339540459,INSUFFICIENT_PERMISSIONS,Not allowed to sell this product with this condition.
c31ff83c-16a2-dd7c-2620-185b1caab5c3,2028908942688,INSUFFICIENT_PERMISSIONS,Not allowed to sell this product with this condition.
5abf971c-7c56-6558-b620-c6a31caab5c3,2698878514545,INSUFFICIENT_PERMISSIONS,Not allowed to sell this product with this condition.
bdca2298-5848-3956-6200-9f0a1caab5c3,2223685193227,INSUFFICIENT_PERMISSIONS,Not allowed to sell this product with this condition.
4ec34c54-2170-264a-f620-bff01caab5c3,2799706308715,INSUFFICIENT_PERMISSIONS,Not allowed to sell this product with this condition.
1253a579-059a-7618-1662-9f5b1caab5c3,2968142026334,INSUFFICIENT_PERMISSIONS,Not allowed to sell this product with this condition.