Skip to content

Get document

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

document_idnumberrequired

Document ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/storage_operations/documents/{location_id}/{document_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataobject

Object with data

Example:
{ "id": 22255503, "type_id": 1, "type": { "id": 1, "title": "Sale of goods" }, "storage_id": 36539, "user_id": 999290, "company_id": 4564, "number": 1251, "comment": "Document comment", "create_date": "2026-09-21 23:00:00", "storage": { "id": 36539, "title": "Products" }, "company": { "id": 4564, "title": "Business Example", "country_id": 7, "city_id": 2, "timezone": "-5", "address": "New York, 787 Jackson Drive", "coordinate_lat": 40.73061, "coordinate_lon": -73.935242, "logo": "https://app.alteg.io/uploads/s_120d9410f1472a4e6bdbafefe7eeba42.png", "zip": "", "phones": [], "site": "www.example.com" }, "user": { "id": 999290, "name": "User name", "phone": "+13155550175" } }
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": { "id": 22255503, "type_id": 1, "type": { … }, "storage_id": 36539, "user_id": 999290, "company_id": 4564, "number": 1251, "comment": "Document comment", "create_date": "2026-04-24 20:00:00", "storage": { … }, "company": { … }, "user": { … } }, "meta": [] }