Warehouse Addresses List

Warehouse Addresses List

Address information is added by Trendyol. You can only fetch the ID info and send the infor while using createProduct V2

  • GET getSuppliersAddresses

https://api.trendyol.com/sapigw/suppliers/{supplierId}/addresses

Sample Response


{
    "supplierAddresses": [
        {
            "id": 1,
            "addressType": "Shipment",
            "country": "Country-0",
            "city": "Kocaeli",
            "cityCode": 0,
            "district": "Gebze",
            "districtId": 0,
            "postCode": "post-code-0",
            "address": "Address-0",
            "returningAddress": false,
            "fullAddress": "Address-0 Gebze post-code-0 Kocaeli Country-0",
            "shipmentAddress": true,
            "invoiceAddress": false,
            "default": true
        },
        {
            "id": 2,
            "addressType": "Invoice",
            "country": "Country-2",
            "city": "Ankara",
            "cityCode": 0,
            "district": "Mamak",
            "districtId": 0,
            "postCode": "post-code-2",
            "address": "Address-2",
            "returningAddress": false,
            "fullAddress": "Address-2 Mamak post-code-2 Ankara Country-2",
            "shipmentAddress": false,
            "invoiceAddress": true,
            "default": true
        },
        {
            "id": 3,
            "addressType": "Returning",
            "country": "Country-3",
            "city": "Bursa",
            "cityCode": 0,
            "district": "Teleferik",
            "districtId": 0,
            "postCode": "post-code-3",
            "address": "Address-3",
            "returningAddress": true,
            "fullAddress": "Address-3 Teleferik post-code-3 Bursa Country-3",
            "shipmentAddress": false,
            "invoiceAddress": false,
            "default": true
        },
        {
            "id": 4,
            "addressType": "Returning",
            "country": "Country-4",
            "city": "İzmir",
            "cityCode": 0,
            "district": "Bornova",
            "districtId": 0,
            "postCode": "post-code-4",
            "address": "Address-4",
            "returningAddress": true,
            "fullAddress": "Address-4 Bornova post-code-4 İzmir Country-4",
            "shipmentAddress": false,
            "invoiceAddress": false,
            "default": false
        }
    ],
    "defaultShipmentAddress": {
        "id": 0,
        "addressType": "Shipment",
        "country": "Country-0",
        "city": "Kocaeli",
        "cityCode": 0,
        "district": "Gebze",
        "districtId": 0,
        "postCode": "post-code-0",
        "address": "Address-0",
        "returningAddress": false,
        "fullAddress": "Address-0 Gebze post-code-0 Kocaeli Country-0",
        "shipmentAddress": true,
        "invoiceAddress": false,
        "default": true
    },
    "defaultInvoiceAddress": {
        "id": 2,
        "addressType": "Invoice",
        "country": "Country-2",
        "city": "Ankara",
        "cityCode": 0,
        "district": "Mamak",
        "districtId": 0,
        "postCode": "post-code-2",
        "address": "Address-2",
        "returningAddress": false,
        "fullAddress": "Address-2 Mamak post-code-2 Ankara Country-2",
        "shipmentAddress": false,
        "invoiceAddress": true,
        "default": true
    },
    "defaultReturningAddress": {
        "present": true
    }
}