DELETE
/
api
/
v1
/
barcodes
/
{entity_type}
/
{entity_id}
curl --request DELETE \
  --url https://api.byblend.com/api/v1/barcodes/{entity_type}/{entity_id} \
  --header 'Authorization: Bearer <token>'
{
  "count": 3,
  "message": "Successfully deactivated 3 barcodes"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

entity_type
enum<string>
required

The type of entity the barcode is for

Available options:
user,
order,
patient,
prescription,
prescription_product,
non_prescription_product,
order_material,
inventory
entity_id
string
required

The ID of the entity

Response

200 - application/json

Successful response with deactivation confirmation details

The response is of type object.