- Request data with auto resolving promises (top level keys)
client.get('/orders', {
account_id: client.get('/accounts/{email}/id', {
email: 'customer@example.com'
})
}).then(function(categories) {
// ...
});
client.get('/orders', {
account_id: client.get('/accounts/{email}/id', {
email: 'customer@example.com'
})
}).then(function(categories) {
// ...
});