Skip to main content

Batches

Manage product batches including batch quantities, inventory transfers, and batch date queries.

Base URL: /api/v1/partner/store/batches

Endpoints Overview

MethodEndpointDescription
GET/Get Batches
GET/datesGet Batches By Dates
GET/dates/purchaseDateGet Batches By Dates
GET/{productId}/batchQuantityInfoGet Batch Quantity By Product
GET/quantitiesGet Batch Quantity By Inventory
POST/transferInventoryInventory transfer For Partner
PUT/transferInventory/{historyId}Inventory transfer For Partner
POST/transferInventory/{historyId}/acceptAccept inventory transfer history's status for partner
POST/transferInventory/{historyId}/declineDecline inventory transfer history's status for partner

Get Batches

GET /api/v1/partner/store/batches

Retrieve a paginated list of product batches. You can filter by productId, status, or search by term. If batchId is provided, it returns that single batch directly and ignores all other filters. Results are capped at 100 per page and sorted by most recently modified first.

Query Parameters

ParameterTypeRequiredDescription
batchIdstringNobatch i d
productIdstringNoproduct i d
startintegerNoNumber of records to skip
limitintegerNoMaximum records to return
termstringNoterm

Response

Returns a paginated SearchResult of ProductBatch objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
weightTypestringNoWeight Type
productIdstringYesProduct identifier
vendorIdstringNoVendor identifier
batchNointegerNoBatch No (default: 0)
costnumberNoCost
costPerUnitnumberNoCost Per Unit
quantitynumberNoQuantity
skustringNoSku
totalTerpenesdoubleNoTotal Terpenes
totalCannabinoidsdoubleNoTotal Cannabinoids
thcdoubleNoThc
cbndoubleNoCbn
cbddoubleNoCbd
cbdadoubleNoCbda
thcadoubleNoThca
cbgdoubleNoCbg
thcNamestringNoThc Name
cbnNamestringNoCbn Name
cbdNamestringNoCbd Name
cbdaNamestringNoCbda Name
thcaNamestringNoThca Name
cbgNamestringNoCbg Name
retailIdCountintegerNoRetail Id Count
retailIdTraceMessagestringNoRetail Id Trace Message
retailIdUpdatedAtlongNoRetail Id Updated At
maxThcdoubleNoMax Thc
maxCbndoubleNoMax Cbn
maxCbddoubleNoMax Cbd
maxCbdadoubleNoMax Cbda
maxThcadoubleNoMax Thca
purchasedDatelongNoPurchased timestamp (epoch ms)
sellBylongNoSell By
archivedbooleanNoArchived (default: false)
archivedDatelongNoArchived timestamp (epoch ms)
publishedbooleanNoPublished (default: false)
unsellablebooleanNoUnsellable (default: false)
unsellableReasonsReason[]NoUnsellable Reasons
publishedQuantitynumberNoPublished Quantity
publishedDatelongNoPublished timestamp (epoch ms)
lastAuditDatelongNoLast Audit timestamp (epoch ms)
trackTraceVerifiedbooleanNoTrack Trace Verified (default: false)
trackPackageIdintegerNoTrack Package identifier
trackPackageLabelstringNoTrack Package Label
trackHarvestBatchstringNoTrack Harvest Batch
trackHarvestDatestringNoTrack Harvest timestamp (epoch ms)
trackTraceSystemstringNoTrack Trace System. One of: MANUAL, METRC, BIOTRACK, UTAH_ICS, OTHER (default: MANUAL)
purchaseOrderIdstringNoPurchase Order identifier
perUnitExciseTaxnumberNoPer Unit Excise Tax
totalExciseTaxnumberNoTotal Excise Tax
customerCompanyIdstringNoCustomer Company identifier
brandIdstringNoBrand identifier
receiveDatelongNoReceive timestamp (epoch ms)
poNumberstringNoPo Number
statusstringNoStatus. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
prevStatusstringNoPrev Status. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
requestedStatusstringNoRequested Status. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
complianceErrorstringNoCompliance Error
metrcCategorystringNoMetrc Category
voidStatusbooleanNoVoid Status (default: false)
activebooleanNoWhether active
batchQRAssetCompanyAssetNoBatch Q R Asset
productBatchLabelProductBatchLabelNoProduct Batch Label
lotIdstringNoLot identifier
metrcTagIdstringNoMetrc Tag identifier
totalCultivationTaxnumberNoTotal Cultivation Tax
potencyAmountPotencyMGNoPotency Amount
isPrepaidTaxbooleanNoIs Prepaid Tax
referenceNoteNoteNoReference Note
attachmentsCompanyAsset[]NoAttachments
productNamestringNoProduct Name
vendorNamestringNoVendor Name
brandNamestringNoBrand Name
liveQuantitynumberNoLive Quantity (default: ZERO)
derivedLogIdstringNoDerived Log identifier
expirationDatelongNoExpiration timestamp (epoch ms)
licenseIdstringNoLicense identifier
labelInfostringNoLabel Info
bundleItemsBatchBundleItems[]NoBundle Items
externalIdstringNoExternal system identifier
externalLicensestringNoExternal License
roomIdstringNoRoom identifier
actualWeightPerUnitnumberNoActual Weight Per Unit
wastenumberNoWaste
unProcessedbooleanNoUn Processed (default: false)
productionBatchbooleanNoProduction Batch (default: false)
moistureLossdoubleNoMoisture Loss
batchTypestringNoBatch Type. One of: SAMPLE, SALE (default: SALE)
connectedBatchIdstringNoConnected Batch identifier
metrcQuantitynumberNoMetrc Quantity (default: ZERO)
trackHarvestNamestringNoTrack Harvest Name
metrcLabTestingStatestringNoMetrc Lab Testing State
complianceLabTestingStatestringNoCompliance Lab Testing State
fromTestSamplebooleanNoFrom Test Sample (default: false)
terpenoidsobjectNoTerpenoids
produceDatelongNoProduce timestamp (epoch ms)
packageDatelongNoPackage timestamp (epoch ms)
finalTestingDatelongNoFinal Testing timestamp (epoch ms)
complianceInfoComplianceInfoNoCompliance Info
cannabinoidInfoCannabinoidInfoValueNoCannabinoid Info
potencyAmountInfoCannabinoidInfoValueNoPotency Amount Info
runIdstringNoRun identifier
useBatchInfoQATestbooleanNoUse Batch Info Q A Test (default: false)
dohbooleanNoDoh
notesNote[]NoNotes
ndcNumberstringNoNdc Number
unitWeightValuenumberNoUnit Weight Value (default: ZERO)
unitWeightTypestringNoUnit Weight Type. One of: NONE, GRAM, OUNCE, FLUID_OUNCE, MILLIGRAM (default: NONE)
usableNetWeightnumberNoUsable Net Weight (default: ZERO)
labResultDatalabresultdataNoLab Result Data
servingWeightnumberNoServing Weight (default: ZERO)
externalTransferIdstringNoExternal Transfer identifier
samplebooleanNoSample (default: false)
complianceSampleCheckedbooleanNoCompliance Sample Checked (default: false)

