Return deliveries list
Changed onThis API is for merchants who are subscribed to the BackShip service.
Once an orderline has been accepted via the Orderline API, a shipping label is automatically created corresponding to this orderline and can be retrieved from this endpoint via the field labelUrl. The state of the orderline must be updated once the product has been shipped.
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
Page number
Order ID
Get deliveries created at and after this datetime
Get deliveries created before and at this datetime
Get deliveries picked up at and after this datetime
Get deliveries picked up before and at this datetime
State of the order
Whether shipments label have been scanned
Response
List of deliveries
Example response
{
"count": 42,
"next": "https://preprod.backmarket.fr/ws/shipping/v1/deliveries?page=2",
"previous": "https://preprod.backmarket.fr/ws/shipping/v1/deliveries?page=1",
"results": [
{
"order": 42,
"shipmentId": 42,
"carrierId": 42,
"orderlines": [
42
],
"referenceNumber": "1",
"trackingNumber": "Jc2rnTAc4L",
"trackingUrl": "https://carrier.com/tracking/Jc2rnTAc4L",
"carrierName": "Chronopost",
"invoicedCurrency": "EUR",
"invoicedPrice": 30,
"datePickup": "2021-05-05T06:58:31+02:00",
"dateCreation": "2021-05-05T06:58:31+02:00",
"dateDelivery": "2021-05-05T06:58:31+02:00",
"labelUrl": "/static/shipment_labels/eu-9075b45c-d736-4e51-83ec-3f2ae2888e3e-1.pdf",
"type": "DELIVERY",
"pickupInfo": {
"confirmationNumber": "1231NB",
"datePickupActual": "2021-05-05T06:58:31+02:00",
"datePickupRangeStart": "2021-05-05T06:58:31+02:00",
"datePickupRangeEnd": "2021-05-05T06:58:31+02:00",
"datePickupRequested": "2021-05-05",
"pickupId": 42
}
}
]
}Changes
- info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
the endpoint scheme security
BasicAuthwas added to the API
- info