Skip to main content

GetOrder

Retrieve a single order (including models and pricing information) by its orderId.

API Playground

Get a single order by its orderId, including line items, prices, shipping rate, and basic project information.

Your authentication token will be sent as: Authorization: Bearer <token>
The GUID of the order you want to retrieve

Endpoint​

GET https://devapi.marketiger3d.com/v2/Order/GetOrder?orderId={orderId}

Authentication​

This endpoint requires a Bearer token. Include the token in the Authorization header:

Authorization: Bearer <your_access_token>

Query Parameters​

NameTypeRequiredDescription
orderIdstring (GUID)YesUnique identifier of the order to retrieve

Example Request​

curl -X GET "https://devapi.marketiger3d.com/v2/Order/GetOrder?orderId=123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Success Response (200 OK)​

Successful responses are wrapped in success/data, and order fields are camelCased by the API serializer:

{
"success": true,
"data": {
"order": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": 1,
"createdDate": "2024-01-01T10:00:00Z",
"updated": "2024-01-01T10:15:00Z",
"trackAndTrace": {
"trackingNumber": "9876543210",
"shippingMethodId": 3,
"trackingUrl": "https://tracking.example.com/forward?carrier=dhl_express&code=9876543210&destination=US&lang=en-us&source=NL&type=parcel&verification=12345&servicepoint_verification=&shipping_product_code=dhl_express%3Aworldwide&created_at=2026-02-04&tracking_identifier=JD000000000000000000"
},
"shippingMethodId": 3,
"projectName": "Example Project",
"paymentLink": "https://payment.example.com/link",
"shippingRate": 500,
"orderModels": [
{
"poId": 123,
"modelId": "223e4567-e89b-12d3-a456-426614174000",
"modelName": "model.zip",
"imageUrl": "https://cdn.example.com/thumb.png",
"price": 1050,
"status": 1,
"bounds": "x:81.66 y:100 z:112.04",
"quantity": 1
}
]
}
}
}

Response Schema​

FieldTypeDescription
successbooleanIndicates if the request succeeded
dataobjectContainer for the response payload
data.orderobjectOrder object
data.order.idstring (GUID)Unique identifier of the order
data.order.statusintegerOrder status code
data.order.createdDatestring (date-time)Date and time when the order was created
data.order.updatedstring (date-time)Date and time when the order was last updated
data.order.trackAndTraceobject | nullTrack-and-trace details (if available)
data.order.trackAndTrace.trackingNumberstring | nullTracking code
data.order.trackAndTrace.shippingMethodIdintegerShipping method ID
data.order.trackAndTrace.trackingUrlstring | nullCarrier tracking URL
data.order.shippingMethodIdintegerShipping method ID
data.order.projectNamestringName of the project the order belongs to
data.order.paymentLinkstringURL to complete payment for this order
data.order.shippingRatenumberBase shipping rate in EUR cents, excluding VAT/tax
data.order.orderModelsarray of objectsLine items included in the order
data.order.orderModels[].poIdintegerProduction order identifier
data.order.orderModels[].modelIdstring (GUID)ID of the ordered model
data.order.orderModels[].modelNamestringDisplay name of the model
data.order.orderModels[].imageUrlstringURL of the model thumbnail (valid ~5 minutes)
data.order.orderModels[].pricenumberPrice per model in EUR cents, excluding VAT/tax
data.order.orderModels[].statusintegerStatus code of the individual line item
data.order.orderModels[].boundsstringBounding box information (e.g. x:81.66 y:100 z:112.04; 2D cases may appear as x:0 y:0)
data.order.orderModels[].quantityintegerQuantity ordered for this model

Note: Field names are camelCase in the API response due to JSON serialization settings.

Image availability: Thumbnail URLs (imageUrl) and any additional image URLs expire after ~5 minutes.

TrackAndTrace format: trackAndTrace is now an object. When tracking data is not available, this field is null.

Error Responses​

400 Bad Request (No permission)​

{
"success": false,
"error": {
"type": "NO_PERMISSION",
"message": "You are not allowed to view this order."
}
}

Note: This error occurs when the authenticated user is not the owner of the order. Only order owners can view their orders.

400 Bad Request (No email claim)​

{
"success": false,
"error": {
"type": "NO_PERMISSION",
"message": "No email claim present."
}
}

400 Bad Request (Order not found)​

{
"success": false,
"error": {
"type": "NOT_FOUND",
"message": "Order id not found"
}
}

400 Bad Request (User not found)​

{
"success": false,
"error": {
"type": "NOT_FOUND",
"message": "User not found."
}
}