MT#9447 Add external_id query parametere for customers.

(cherry picked from commit aa99236a2b6d6e86a5dad110edc16eeeb16dc32a)
changes/09/409/1
Irina Peshinskaya 12 years ago
parent 01fe7f5245
commit 806820ebb2

@ -64,6 +64,17 @@ class_has 'query_params' => (
},
},
},
{
param => 'external_id',
description => 'Filter for customer with specific external_id',
query => {
first => sub {
my $q = shift;
{ 'me.external_id' => $q };
},
second => sub { },
},
},
{
param => 'contact_id',
description => 'Filter for customers belonging to a specific contact',

Loading…
Cancel
Save