Skip to content

Delete a Supplier

Request

Marks a Supplier (counterparty) of the Location as deleted. A deleted Supplier is no longer listed or returned. The Business User needs Finances access in the Location; otherwise the request returns 403.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example:4564
supplier_idintegerrequired

Supplier ID

Example:4043
Headers
Acceptstringrequired
Default:"application/vnd.api.v2+json"
Content-Typestringrequired
Default:"application/json"
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X DELETE \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/references/suppliers/4564/4043 \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

Accepted

Bodyapplication/json
successboolean
datanull
metaobject
Response
{ "success": true, "data": null, "meta": { "message": "Accepted" } }