latestOpenAPI 3.0.32026-08-193973220.1 KB
6a1303364143
Orders
Get a specific order
get/ws/orders/{order_id}
Path parameters
order_idinteger required
The order identifier
Response
Return the order with the specified id
Example response
{
"order_id": 5978,
"delivery_mode": "HOME_DELIVERY",
"shipping_address": {
"id": 1,
"country": "FR",
"city": "Paris",
"postalCode": "75003",
"firstName": "Victor",
"lastName": "Hugo",
"company": "backmarket",
"phoneNumber": "+33639981234",
"state": "California",
"street": "3, Imaginary Street",
"street2": "Apartement X"
},
"billing_address": {
"id": 1,
"country": "FR",
"city": "Paris",
"postalCode": "75003",
"firstName": "Victor",
"lastName": "Hugo",
"company": "backmarket",
"phoneNumber": "+33639981234",
"state": "California",
"street": "3, Imaginary Street",
"street2": "Apartement X"
},
"delivery_note": "https://example.com/delivery_note/1519221434.69.pdf",
"expected_dispatch_date": "2022-04-29T09:35:24",
"tracking_number": "my_tracking_number",
"tracking_url": "http://www.colissimo.fr/my_tracking_url",
"shipper_display": "Colissimo",
"date_creation": "2022-04-29T09:35:24.123456Z",
"date_modification": "2022-04-29T09:35:24Z",
"date_shipping": "2022-04-29T09:35:24.123456Z",
"date_payment": "2022-04-29T09:35:24.123Z",
"state": 1,
"orderlines": [
{
"id": 37195,
"date_creation": "2022-04-29T09:35:24.123456Z",
"state": 1,
"price": "229.0",
"shipping_price": "0.00",
"shipping_delay": 48,
"currency": "EUR",
"listing": "IPHONE416GONLIB0",
"listing_id": 142,
"orderline_fee": "22.9",
"product": "Apple Iphone 4 16 Go - Noir - D\\u00e9bloqu\\u00e9",
"quantity": 2,
"brand": "apple",
"product_id": 141,
"backcare": true,
"backcare_price": 500,
"sales_taxes": "25.8",
"imei": "011415009346880",
"condition": 10
}
],
"price": "299.25",
"shipping_price": "5.99",
"currency": "EUR",
"country_code": "fr-fr",
"payment_method": "PAYPAL",
"sales_taxes": "25.8"
}