Delete Barcode
POSThttps://sight.inspectorio.com/api/v1/barcode/delete
Delete Barcode
Request​
- application/json
Body
entityTypestringrequired
The type of entity.
Possible values: [po
, item
, packaging
]
customIdstring
required when entityType is po or item
poCustomIdstring
required when entityType is packaging
itemCustomIdstring
required when entityType is packaging
assortmentCustomIdstring
define this if this is assortment
formatBarcodeFormat (string)
Barcode format. If not send, it will use default value.
Possible values: [Generic
, UPC-A
, UPC-E
, EAN-8
, EAN-13
, UPC-EAN
, Code-39
, Code-93
, Code-128
, Codebar
, ITF
, QRCode
, DataMatrix
, Aztec
, PDF417
, MaxiCode
, RSS-14
, RSS-Expanded
]
Default value:
Generic
Responses​
- 204
- 400
- 401
- 429
- 500
No Content
- application/json
- Schema
Schema
Bad request
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
messagestring
Example:
Bad Request
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
messagestring
Example:
Cannot retrieve session data because of expired token
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Rate-limiting Error
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
messagestring
Example:
Too many requests
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (auto)
Schema
errorCodestring
Example:
Generic
errorsobject
Example:
{"system":["Internal error detail message"]}
messagestring
Example:
Internal server error
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}
Authorization: apiKey
name: apiKeytype: apiKeyin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://sight.inspectorio.com/api/v1/barcode/delete' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'apiKey: <apiKey>' \
-d '{
"entityType": "po",
"customId": "string",
"poCustomId": "string",
"itemCustomId": "string",
"assortmentCustomId": "string",
"format": "Generic"
}'
ResponseClear