Get Batches By Dates

GET /api/v1/partner/store/batches/dates

Retrieve batches filtered by their record modification date. Provide startDate and endDate as epoch milliseconds. If endDate is omitted, it defaults to the current time. Results are capped at 100 per page.

Query Parameters

ParameterTypeRequiredDescription
startDatelongNoStart date filter
endDatelongNoEnd date filter
startintegerNoNumber of records to skip
limitintegerNoMaximum records to return

Response

Returns a paginated SearchResult of ProductBatch objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
weightTypestringNoWeight Type
productIdstringYesProduct identifier
vendorIdstringNoVendor identifier
batchNointegerNoBatch No (default: 0)
costnumberNoCost
costPerUnitnumberNoCost Per Unit
quantitynumberNoQuantity
skustringNoSku
totalTerpenesdoubleNoTotal Terpenes
totalCannabinoidsdoubleNoTotal Cannabinoids
thcdoubleNoThc
cbndoubleNoCbn
cbddoubleNoCbd
cbdadoubleNoCbda
thcadoubleNoThca
cbgdoubleNoCbg
thcNamestringNoThc Name
cbnNamestringNoCbn Name
cbdNamestringNoCbd Name
cbdaNamestringNoCbda Name
thcaNamestringNoThca Name
cbgNamestringNoCbg Name
retailIdCountintegerNoRetail Id Count
retailIdTraceMessagestringNoRetail Id Trace Message
retailIdUpdatedAtlongNoRetail Id Updated At
maxThcdoubleNoMax Thc
maxCbndoubleNoMax Cbn
maxCbddoubleNoMax Cbd
maxCbdadoubleNoMax Cbda
maxThcadoubleNoMax Thca
purchasedDatelongNoPurchased timestamp (epoch ms)
sellBylongNoSell By
archivedbooleanNoArchived (default: false)
archivedDatelongNoArchived timestamp (epoch ms)
publishedbooleanNoPublished (default: false)
unsellablebooleanNoUnsellable (default: false)
unsellableReasonsReason[]NoUnsellable Reasons
publishedQuantitynumberNoPublished Quantity
publishedDatelongNoPublished timestamp (epoch ms)
lastAuditDatelongNoLast Audit timestamp (epoch ms)
trackTraceVerifiedbooleanNoTrack Trace Verified (default: false)
trackPackageIdintegerNoTrack Package identifier
trackPackageLabelstringNoTrack Package Label
trackHarvestBatchstringNoTrack Harvest Batch
trackHarvestDatestringNoTrack Harvest timestamp (epoch ms)
trackTraceSystemstringNoTrack Trace System. One of: MANUAL, METRC, BIOTRACK, UTAH_ICS, OTHER (default: MANUAL)
purchaseOrderIdstringNoPurchase Order identifier
perUnitExciseTaxnumberNoPer Unit Excise Tax
totalExciseTaxnumberNoTotal Excise Tax
customerCompanyIdstringNoCustomer Company identifier
brandIdstringNoBrand identifier
receiveDatelongNoReceive timestamp (epoch ms)
poNumberstringNoPo Number
statusstringNoStatus. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
prevStatusstringNoPrev Status. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
requestedStatusstringNoRequested Status. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
complianceErrorstringNoCompliance Error
metrcCategorystringNoMetrc Category
voidStatusbooleanNoVoid Status (default: false)
activebooleanNoWhether active
batchQRAssetCompanyAssetNoBatch Q R Asset
productBatchLabelProductBatchLabelNoProduct Batch Label
lotIdstringNoLot identifier
metrcTagIdstringNoMetrc Tag identifier
totalCultivationTaxnumberNoTotal Cultivation Tax
potencyAmountPotencyMGNoPotency Amount
isPrepaidTaxbooleanNoIs Prepaid Tax
referenceNoteNoteNoReference Note
attachmentsCompanyAsset[]NoAttachments
productNamestringNoProduct Name
vendorNamestringNoVendor Name
brandNamestringNoBrand Name
liveQuantitynumberNoLive Quantity (default: ZERO)
derivedLogIdstringNoDerived Log identifier
expirationDatelongNoExpiration timestamp (epoch ms)
licenseIdstringNoLicense identifier
labelInfostringNoLabel Info
bundleItemsBatchBundleItems[]NoBundle Items
externalIdstringNoExternal system identifier
externalLicensestringNoExternal License
roomIdstringNoRoom identifier
actualWeightPerUnitnumberNoActual Weight Per Unit
wastenumberNoWaste
unProcessedbooleanNoUn Processed (default: false)
productionBatchbooleanNoProduction Batch (default: false)
moistureLossdoubleNoMoisture Loss
batchTypestringNoBatch Type. One of: SAMPLE, SALE (default: SALE)
connectedBatchIdstringNoConnected Batch identifier
metrcQuantitynumberNoMetrc Quantity (default: ZERO)
trackHarvestNamestringNoTrack Harvest Name
metrcLabTestingStatestringNoMetrc Lab Testing State
complianceLabTestingStatestringNoCompliance Lab Testing State
fromTestSamplebooleanNoFrom Test Sample (default: false)
terpenoidsobjectNoTerpenoids
produceDatelongNoProduce timestamp (epoch ms)
packageDatelongNoPackage timestamp (epoch ms)
finalTestingDatelongNoFinal Testing timestamp (epoch ms)
complianceInfoComplianceInfoNoCompliance Info
cannabinoidInfoCannabinoidInfoValueNoCannabinoid Info
potencyAmountInfoCannabinoidInfoValueNoPotency Amount Info
runIdstringNoRun identifier
useBatchInfoQATestbooleanNoUse Batch Info Q A Test (default: false)
dohbooleanNoDoh
notesNote[]NoNotes
ndcNumberstringNoNdc Number
unitWeightValuenumberNoUnit Weight Value (default: ZERO)
unitWeightTypestringNoUnit Weight Type. One of: NONE, GRAM, OUNCE, FLUID_OUNCE, MILLIGRAM (default: NONE)
usableNetWeightnumberNoUsable Net Weight (default: ZERO)
labResultDatalabresultdataNoLab Result Data
servingWeightnumberNoServing Weight (default: ZERO)
externalTransferIdstringNoExternal Transfer identifier
samplebooleanNoSample (default: false)
complianceSampleCheckedbooleanNoCompliance Sample Checked (default: false)

