Care
Get a list of Care Folders attached to a Seller
Changed onRate 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
Request
- Base URLhttps://preprod.backmarket.co.jp
- Auth
- API key in header Authorization
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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
}
]
}Changes
- warning
removed the optional property
//from the response with the status - info
added the optional property
//to the response with the status
- warning