Get Addresses

GET REST API request that returns a list of warehouse addresses of supplier. The response example is shown below.

Request

HTTP MethodGET
URLStagehttps://api.stage.ananastest.com/ws-inventory/api/v1/supplier-integration/addresses
Productionhttps://api.ananas.rs/ws-inventory/api/v1/supplier-integration/addresses
HTTP Headers
Header nameHeader value
AuthorizationBearer {access_token}

Response

Response is a collection of supplier's addresses.

Field NameTypeDescription
idIntegerWarehouse address id
warehouseNameStringName of warehouse

Example of response:

JSON:

Click to copy
Success!
[
    {
        "id": 4755,
        "warehouseName": "Avtera Primary Pickup"
    },
    {
        "id": 4254,
        "warehouseName": "Avtera Secondary pickup"
    }
]
Copyright © Ananas 2023. All right reserved.