> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Supplier

> This endpoint deletes an existing supplier.

### Body

<ParamField body="name" type="string">
  The name of the supplier.
</ParamField>

<ParamField body="supplier_id" type="string">
  Your own identifier for this supplier, if you track one.
</ParamField>

<ParamField body="properties" type="object">
  A JSON object of custom properties stored against the supplier.
</ParamField>

### Response

<ResponseField name="success" type="number">
  Indicates whether the call was successful. 1 if successful, 0 if not.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request DELETE 'https://api.stateset.com/api/v1/suppliers/:id' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Token <token>' \
  --data-raw '{
  		"supplier_id": "example_1"
  		"current_token": "abcdef"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": 1
  }
  ```
</ResponseExample>
