GET method to display all the information on a specific delivery.
With this call you can get the features of the delivery,
price, date of creation, shipping status, type of delivery, if the delivery is in a campaign or if it also belongs to an app. You have to provide the secret of the account as a header
Name | Description |
---|---|
account_id required | Your account unique identifier to access the API. This parameter is part of the authorization process |
delivery_id required | unique identifier of the Delivery you want to get all the information. This parameter have to replace: delivery_id in the example of the call. |
GET
/v2/account/:account_id/delivery/:delivery_id
Accept: application/json
Authorization: Token token={account.secret}
200
{
"delivery": {
"id": "54f97ac2a09673c4b5000001",
"created_at": "2015-03-06T10:00:34Z",
"updated_at": "2015-03-06T10:00:42Z",
"channel": "EMAIL",
"status": "sent",
"refunded": false,
"template_data": {
"sender": "John",
"subject": "Hey Jane!",
"content": "Hey! This is a test, Jane"
},
"channel_data": {
"3": "janedoe@example.com"
},
"price": {
"amount": 0.01,
"currency": "€"
}
}
}