ApiResponseProductLookupResponse
data object
barcodestringrequired
barcodeIdentitystringrequired
existingProduct object
activebooleanrequired
alwaysTaxExemptbooleanrequired
barcodestring
bottleDepositAmountnumberrequired
cardPricenumber
categoryIdstring<uuid>
categoryNamestring
categoryPathstring
containerQuantityinteger<int32>
Default value:
1costnumber
createdAtstring<date-time>
deletionPendingboolean
Default value:
falsedeletionStatusProductDeletionStatusnullable
Possible values: [DELETED, DELETION_PENDING]
descriptionstring
ebtEligiblebooleanrequired
effectiveTaxRatenumber
gatewayProductIdstringrequired
gatewaySyncVersioninteger<int64>nullable
imageUrlstring
inheritCategoryAgeRestrictionboolean
Default value:
falseinventoryTrackedboolean
namestring
over18booleanrequired
over21booleanrequired
pricenumber
productIdstring<uuid>
productTypestring
requiredAgeinteger<int32>
requiresSerialbooleanrequired
saleAvailablebooleanrequired
saleUnavailableReasonstring
skustring
storeIdstring<uuid>
supplierIdstring<uuid>
taxRatenumber
unitCostCurrencystringrequired
updatedAtstring<date-time>
statusstringrequired
suggestions object[]required
Array [
brandstring
cachedbooleanrequired
categorystring
confidenceScorenumberrequired
expiresAtstring<date-time>required
imageUrlstring
lookedUpAtstring<date-time>required
lookupSuggestionIdstring<uuid>required
namestring
providerNamestringrequired
providerRecordIdstring
providerUrlstring
]
error object
codestring
correlationIdstringnullable
detailstring
details objectnullable
anyOf
- ScheduleErrorDetails
- GatewayErrorDetails
currentVersionstringnullable
datesstring<date>[]required
occurrenceRefsstring[]required
requestIdsstring<uuid>[]required
totalinteger<int32>required
truncatedbooleanrequired
fieldErrors objectnullable
property name*stringnullable
gatewayErrorCodestringnullable
messagestring
retryableboolean
meta object
limitinteger<int32>
nextCursorstring
pageinteger<int32>
scheduleVersionstringnullable
totalinteger<int64>
totalPagesinteger<int32>
successbooleanrequired
ApiResponseProductLookupResponse
{
"data": {
"barcode": "string",
"barcodeIdentity": "string",
"existingProduct": {
"active": true,
"alwaysTaxExempt": true,
"barcode": "string",
"bottleDepositAmount": 0,
"cardPrice": 0,
"categoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"categoryName": "string",
"categoryPath": "string",
"containerQuantity": 1,
"cost": 0,
"createdAt": "2024-07-29T15:51:28.071Z",
"deletionPending": false,
"deletionStatus": "DELETED",
"description": "string",
"ebtEligible": true,
"effectiveTaxRate": 0,
"gatewayProductId": "string",
"gatewaySyncVersion": 0,
"imageUrl": "string",
"inheritCategoryAgeRestriction": false,
"inventoryTracked": true,
"name": "string",
"over18": true,
"over21": true,
"price": 0,
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"productType": "string",
"requiredAge": 0,
"requiresSerial": true,
"saleAvailable": true,
"saleUnavailableReason": "string",
"sku": "string",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"supplierId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"taxRate": 0,
"unitCostCurrency": "string",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"status": "string",
"suggestions": [
{
"brand": "string",
"cached": true,
"category": "string",
"confidenceScore": 0,
"expiresAt": "2024-07-29T15:51:28.071Z",
"imageUrl": "string",
"lookedUpAt": "2024-07-29T15:51:28.071Z",
"lookupSuggestionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"providerName": "string",
"providerRecordId": "string",
"providerUrl": "string"
}
]
},
"error": {
"code": "string",
"correlationId": "string",
"detail": "string",
"details": {
"currentVersion": "string",
"dates": [
"2024-07-29"
],
"occurrenceRefs": [
"string"
],
"requestIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"total": 0,
"truncated": true
},
"fieldErrors": {},
"gatewayErrorCode": "string",
"message": "string",
"retryable": true
},
"meta": {
"limit": 0,
"nextCursor": "string",
"page": 0,
"scheduleVersion": "string",
"total": 0,
"totalPages": 0
},
"success": true
}