Suppliers

Attributes

Name Type Description
idsupplier integer Unique Picqer reference
name string
contactname string
address string
address2 string
zipcode string
city string
region string Region, state or province
country string 2-letter ISO country code
telephone string
emailaddress string
remarks text
language string Language of PDF documents for supplier

Get all suppliers

GET https://example.picqer.com/api/v1/suppliers
HTTP/1.1 200 OK [ { "idsupplier": 9424, "name": "Grinwis Plaat Stuitjes LLP", "contactname": null, "address": "de Bruijnsteeg 1-3", "address2": null, "zipcode": "6942 WI", "city": "Heerde", "region": null, "country": "NL", "telephone": null, "emailaddress": null, "remarks": null, "language": "nl" }, { "idsupplier": 9422, "name": "Mosley", "contactname": null, "address": "Katepad 5", "address2": null, "zipcode": "2604 YX", "city": "Moerdijk", "region": null, "country": "NL", "telephone": null, "emailaddress": null, "remarks": null, "language": "nl" } ]

Get a single supplier

GET https://example.picqer.com/api/v1/suppliers/{idsupplier}
HTTP/1.1 200 OK { "idsupplier": 9422, "name": "Mosley", "contactname": null, "address": "Katepad 5", "address2": null, "zipcode": "2604 YX", "city": "Moerdijk", "region": null, "country": "NL", "telephone": null, "emailaddress": null, "remarks": null, "language": "nl" }

Create a supplier

POST https://example.picqer.com/api/v1/suppliers
{ "name": "Mesley", "address": "Katepad 5", "zipcode": "2604 YX", "city": "Moerdijk", "country": "NL" }
HTTP/1.1 200 OK { "idsupplier": 9422, "name": "Mesley", "contactname": null, "address": "Katepad 5", "address2": null, "zipcode": "2604 YX", "city": "Moerdijk", "region": null, "country": "NL", "telephone": null, "emailaddress": null, "remarks": null, "language": "nl" }

Update a supplier

PUT https://example.picqer.com/api/v1/suppliers/{idsupplier}
{ "name": "Mosley", "address": "Katepad 15" }
HTTP/1.1 200 OK { "idsupplier": 9422, "name": "Mosley", "contactname": null, "address": "Katepad 15", "address2": null, "zipcode": "2604 YX", "city": "Moerdijk", "region": null, "country": "NL", "telephone": null, "emailaddress": null, "remarks": null, "language": "nl" }
Read more Locations