Skip to content

Customer functions

getShippingAddresses

/api/ezp/v2/siso-rest/customer/addresses/shipping (GET)

Returns available delivery addresses for the current customer.

Use the standard ses.customer_profile_data.ez_erp service to get shipping addresses:

1
getCustomerProfileData()->deliveryParties

Request

empty

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
    "ShippingAddressesResponse": {
        "_media-type": "application\/vnd.ez.api.ShippingAddressesResponse+json",
        "Parties": [
            {
                "_media-type": "application\/vnd.ez.api.Party+json",
                "PartyIdentification": [],
                "PartyName": [],
                "PostalAddress": {
                    "_media-type": "application\/vnd.ez.api.PartyPostalAddress+json",
                    "StreetName": null,
                    "AdditionalStreetName": null,
                    "BuildingNumber": null,
                    "CityName": null,
                    "PostalZone": null,
                    "CountrySubentity": null,
                    "CountrySubentityCode": null,
                    "AddressLine": [],
                    "Country": {
                        "_media-type": "application\/vnd.ez.api.PartyPostalAddressCountry+json",
                        "IdentificationCode": null,
                        "Name": null
                    },
                    "Department": null,
                    "SesExtension": {}
                },
                "Contact": {
                    "_media-type": "application\/vnd.ez.api.Contact+json",
                    "ID": null,
                    "Name": null,
                    "Telephone": null,
                    "Telefax": null,
                    "ElectronicMail": null,
                    "OtherCommunication": null,
                    "Note": null,
                    "SesExtension": {}
                },
                "Person": {
                    "_media-type": "application\/vnd.ez.api.PartyPerson+json",
                    "FirstName": null,
                    "FamilyName": null,
                    "Title": null,
                    "MiddleName": null,
                    "SesExtension": {}
                },
                "SesExtension": {}
            }
        ]
    }
}
Read the Docs