latestOpenAPI 3.0.32026-08-193973220.1 KB

6a1303364143

BuyBack

Post a message on a BuyBack order

Create BuyBack order messages. Caller must be an authenticated refurbisher, owner of the provided buyback order.

post/ws/buyback/v1/orders/{buybackOrderId}/messages

Path parameters

buybackOrderIdstring required

BuyBack order id

Request body

messagestring required

Counter offer explanation message

Example request

{
  "message": "Scratched screen",
  "files": [
    {
      "name": "photo_1.jpg",
      "content": "binary-content"
    }
  ]
}

Response

OK

bodystring

Message content

datestring required

Message creation date

attachmentsstring[]
author'Merchant' | 'Client' | 'BackMarket' | 'Unknown' required

Message author

Example response

{
  "body": "Hello world!",
  "date": "2019-04-04T14:10:00+02:00",
  "attachments": [
    "https://storage-server/sourcing_pj/my_attachement.txt"
  ],
  "author": "Merchant"
}