Get Batches By Dates

GET /api/v1/partner/store/batches/dates/purchaseDate

Retrieve batches filtered by their purchase date (when the batch was actually purchased), as opposed to the /dates endpoint which filters by record modification date. Same date parameters and limits apply.

Query Parameters

ParameterTypeRequiredDescription
startDatelongNoStart date filter
endDatelongNoEnd date filter
startintegerNoNumber of records to skip
limitintegerNoMaximum records to return

Response

Returns a paginated SearchResult of ProductBatch objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
weightTypestringNoWeight Type
productIdstringYesProduct identifier
vendorIdstringNoVendor identifier
batchNointegerNoBatch No (default: 0)
costnumberNoCost
costPerUnitnumberNoCost Per Unit
quantitynumberNoQuantity
skustringNoSku
totalTerpenesdoubleNoTotal Terpenes
totalCannabinoidsdoubleNoTotal Cannabinoids
thcdoubleNoThc
cbndoubleNoCbn
cbddoubleNoCbd
cbdadoubleNoCbda
thcadoubleNoThca
cbgdoubleNoCbg
thcNamestringNoThc Name
cbnNamestringNoCbn Name
cbdNamestringNoCbd Name
cbdaNamestringNoCbda Name
thcaNamestringNoThca Name
cbgNamestringNoCbg Name
retailIdCountintegerNoRetail Id Count
retailIdTraceMessagestringNoRetail Id Trace Message
retailIdUpdatedAtlongNoRetail Id Updated At
maxThcdoubleNoMax Thc
maxCbndoubleNoMax Cbn
maxCbddoubleNoMax Cbd
maxCbdadoubleNoMax Cbda
maxThcadoubleNoMax Thca
purchasedDatelongNoPurchased timestamp (epoch ms)
sellBylongNoSell By
archivedbooleanNoArchived (default: false)
archivedDatelongNoArchived timestamp (epoch ms)
publishedbooleanNoPublished (default: false)
unsellablebooleanNoUnsellable (default: false)
unsellableReasonsReason[]NoUnsellable Reasons
publishedQuantitynumberNoPublished Quantity
publishedDatelongNoPublished timestamp (epoch ms)
lastAuditDatelongNoLast Audit timestamp (epoch ms)
trackTraceVerifiedbooleanNoTrack Trace Verified (default: false)
trackPackageIdintegerNoTrack Package identifier
trackPackageLabelstringNoTrack Package Label
trackHarvestBatchstringNoTrack Harvest Batch
trackHarvestDatestringNoTrack Harvest timestamp (epoch ms)
trackTraceSystemstringNoTrack Trace System. One of: MANUAL, METRC, BIOTRACK, UTAH_ICS, OTHER (default: MANUAL)
purchaseOrderIdstringNoPurchase Order identifier
perUnitExciseTaxnumberNoPer Unit Excise Tax
totalExciseTaxnumberNoTotal Excise Tax
customerCompanyIdstringNoCustomer Company identifier
brandIdstringNoBrand identifier
receiveDatelongNoReceive timestamp (epoch ms)
poNumberstringNoPo Number
statusstringNoStatus. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
prevStatusstringNoPrev Status. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
requestedStatusstringNoRequested Status. One of: IN_TRANSFER, RECEIVED, IN_TESTING, READY_FOR_SALE, PROCESSING (default: RECEIVED)
complianceErrorstringNoCompliance Error
metrcCategorystringNoMetrc Category
voidStatusbooleanNoVoid Status (default: false)
activebooleanNoWhether active
batchQRAssetCompanyAssetNoBatch Q R Asset
productBatchLabelProductBatchLabelNoProduct Batch Label
lotIdstringNoLot identifier
metrcTagIdstringNoMetrc Tag identifier
totalCultivationTaxnumberNoTotal Cultivation Tax
potencyAmountPotencyMGNoPotency Amount
isPrepaidTaxbooleanNoIs Prepaid Tax
referenceNoteNoteNoReference Note
attachmentsCompanyAsset[]NoAttachments
productNamestringNoProduct Name
vendorNamestringNoVendor Name
brandNamestringNoBrand Name
liveQuantitynumberNoLive Quantity (default: ZERO)
derivedLogIdstringNoDerived Log identifier
expirationDatelongNoExpiration timestamp (epoch ms)
licenseIdstringNoLicense identifier
labelInfostringNoLabel Info
bundleItemsBatchBundleItems[]NoBundle Items
externalIdstringNoExternal system identifier
externalLicensestringNoExternal License
roomIdstringNoRoom identifier
actualWeightPerUnitnumberNoActual Weight Per Unit
wastenumberNoWaste
unProcessedbooleanNoUn Processed (default: false)
productionBatchbooleanNoProduction Batch (default: false)
moistureLossdoubleNoMoisture Loss
batchTypestringNoBatch Type. One of: SAMPLE, SALE (default: SALE)
connectedBatchIdstringNoConnected Batch identifier
metrcQuantitynumberNoMetrc Quantity (default: ZERO)
trackHarvestNamestringNoTrack Harvest Name
metrcLabTestingStatestringNoMetrc Lab Testing State
complianceLabTestingStatestringNoCompliance Lab Testing State
fromTestSamplebooleanNoFrom Test Sample (default: false)
terpenoidsobjectNoTerpenoids
produceDatelongNoProduce timestamp (epoch ms)
packageDatelongNoPackage timestamp (epoch ms)
finalTestingDatelongNoFinal Testing timestamp (epoch ms)
complianceInfoComplianceInfoNoCompliance Info
cannabinoidInfoCannabinoidInfoValueNoCannabinoid Info
potencyAmountInfoCannabinoidInfoValueNoPotency Amount Info
runIdstringNoRun identifier
useBatchInfoQATestbooleanNoUse Batch Info Q A Test (default: false)
dohbooleanNoDoh
notesNote[]NoNotes
ndcNumberstringNoNdc Number
unitWeightValuenumberNoUnit Weight Value (default: ZERO)
unitWeightTypestringNoUnit Weight Type. One of: NONE, GRAM, OUNCE, FLUID_OUNCE, MILLIGRAM (default: NONE)
usableNetWeightnumberNoUsable Net Weight (default: ZERO)
labResultDatalabresultdataNoLab Result Data
servingWeightnumberNoServing Weight (default: ZERO)
externalTransferIdstringNoExternal Transfer identifier
samplebooleanNoSample (default: false)
complianceSampleCheckedbooleanNoCompliance Sample Checked (default: false)

