-
Notifications
You must be signed in to change notification settings - Fork 0
Home
HammerheadShark666 edited this page Sep 23, 2024
·
3 revisions
The GetCustomerAddress gRPC service is designed to retrieve detailed information about a customer address based on the customer and customer address unique identifiers. This service enables clients to request and receive customer address information in a structured and efficient manner using gRPC.
GetCustomerAddress
service CustomerAddressGrpc {
rpc GetCustomerAddress (CustomerAddressRequest) returns (CustomerAddressResponse);
}
The client sends a request containing a customer id and an address id to get detailed information about a customers address.
message CustomerAddressRequest {
string customerId = 1;
string addressId = 2;
}
The service responds with information about the requested customer address.
message CustomerAddressResponse {
string addressLine1 = 1;
string addressLine2 = 2;
string addressLine3 = 3;
string townCity = 4;
string county = 5;
string postcode = 6;
string country = 7;
}
The code for mos-customer-address-grpc can be found at code