/
Http API: GetAllUserAddresses
Http API: GetAllUserAddresses
This article describes the GetAllUserAddresses API call.
GetAllUserAddresses
URI | /GetDeliveryOptions |
URL Structure | https://host/api/Order/GetAllUserAddresses |
HTTP Method | GET/GetDeliveryOptions |
Default format | JSON |
Description | Signifikant will call the GetDeliveryOptions function when user arrives at order page. |
JSON structure sample
RequestUri
https://host/API/Address/GetAllUserAddress?user=sign&UserName=sign&UserId=sign&cultureCode=en-GB
Response
{
"Address": [
{
"Id": "1084866403",
"Name": "name of address",
"IsTemporary": null,
"Addressee": "sign",
"IsDefault": true,
"StreetAddress1": "Storgatan 22",
"StreetAddress2": null,
"StreetAddress3": null,
"State": null,
"ZipCode": "123456",
"City": "Stockholm",
"Country": "SE",
"AddressType": "Shipping",
"ReferenceId": null,
"RefernceType": null,
"ReferencePersistentIdentity": null,
"Properties": []
},
{
"Id": "1",
"Name": "Address1",
"IsTemporary": null,
"Addressee": "sign",
"IsDefault": true,
"StreetAddress1": "BL1.11",
"StreetAddress2": null,
"StreetAddress3": null,
"State": "XYZ",
"ZipCode": "78923",
"City": "A city",
"Country": "US",
"AddressType": "Billing",
"ReferenceId": null,
"RefernceType": null,
"ReferencePersistentIdentity": null,
"Properties": []
},
{
"Id": "2",
"Name": "Address2",
"IsTemporary": null,
"Addressee": "sign",
"IsDefault": false,
"StreetAddress1": "BL1.12",
"StreetAddress2": null,
"StreetAddress3": null,
"State": "XYZ",
"ZipCode": "78239",
"City": "A city",
"Country": "GB",
"AddressType": "Billing",
"ReferenceId": null,
"RefernceType": null,
"ReferencePersistentIdentity": null,
"Properties": []
},
{
"Id": "3",
"Name": "Address3",
"IsTemporary": null,
"Addressee": "sign",
"IsDefault": false,
"StreetAddress1": "Main street 13",
"StreetAddress2": null,
"StreetAddress3": null,
"State": "XYZ",
"ZipCode": "12345",
"City": "Some city",
"Country": "DE",
"AddressType": "Billing",
"ReferenceId": null,
"RefernceType": null,
"ReferencePersistentIdentity": null,
"Properties": []
},
],
"StatusCode": "",
"Message": null,
"HtmlMessage": null,
"Properties": []
}
Configuration
Configuration is done in profile.config
<AddressProvider>
<RESTAddressProvider trace-folder="D:\Temp\Trace-logs\" url="<https://host/API/"/>>
</AddressProvider>
, multiple selections available,
Related content
Http API: GetOrders
Http API: GetOrders
More like this
Http API: GetDeliveryOptions
Http API: GetDeliveryOptions
More like this
Http API: GetOrderDetails
Http API: GetOrderDetails
More like this
Http API: PlaceOrder, ValidateOrder, GetOrderTypes and GetDeliveryOptions
Http API: PlaceOrder, ValidateOrder, GetOrderTypes and GetDeliveryOptions
More like this
Http API: GetPrice and GetAvailability
Http API: GetPrice and GetAvailability
More like this
Technical documentation - Order process http APIs
Technical documentation - Order process http APIs
More like this