By Tracking Number
Introduction
This operation returns status information about an existing submission that can be used as part of a submission tracking system.
Method | Service | API Name | Service Type |
---|---|---|---|
GET | submissions | read → Explore | Synchronous |
URI: {baseUrl}/submissions/v1/read/{BPID}/{trackingNumber}
Header Elements
The header must contain the elements needed to authenticate the request.
Parameter | Description | Type | Required |
---|---|---|---|
authorization | This is where you will send your encoded JWT auth token you obtained from Get Auth Token. Must be in the form: Authorization: Bearer {auth-token-string} | String | Yes |
Request Elements
The following query parameters are supported in the request.
Name | Description | Type | Required |
---|---|---|---|
Business Partner ID (BPID) | The unique identifier for the business partner. This value will be provided to you by your Account Manager. | String | Yes |
trackingNumber | The tracking number associated with the submission to be tracked. | String | Yes |
Request Sample
GET https://certification.promob2b.bhnapi.com/submissions/v1/read/12345/897253968 HTTP/1.1
accept: application/json
content-type: application/json
Host: certification.promob2b.bhnapi.com
Authorization: Bearer eyJraWQiOiJOZm9uOFI3T0xkTmNPUlNSUVhzdW13WXlOZzRtblB1LTA3ZzhKTEw2NGZvIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULnQ4NnVfaTJHeG01T1p0TmlOSHNjTnJDaGZTNUgtcVhLelJYZTBoMkMtYjQiLCJpc3MiOiJodHRwczovL2Rldi05OTMxMDcub2t0YXByZXZpZXcuY29tL29hdXRoMi9hdXNqanZwZzNhYTl5c05XeTBoNyIsImF1ZCI6Imh0dHBzOi8vd3d3LmJobmV0d29yay5jb20vYXBpIiwiaWF0IjoxNTg0NTYyMjM5LCJleHAiOjE1ODQ1NjU4MzksImNpZCI6IjBvYWprcXdoNnRTR1JXVWN3MGg3Iiwic2NwIjpbIiovKiJdLCJzdWIiOiIwb2Fqa3F3aDZ0U0dSV1VjdzBoNyJ9.PfT7O9Kae-8UEIqjZI5CDV4DdiP2z60I_LTYHIcYMLGYMW6jzvaZLQL9LJvhXpi9uzY5cFhAROOJGK7Uwf616DzTRKJ1_SmcNbxCxuzOknR0tvh6aeLepeVhDW6gdJGic9dW3YYWX2fUdyACCZjjQ3ME_26Oy3qaJj5j89jlJgxTE-QZHDUeCnE5oxRzQQaEF6bXXZ_X_yWEM4bS4PJcp99ysmJO838U0afC9pczatx_LEy2PnET2pP6RNLYx-oq0_LgrdjlV-7C92LQylqzxas-yZbtN7jHD4JvUt6TJchOnce2wQKoId4-rF_Z8NdTzMYfqcgg_L_v2ZbT8xzMRA
Response Elements
Name | Description | Type | Required |
---|---|---|---|
timestamp | Timestamp when the request completed processing. | Integer | Yes |
status | Status of the response. This will match the HTTP Status Code in the header of the response. Example: 404 | String | Yes |
error | If the request was not processed successfully this will indicate the error condition encountered. Example: "Not Found" | String | Yes (if status is ERROR ) |
message | The detailed error message. This will be null if the request completed successfully. | String | Yes (if status is ERROR ) |
path | The path called in the request excluding the baseUrl. | String | Yes |
submissionInfo | The information about the submission associated to the provided tracking number that was found in Hawk Redeem. | JSON Object | Yes |
Submission Info
In addition to the attributes detailed below attributes with empty values may be returned for the basic submission demographic information (name, address, email address and phone number). Values are not returned for these attributes in this call for privacy reasons.
Name | Description | Type | Required |
---|---|---|---|
status | Status of the submission. Possible values: - ACCRUAL COMPLETE - EXTERNAL PROCESSING - FULFILLMENT COMPLETE - FULFILLMENT IN PROCESS - HOLD FOR CAMPAIGN SELECTION - INVALID - INVALID BY MERCHANDISE RETURN - INVALID BY THIRD PARTY RULES - PENDING ALL SUBMISSION DATA - PENDING CAMPAIGN OWNER APPROVAL - PENDING DUPLICATE IDENTIFICATION - PENDING DUPLICATE REVIEW - PENDING ESCALATION REVIEW - PENDING FULFILLMENT - PENDING MAILER - PENDING QA REVIEW - SUBMISSION COMPLETE - SUBMISSION RESOLVED - WEB ENTERED Read more about submission statuses | String | Yes |
rewardAmount | Amount of reward. Example: "$10.00" | String | Yes |
rewardName | Name of the product reward as defined within Hawk Redeem. Example: "Park & Company Gift Card" | String | Yes |
rewardType | The reward type associated with this submission. Possible values: - e-Code - Fixed Amount Debit Card - Fixed Amount Gift Card - Fixed Amount Gift Check - Fixed Amount Merchant Card - Fixed Amount Virtual Debit Card - Product - Variable Amount Check - Variable Amount Client Issued Check - Variable Amount Debit Card - Variable Amount Direct Deposit - Variable Amount Gift Card - Variable Amount Merchant Card - Variable Amount PayPal Reward - Variable Amount Reloadable Debit Card | String | |
campaignName | Name of the campaign as defined in Hawk Redeem the submission is currently contained within. | String | |
campaignCode | Campaign code as defined in Hawk Redeem for the campaign the submission is currently contained within. | String | |
campaignShortName | Short name of the campaign as defined in Hawk Redeem of which the submission is currently contained within. | String | |
trackingNumber | Tracking number associated with the submission. | String | |
origin | The origin of the submission. | String | |
products | List of products associated with the submission. | JSON Object | |
invalidReasons | List of Invalid Reasons associated with submission. | List | |
isSubmissionValid | Indicates if the submission is currently considered value. Possible values: - true - false | Boolean |
Products
This is a list of objects containing information about each of the products associated with the submission returned.
Name | Description | Type | Required |
---|---|---|---|
id | Internal product id in Hawk Redeem | Integer | Yes |
name | Name of the product as defined in Hawk Redeem. | String | Yes |
displayName | Display name of the product as defined in Hawk Redeem. | String | Yes |
status | Current status of the product. Possible values: - true - false | Boolean | No |
attributes | Empty list. This attribute can be ignored. | List | No |
Invalid Reasons
A list of objects containing information about each invalid reason associated with this submission.
Name | Description | Type |
---|---|---|
invalidReasonRef | Blackhawk Network internal reference id for the invalid reason. | Integer |
type | Indicates the type of validation rule that triggered to cause the invalid reason. | String |
text | The description of the invalid reason. This is the text to communicate to the end user. Example: Missing Original Receipt | String |
invalidProductName | If this invalid reason is associated with a product the product name will be included here. | String |
invalidProductAttributeName | If this invalid reason is associated with a product the specific attribute with invalid data will be included here. | String |
invalidSubmissionAttributeName | If the invalid reason is associated with a campaign attribute the specific attribute with invalid data will be included here. Example: Postmark Date | String |
Response Sample
{
"timestamp": 1586468816926,
"status": 200,
"error": null,
"message": null,
"path": "/submissions/v1/read/12345/897253968",
"submissionInfo": {
"status": "FULFILLMENT COMPLETE",
"rewardAmount": "$10.00",
"rewardName": "Park & Company Gift Card",
"rewardType": "Variable Amount Gift Card",
"campaignName": "24-PACKS $10 REBATE",
"campaignCode": "32-12345",
"campaignShortName": "$10 Park & Company Rebate",
"trackingNumber": "897253968",
"origin": "ON-LINE",
"products": [{
"id": 652472326,
"name": "24 Pack Product",
"displayName": "24 Pack Product"
}, {
"id": 652472327,
"name": "24 Pack Product",
"displayName": "24 Pack Product"
}
],
"isSubmissionValid": true
}
}
{
"timestamp": 1586468816926,
"status": 200,
"error": null,
"message": null,
"path": "/submissions/v1/read/12345/897253968",
"submissionInfo": {
"status": "WEB ENTERED",
"rewardAmount": "$0.00",
"rewardName": "Check",
"rewardType": "Variable Amount Check",
"campaignName": "6-PACK OR 12-PACK UP TO $4 REBATE",
"campaignCode": "32-12345",
"campaignShortName": "Up to $4 Park and Company Rebate",
"trackingNumber": "897253968",
"origin": "ON-LINE",
"products": [{
"id": null,
"name": "Park and Company Web Entered Product",
"displayName": "Web Entered Product",
"attributes": []
}
],
"invalidReasons": [{
"invalidReasonRef": "9576",
"type": "CAMPAIGN_MISSING_ATTRIBUTE",
"text": "Missing Original Receipt",
"invalidProductName": null,
"invalidProductAttributeName": null,
"invalidSubmissionAttributeName": "Original Receipt"
}, {
"invalidReasonRef": "5",
"type": "CAMPAIGN_MISSING_ATTRIBUTE",
"text": "Missing Purchase Date",
"invalidProductName": null,
"invalidProductAttributeName": null,
"invalidSubmissionAttributeName": "Purchase Date"
}, {
"invalidReasonRef": "4",
"type": "CAMPAIGN_MISSING_ATTRIBUTE",
"text": "Missing Postmark Date",
"invalidProductName": null,
"invalidProductAttributeName": null,
"invalidSubmissionAttributeName": "Postmark Date"
}
],
"isSubmissionValid": false
}
}
Updated about 4 years ago