Get Batch Quantity By Product

GET /api/v1/partner/store/batches/{productId}/batchQuantityInfo

Retrieve all batch quantity details for a specific product, including available quantity, committed quantity, and sellable quantity across all inventory locations. Returns the full list without pagination.

Path Parameters

ParameterTypeDescription
productIdstringThe product i d

Response

Returns a list of BatchQuantity objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
productIdstringNoProduct identifier
inventoryIdstringNoInventory identifier
batchIdstringNoBatch identifier
quantitynumberNoQuantity
committedQtynumberNoCommitted Qty (default: ZERO)
batchPurchaseDatelongNoBatch Purchase timestamp (epoch ms)
batchArchivedbooleanNoBatch Archived
unsellablebooleanNoUnsellable

Get Batch Quantity By Inventory

GET /api/v1/partner/store/batches/quantities

Retrieve batch quantities for a specific inventory room. Use the inventoryId query parameter to specify which inventory location. Results are paginated and capped at 100 per page. Requires a store context.

Query Parameters

ParameterTypeRequiredDescription
inventoryIdstringNoinventory i d
startintegerNoNumber of records to skip
limitintegerNoMaximum records to return

Response

Returns a paginated SearchResult of BatchQuantity objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
productIdstringNoProduct identifier
inventoryIdstringNoInventory identifier
batchIdstringNoBatch identifier
quantitynumberNoQuantity
committedQtynumberNoCommitted Qty (default: ZERO)
batchPurchaseDatelongNoBatch Purchase timestamp (epoch ms)
batchArchivedbooleanNoBatch Archived
unsellablebooleanNoUnsellable

