Read a digital import
Check the import state, its version and the result of validation before committing the batch.
GET
/api/v1/inventory/products/{product_id}/digital-imports/{import_id}cURL request
curl --disable --globoff --fail-with-body --silent --show-error \
--proto '=https' --connect-timeout 5 --max-time 30 \
--request GET \
--url https://shop.onshopently.com/api/v1/inventory/products/example/digital-imports/00000000-0000-4000-8000-000000000001 \
--header 'Authorization: Bearer EXAMPLE_ACCESS_TOKEN'
Response
{
"data": {
"delivery_id": null,
"delivery_status": null,
"delivery_version": null,
"expected_count": 2,
"expires_at": "2026-11-03T13:00:00Z",
"id": "00000000-0000-4000-8000-000000000001",
"kind": "code",
"product_id": "example",
"status": "validated",
"validated_count": 2,
"validation_digest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"version": 2
},
"meta": {
"request_id": "example-request"
}
}
Required permissions
- Authentication
- Access token
- Available from
- STANDARD
- Key permission
- View pool codes and files
inventory.digital_unit:read