HomeGuidesAPI ReferenceChangelogSupport Request
Guides

Return and Shipping Address Information (getSuppliersAddresses)

Return and Shipping Address Information

In requests to createProduct service, the order and shipping company information to be sent and the ID values ​​of this information will be obtained using this service.

  • If "SELLER APPLICATION PROCESS" is not fully completed, you should not use this service.

GET getSuppliersAddresses

Sample Service 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
    }
}