Inventory transfer For Partner

POST /api/v1/partner/store/batches/transferInventory

Create a new inventory transfer between two inventory rooms or shops. Requires fromInventoryId, toInventoryId, and currentEmployeeId. Include transferLogs with the individual items and quantities to transfer.

Request Body

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
statusstringNoStatus. One of: ACCEPTED, DECLINED, PENDING
createByEmployeeIdstringNoCreate By Employee identifier
acceptByEmployeeIdstringNoAccept By Employee identifier
declineByEmployeeIdstringNoDecline By Employee identifier
fromShopIdstringNoFrom Shop identifier
toShopIdstringNoTo Shop identifier
fromInventoryIdstringYesFrom Inventory identifier
toInventoryIdstringYesTo Inventory identifier
prevFromInventoryIdstringNoPrev From Inventory identifier
declinedDatelongNoDeclined timestamp (epoch ms)
acceptedDatelongNoAccepted timestamp (epoch ms)
transferNostringNoTransfer No
completeTransferbooleanNoComplete Transfer
transferByBatchbooleanNoTransfer By Batch
processedTimelongNoProcessed timestamp (epoch ms)
processingbooleanNoProcessing (default: false)
driverIdstringNoDriver identifier
transactionIdstringNoTransaction identifier
orderNostringNoOrder No
activeTopUserIdstringNoActive Top User identifier
currentEmployeeIdstringYesCurrent Employee identifier

