DELETE
/
v2
/
vendor
/
{vendor_id}
curl --request DELETE \
  --url https://app.getswipe.in/api/partner/v2/vendor/{vendor_id} \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "",
  "error_code": "",
  "errors": {},
  "data": {
    "message": "No data found!"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vendor_id
string
required

The vendor ID to be deleted

Response

200
application/json
Success
success
boolean

Success flag

Example:

true

message
string

Response message

Example:

""

error_code
string

Error Code

Example:

""

errors
object

Errors

data
object