This call returns a list of vendors.
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
[- {
- "id": "309dcd94-2c42-43b8-9d71-ed61560a6d2e",
- "name": "Home Depot",
- "description": "Home improvement retailer",
- "address1": "234 Third Street",
- "address2": "#122",
- "city": "Sugar Land",
- "state": "TX",
- "zip": "77478-2336",
- "country": "USA"
}
]
The vendor to be created
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "name": "Whole Foods",
- "description": "Berry Chantilly Cake store",
- "address1": "456 3rd Ave",
- "address2": "",
- "city": "Houston",
- "state": "TX",
- "zip": "77063-8767",
- "country": "USA"
}
{- "id": "10b98b7e-5015-4b7e-a1a6-56166dbcbd37",
- "name": "HEB",
- "description": "Texas-based grocery chain",
- "address1": "123 Main St",
- "address2": "Suite 120",
- "city": "Sugar Land",
- "state": "TX",
- "zip": "77478-8765",
- "country": "USA"
}
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
[- {
- "id": "309dcd94-2c42-43b8-9d71-ed61560a6d2e",
- "isDeleted": false,
- "name": "Home Depot",
- "description": "Home improvement retailer",
- "address1": "234 Third Street",
- "address2": "#122",
- "city": "Sugar Land",
- "state": "TX",
- "zip": "77478-2336",
- "country": "USA"
}
]
This call updates an existing vendor by its id.
The vendor details to be updated
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "name": "Whole Foods",
- "description": "Berry Chantilly Cake store",
- "address1": "456 3rd Ave",
- "address2": "",
- "city": "Houston",
- "state": "TX",
- "zip": "77063-8767",
- "country": "USA"
}
{- "id": "10b98b7e-5015-4b7e-a1a6-56166dbcbd37",
- "name": "HEB",
- "description": "Texas-based grocery chain",
- "address1": "123 Main St",
- "address2": "Suite 120",
- "city": "Sugar Land",
- "state": "TX",
- "zip": "77478-8765",
- "country": "USA"
}
No Content
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.