Response

Returns a InventoryTransferHistory object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
statusstringNoStatus. One of: ACCEPTED, DECLINED, PENDING
createByEmployeeIdstringNoCreate By Employee identifier
acceptByEmployeeIdstringNoAccept By Employee identifier
declineByEmployeeIdstringNoDecline By Employee identifier
fromShopIdstringNoFrom Shop identifier
toShopIdstringNoTo Shop identifier
fromInventoryIdstringYesFrom Inventory identifier
toInventoryIdstringYesTo Inventory identifier
prevFromInventoryIdstringNoPrev From Inventory identifier
declinedDatelongNoDeclined timestamp (epoch ms)
acceptedDatelongNoAccepted timestamp (epoch ms)
transferNostringNoTransfer No
completeTransferbooleanNoComplete Transfer
transferByBatchbooleanNoTransfer By Batch
processedTimelongNoProcessed timestamp (epoch ms)
processingbooleanNoProcessing (default: false)
driverIdstringNoDriver identifier
transactionIdstringNoTransaction identifier
orderNostringNoOrder No
activeTopUserIdstringNoActive Top User identifier

Inventory transfer For Partner

PUT /api/v1/partner/store/batches/transferInventory/{historyId}

Update an existing inventory transfer that has not yet been accepted or declined. Use this to modify items, quantities, or other details on a pending transfer.

Path Parameters

ParameterTypeDescription
historyIdstringThe history i d

Request Body

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
statusstringNoStatus. One of: ACCEPTED, DECLINED, PENDING
createByEmployeeIdstringNoCreate By Employee identifier
acceptByEmployeeIdstringNoAccept By Employee identifier
declineByEmployeeIdstringNoDecline By Employee identifier
fromShopIdstringNoFrom Shop identifier
toShopIdstringNoTo Shop identifier
fromInventoryIdstringYesFrom Inventory identifier
toInventoryIdstringYesTo Inventory identifier
prevFromInventoryIdstringNoPrev From Inventory identifier
declinedDatelongNoDeclined timestamp (epoch ms)
acceptedDatelongNoAccepted timestamp (epoch ms)
transferNostringNoTransfer No
completeTransferbooleanNoComplete Transfer
transferByBatchbooleanNoTransfer By Batch
processedTimelongNoProcessed timestamp (epoch ms)
processingbooleanNoProcessing (default: false)
driverIdstringNoDriver identifier
transactionIdstringNoTransaction identifier
orderNostringNoOrder No
activeTopUserIdstringNoActive Top User identifier
currentEmployeeIdstringYesCurrent Employee identifier

