User Tools

Site Tools


udropship:umarketplace:m2:vendor-info-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
udropship:umarketplace:m2:vendor-info-api [2019/11/01 11:26]
wtsergo [Get product questions to vendors (possible to filter)]
udropship:umarketplace:m2:vendor-info-api [2019/11/01 11:55]
wtsergo [Get list of Vendors (possible to filter)]
Line 4: Line 4:
  
 In order to get list of vendors perform ///V1/udapi/vendors// GET API call. It expect ''searchCriteria'' as parameter. More details on how to construct the filter check  can be found here [[http://devdocs.magento.com/guides/v2.1/rest/performing-searches.html]] In order to get list of vendors perform ///V1/udapi/vendors// GET API call. It expect ''searchCriteria'' as parameter. More details on how to construct the filter check  can be found here [[http://devdocs.magento.com/guides/v2.1/rest/performing-searches.html]]
 +
 +''
 +Example:
 +''
 +<code>
 +GET http://magento233.loc/rest/V1/udapi/vendors?searchCriteria=[]
 +</code>
 +''
 +RESPONSE
 +''
 +<code>
 +{
 +    "items": [
 +        {
 +            "vendor_id": 1,
 +            "vendor_name": "vendor1",
 +            "vendor_attn": "",
 +            "email": "wtsergo.test+v1@gmail.com",
 +            "telephone": "4025555555",
 +            "fax": null,
 +            "street_full": "1234 Test",
 +            "street1": "1234 Test",
 +            "street2": "",
 +            "city": "los angeles",
 +            "zip": "90210",
 +            "country_id": "US",
 +            "region_id": "12",
 +            "region": null,
 +            "region_code": "CA",
 +            "billing_use_shipping": "1",
 +            "billing_telephone": "4025555555",
 +            "billing_fax": null,
 +            "billing_street_full": "",
 +            "billing_street1": "",
 +            "billing_street2": "",
 +            "billing_city": "",
 +            "billing_zip": null,
 +            "billing_country_id": "",
 +            "billing_region_id": null,
 +            "billing_region": null,
 +            "billing_region_code": null,
 +            "status": 0,
 +            "carrier_code": "flatrate",
 +            "url_key": "vendor1",
 +            "created_at": null,
 +            "vacation_mode": 0,
 +            "vacation_end": null,
 +            "vacation_message": null,
 +            "account_type": null,
 +            "is_featured": 0,
 +            "rating_summary": null
 +        },
 +        {
 +            "vendor_id": 2,
 +            "vendor_name": "vendor2",
 +            "vendor_attn": "",
 +            "email": "wtsergo.test+v2@gmail.com",
 +            "telephone": "4025555555",
 +            "fax": null,
 +            "street_full": "14 elmwood st ne",
 +            "street1": "14 elmwood st ne",
 +            "street2": "",
 +            "city": "rome",
 +            "zip": "30161",
 +            "country_id": "US",
 +            "region_id": "19",
 +            "region": null,
 +            "region_code": "GA",
 +            "billing_use_shipping": "1",
 +            "billing_telephone": "4025555555",
 +            "billing_fax": null,
 +            "billing_street_full": "",
 +            "billing_street1": "",
 +            "billing_street2": "",
 +            "billing_city": "",
 +            "billing_zip": null,
 +            "billing_country_id": "",
 +            "billing_region_id": null,
 +            "billing_region": null,
 +            "billing_region_code": null,
 +            "status": 0,
 +            "carrier_code": "flatrate",
 +            "url_key": "vendor2",
 +            "created_at": null,
 +            "vacation_mode": 0,
 +            "vacation_end": null,
 +            "vacation_message": null,
 +            "account_type": null,
 +            "is_featured": 0,
 +            "rating_summary": null
 +        }
 +    ],
 +    "search_criteria": {
 +        "filter_groups": []
 +    },
 +    "total_count": 2
 +}
 +</code>
  
 ===== Get Single Vendor Info ===== ===== Get Single Vendor Info =====
udropship/umarketplace/m2/vendor-info-api.txt · by wtsergo