latestOpenAPI 3.0.32026-08-193973220.1 KB

6a1303364143

Care

Get a list of Care Folders attached to a Seller

Rate Limiting

This endpoint is rate limited to 520 requests per minute and 4000 per day. If you exceed this limit, you will receive a 429 status code.

get/ws/sav

Query parameters

last_idinteger

Retrieve Care Folders with an ID higher than last_id

state0 | 9

Retrieve Care Folders with state equal to state.

  • 0 - OPEN
  • 9 - CLOSED
orderlineinteger

Retrieve Care Folders for a specific Orderline

last_modification_datestring

Retrieve Care Folders more recent than last_modification_date. Format is YYYY-MM-DD-hh-mm

last_message_datestring

Retrieve Care Folders having messages more recent than last_message_date. Format is YYYY-MM-DD-hh-mm

pageinteger

Page number to retrieve (10 entries per page).

Response

Retrieved

countinteger

Number of Care Folders on the current page

nextstring

URL to the next page

previousstring

URL to the previous page

Example response

{
  "count": 3,
  "next": "https://backmarket.fr/ws/sav/?page=2",
  "previous": "null",
  "results": [
    {
      "id": 123,
      "client": 456,
      "merchant": 789,
      "orderline": 321,
      "date_creation": "1970-01-01T00:00:00+00:00",
      "date_modification": "1970-01-01T00:00:00+00:00",
      "date_last_message": "1970-01-01T00:00:00+00:00",
      "date_closed": "1970-01-01T00:00:00+00:00",
      "state": 9,
      "lines": [
        731,
        1252,
        57189
      ],
      "country_code": "fr-fr",
      "backcare": true
    }
  ]
}