Product verification APIs
Producers can verify against their own serial number information to ensure that the verification response returned by Product Information Manager is correct.
Product Verification (REST)
Producers use this message to verify against serial numbers they own. Verification is performed against serial number information stored in the Product Information Manager repository.

Guidelines
Element | Type | Description | |
---|---|---|---|
product | Object | Required. Contains the serial number information for verification. | |
packagingCode | String |
Required. The serialized product's packaging code. |
|
packagingCodeType | Enum |
Required. Indicates the type of the serialized product's associated packagingCode. Valid value: |
|
serialNumber | String | Required. The serial number of the product. | |
lotNumber | String | Required. The lot number of the product. | |
expiry | String | Required. The expiration date of the product in YYMMDD format. | |
context | Enum | Required. The reason the product is being verified. Valid values:
|
|
ctrlPossessAtt | Boolean | Required. Indicates whether the company submitting the verification request is in possession of the product they
are verifying. Valid values:
|
Example
{ "t": { "v": 1, "m": "pie--producer-verify--v1", "app-id": "D29A8B05-F8A7-4F35-9C7D-84344E0BE095", "cid": "860d16e5-99f5-4a9f-8ac5-f84e244a4065" }, "p": { "product": { "packagingCode": "64385625627039", "packagingCodeType": "GTIN-14", "serialNumber": "100000000000", "lotNumber": "1234567890", "expiry": "230918" }, "context":"dscsaExceptionVerification", "ctrlPossessAtt":true } }

Guidelines
Element | Type | Description | |
---|---|---|---|
product | Object | Required. Contains the serial number information for verification. | |
packagingCode | String |
Required. The serialized product's packaging code. |
|
packagingCodeType | Enum |
Required. Indicates the type of the serialized product's associated packagingCode. Valid value: |
|
serialNumber | String | Required. The serial number of the product. | |
lotNumber | String | Required. The lot number of the product. | |
expiry | String | Required. The expiration date of the lot in YYMMDD format. | |
serialNumberStatus | Enum | The serial number status of the product. Valid values:
|
|
itemStatus | Enum | The item status of the product. Valid values:
|
|
attribute | String | The attribute of the product. | |
data | Object | Required. The verification data. | |
verified | Boolean |
Required. Indicates the success of the product verification request.
|
|
additionalInfo | Enum |
Additional information that indicates if the verified product has a status of Recalled, Expiration Extended, Illegitimate, Suspect, or Expired. Valid values:
|
|
verificationFailureReason | Enum |
Conditionally required if verified = "FALSE". Indicates the reason for the unsuccessful product verification. Valid values:
|
Example
{ "t": { "v": 1, "m": "pie--producer-verify-response--v1", "app-id": "223C3176-6F7C-438D-B06F-DDCDA21C2E5C", "cid": "8iq04329-72be-4e3e-a4d5-ba7433c89a88" }, "p": { "product": { "packagingCode": "00300015555015", "packagingCodeType": "GTIN-14", "serialNumber": "12345", "lotNumber": "5678912", "expiry": "221121" }, "data": { "verified": "true" } } }