Backship
Return details about a specific delivery
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.
get/ws/shipping/v1/deliveries/{id}
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.
Path parameters
idinteger required
Delivery ID
Response
Delivery details
Example response
{
"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