Delete a bulk of suppliers

Delete a bulk of suppliers by external Id from a specific company.

PUT suppliers/delete/external/bulk/:companyExternalId

Request details

The put request will contain all the required information to delete a bulk of suppliers by the companyExternalId

Request properties

Property Type Description Optional
SupplierId [] String [] An array of unique identifiers of suppliers No

Example bulk delete suppliers request

[
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000",
    "{supplier-external-id}"
]

Response

Upon successful delete a bulk of suppliers in Basecone system a 200 http status code will be returned.

If something goes wrong and error message with failure details will be given together with a suitable http error status code.

Possible error responses

Status code Error code Details
400 json_parse_error Unable to parse JSON.
400 invalid_request_payload Company Id and one or more suppliers Id are empty
403 Forbidden User does not have access to the company
404 Not Found The request resource is not found.