Response

Returns a InventoryTransferHistory object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
statusstringNoStatus. One of: ACCEPTED, DECLINED, PENDING
createByEmployeeIdstringNoCreate By Employee identifier
acceptByEmployeeIdstringNoAccept By Employee identifier
declineByEmployeeIdstringNoDecline By Employee identifier
fromShopIdstringNoFrom Shop identifier
toShopIdstringNoTo Shop identifier
fromInventoryIdstringYesFrom Inventory identifier
toInventoryIdstringYesTo Inventory identifier
prevFromInventoryIdstringNoPrev From Inventory identifier
declinedDatelongNoDeclined timestamp (epoch ms)
acceptedDatelongNoAccepted timestamp (epoch ms)
transferNostringNoTransfer No
completeTransferbooleanNoComplete Transfer
transferByBatchbooleanNoTransfer By Batch
processedTimelongNoProcessed timestamp (epoch ms)
processingbooleanNoProcessing (default: false)
driverIdstringNoDriver identifier
transactionIdstringNoTransaction identifier
orderNostringNoOrder No
activeTopUserIdstringNoActive Top User identifier

Accept inventory transfer history's status for partner

POST /api/v1/partner/store/batches/transferInventory/{historyId}/accept

Accept a pending inventory transfer, triggering the actual movement of inventory. Requires currentEmployeeId to record who accepted the transfer. After acceptance, a background job processes the inventory movement.

Path Parameters

ParameterTypeDescription
historyIdstringThe history i d

Request Body

FieldTypeRequiredDescription
currentEmployeeIdstringYesCurrent Employee identifier

Response

Returns a InventoryTransferHistory object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
statusstringNoStatus. One of: ACCEPTED, DECLINED, PENDING
createByEmployeeIdstringNoCreate By Employee identifier
acceptByEmployeeIdstringNoAccept By Employee identifier
declineByEmployeeIdstringNoDecline By Employee identifier
fromShopIdstringNoFrom Shop identifier
toShopIdstringNoTo Shop identifier
fromInventoryIdstringYesFrom Inventory identifier
toInventoryIdstringYesTo Inventory identifier
prevFromInventoryIdstringNoPrev From Inventory identifier
declinedDatelongNoDeclined timestamp (epoch ms)
acceptedDatelongNoAccepted timestamp (epoch ms)
transferNostringNoTransfer No
completeTransferbooleanNoComplete Transfer
transferByBatchbooleanNoTransfer By Batch
processedTimelongNoProcessed timestamp (epoch ms)
processingbooleanNoProcessing (default: false)
driverIdstringNoDriver identifier
transactionIdstringNoTransaction identifier
orderNostringNoOrder No
activeTopUserIdstringNoActive Top User identifier

Decline inventory transfer history's status for partner

POST /api/v1/partner/store/batches/transferInventory/{historyId}/decline

Decline a pending inventory transfer. Requires currentEmployeeId to record who declined it. The transfer items will not be moved.

Path Parameters

ParameterTypeDescription
historyIdstringThe history i d

Request Body

FieldTypeRequiredDescription
currentEmployeeIdstringYesCurrent Employee identifier

Response

Returns a InventoryTransferHistory object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
statusstringNoStatus. One of: ACCEPTED, DECLINED, PENDING
createByEmployeeIdstringNoCreate By Employee identifier
acceptByEmployeeIdstringNoAccept By Employee identifier
declineByEmployeeIdstringNoDecline By Employee identifier
fromShopIdstringNoFrom Shop identifier
toShopIdstringNoTo Shop identifier
fromInventoryIdstringYesFrom Inventory identifier
toInventoryIdstringYesTo Inventory identifier
prevFromInventoryIdstringNoPrev From Inventory identifier
declinedDatelongNoDeclined timestamp (epoch ms)
acceptedDatelongNoAccepted timestamp (epoch ms)
transferNostringNoTransfer No
completeTransferbooleanNoComplete Transfer
transferByBatchbooleanNoTransfer By Batch
processedTimelongNoProcessed timestamp (epoch ms)
processingbooleanNoProcessing (default: false)
driverIdstringNoDriver identifier
transactionIdstringNoTransaction identifier
orderNostringNoOrder No
activeTopUserIdstringNoActive Top User identifier