Creates a new order for a merchant.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{- "order": {
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "merchants_id": "string",
- "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": true,
- "items": [
- {
- "product": {
- "id": "string",
- "sku": "string",
- "name": "string",
- "fulfillment_by": "logitrail"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "requested_delivery_method": {
- "code": "string",
- "info": "string"
}, - "requested_delivery_service": {
- "code": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string"
}
}, - "status": "draft"
}
}{- "order": {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
}Returns a paginated list of merchant orders. Multiple filters may be combined; they are AND-merged in the resulting query.
| status | string Enum: "draft" "passive" "confirmed" "waiting_products" "problem" "processing" "processed" "returning" "returned" "cancelled" "deleted" Exact match on order status. See OrderStatusEnum for the list of values. |
| has_product_id | string^[0-9a-f]{24}$ Filter orders that contain a line referencing this product (Mongo ObjectId, 24 hex chars). |
| our_id | string^T\d{4,}[A-Z0-9]{4}$ Exact match on the Logitrail-issued order ID (e.g. "T1234ABCD"). Same value that appears as |
| merchants_id | string non-empty Exact match on the merchant’s own order number. Same value that appears as |
| customer_name_search | string >= 3 characters Case-insensitive substring match across customer first name, last name, and organisation (minimum 3 characters). Returns orders where any of those fields contains the search term. |
| q | string >= 3 characters Unified search (minimum 3 characters). Auto-detects the input shape: a string matching the Logitrail order ID format (T + 4+ digits + 4 alphanum) is treated as an exact |
| quick_filter | string Value: "open" Server-defined named filter bundle. Expands into a set of underlying criteria before executing the query. Combinable with explicit filters (AND-merge). Currently supported: |
| offset | number >= 0 Default: 0 Pagination offset. Defaults to 0. |
| limit | number [ 1 .. 1000 ] Default: 250 Maximum number of orders to return. Defaults to 250, capped at 1000. |
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "orders": [
- {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
]
}Returns a merchant order by ID.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "order": {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
}Updates an existing merchant order.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
required | object | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
{- "order": {
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "merchants_id": "string",
- "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "product": {
- "id": "string",
- "sku": "string",
- "name": "string",
- "fulfillment_by": "logitrail"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "requested_delivery_method": {
- "code": "string",
- "info": "string"
}, - "requested_delivery_service": {
- "code": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string"
}
}
}
}{- "order": {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
}Removes an order from active processing. Maps draft → deleted; maps confirmed, waiting_products, problem, and passive → cancelled. Idempotent: already-deleted or already-cancelled orders return 204. Returns 409 for any other current status.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "message": "string",
- "error_code": "VALIDATION_ERROR",
- "validation_errors": [
- null
]
}Returns order statistics for a merchant.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "message": "string",
- "error_code": "VALIDATION_ERROR",
- "validation_errors": [
- null
]
}Returns aggregated order KPIs for the authenticated merchant. Supports flexible grouping and date filtering.
| created_at_min | string Minimum created_at filter (inclusive). ISO 8601 datetime or YYYY-MM-DD. |
| created_at_max | string Maximum created_at filter (inclusive). ISO 8601 datetime or YYYY-MM-DD. |
| status | string Comma-separated order statuses to filter by. |
| group_by | string Comma-separated dimensions: status, customer.country_code, created_at_date. |
| kpis | string Comma-separated KPIs: order_count, line_items_per_order, total_quantity. Default: order_count. |
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "statistics": {
- "query": {
- "created_at_min": "string",
- "created_at_max": "string",
- "status": [
- "string"
], - "merchant": "string",
- "group_by": [
- "string"
], - "kpis": [
- "string"
]
}, - "results": [
- {
- "dimensions": {
- "property1": "string",
- "property2": "string"
}, - "kpis": {
- "property1": 0,
- "property2": 0
}
}
], - "totals": {
- "kpis": {
- "property1": 0,
- "property2": 0
}
}
}
}Returns products waiting for stock across the merchant's orders. Per-row by_status breakdown surfaces whether the article counts are demand placeholders, in-flight inbound shipments, or quarantined incidents.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "message": "string",
- "error_code": "VALIDATION_ERROR",
- "validation_errors": [
- null
]
}Deprecated alias for GET /v1/orders/waiting-products. Move to the kebab-case URL; the underscore form remains until its sunset on 2026-11-20 per the DEV-1137 deprecation programme.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "message": "string",
- "error_code": "VALIDATION_ERROR",
- "validation_errors": [
- null
]
}Updates best_before_date and/or batch_numbers on a single order item line. Both fields support null to clear. Returns the full updated order DTO. 404 when order/item is not found for the calling merchant.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
string or null | |
Array of strings or null |
{- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}{- "order": {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
}Attaches a service that operates at order scope (e.g. gift wrap, fragile-handling surcharge, expedited fulfilment) to an order. The service is identified by id or code; the server resolves the catalog row, verifies the service is enabled, applicable to order scope, and available to the requesting merchant. NOT used for the order delivery method — that is the dedicated requested_delivery_service field on the order.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
required | object Service attachment to add to the order as a whole. Provide the service reference by | ||||||||
| |||||||||
{- "service_attachment": {
- "service": {
- "id": "string",
- "code": "string"
}, - "quantity": 1,
- "parameters": {
- "property1": null,
- "property2": null
}, - "merchant_remarks": "string"
}
}{- "service_attachment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "service": {
- "id": "string",
- "code": "string"
}, - "quantity": 1,
- "parameters": {
- "property1": null,
- "property2": null
}, - "merchant_remarks": "string",
- "created_stamp": {
- "ts": "string",
- "user": "string",
- "source": "string",
- "p": {
- "property1": null,
- "property2": null
}
}, - "archived_stamp": {
- "ts": "string",
- "user": "string",
- "source": "string",
- "p": {
- "property1": null,
- "property2": null
}
}, - "status": "active",
- "completion_stamp": {
- "ts": "string",
- "user": "string",
- "source": "string",
- "p": {
- "property1": null,
- "property2": null
}
}
}
}Attaches a service that operates at order-line-item scope (e.g. per-unit assembly, per-unit warranty, per-unit gift wrap) to a specific line item on an order. The service is identified by id or code; the server resolves the catalog row, verifies the service is enabled, applicable to order-item scope, and available to the requesting merchant.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
required | object Service attachment to add to the order line item. Provide the service reference by | ||||||||
| |||||||||
{- "service_attachment": {
- "service": {
- "id": "string",
- "code": "string"
}, - "quantity": 1,
- "parameters": {
- "property1": null,
- "property2": null
}, - "merchant_remarks": "string"
}
}{- "service_attachment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "service": {
- "id": "string",
- "code": "string"
}, - "quantity": 1,
- "parameters": {
- "property1": null,
- "property2": null
}, - "merchant_remarks": "string",
- "created_stamp": {
- "ts": "string",
- "user": "string",
- "source": "string",
- "p": {
- "property1": null,
- "property2": null
}
}, - "archived_stamp": {
- "ts": "string",
- "user": "string",
- "source": "string",
- "p": {
- "property1": null,
- "property2": null
}
}, - "status": "active",
- "completion_stamp": {
- "ts": "string",
- "user": "string",
- "source": "string",
- "p": {
- "property1": null,
- "property2": null
}
}
}
}Transitions a draft order to confirmed. Idempotent: an already-confirmed order returns 200. Returns 409 if the order is in any other status, and 422 with error_code: ORDER_STATUS_GATE_NO_LINE_ITEMS if the draft has no line items.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
| reason | string [ 1 .. 200 ] characters Optional free-form reason stored on the audit stamp. |
{- "reason": "string"
}{- "order": {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
}Transitions an actively reserving order (confirmed, waiting_products or problem) to passive, releasing all warehouse-side article reservations without losing the order or its line items. Use this to park an order that should not be picked right now but may be re-activated later by calling _confirm again. Idempotent: an already-passive order returns 200. Returns 409 from any other status (e.g. draft, processing, cancelled, deleted).
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
| reason | string [ 1 .. 200 ] characters Optional free-form reason stored on the audit stamp. |
{- "reason": "string"
}{- "order": {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
}Returns a single merchant order by its Logitrail-issued ID (our_id, e.g. T1234ABCD). Returns 404 if no order with that ID exists for the calling merchant.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "order": {
- "id": "string",
- "customer": {
- "first_name": null,
- "last_name": null,
- "email": null,
- "phone": null,
- "organization": null,
- "address": null,
- "postal_code": null,
- "state": null,
- "city": null,
- "country_code": null,
- "vat_id": null,
- "eori": null,
- "door_code": null,
- "delivery_instructions": null
}, - "our_id": "string",
- "merchants_id": "string",
- "status": "draft",
- "anonymized": {
- "ts": "2019-08-24T14:15:22Z"
}, - "process_lock": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "process_hold": {
- "id": "string",
- "comment": "string",
- "created": {
- "ts": "2019-08-24T14:15:22Z"
}, - "expires": "2019-08-24T14:15:22Z"
}, - "items": [
- {
- "id": "string",
- "product": {
- "id": "string",
- "name": "string",
- "sku": "string"
}, - "fulfillment_by": "logitrail",
- "quantity": 1,
- "sales_info": {
- "gross_price": 0,
- "tax_percent": 100,
- "currency": "string"
}, - "additional_info": "string",
- "best_before_date": "2019-08-24",
- "batch_numbers": [
- "string"
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "merchants_order_time": "2019-08-24T14:15:22Z",
- "no_earlier_than": "2019-08-24T14:15:22Z",
- "no_after_than": "2019-08-24T14:15:22Z",
- "language": "string",
- "requested_delivery_method": {
- "code": "string",
- "info": "string",
- "mapping_status": "string"
}, - "requested_delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "delivery_service": {
- "id": "string",
- "code": "string",
- "name": "string"
}, - "requested_pickup_point": {
- "code": "string",
- "info": "string"
}, - "pickup_point": {
- "id": "string",
- "name": "string"
}, - "requested_delivery_destination": {
- "pickup_point": {
- "id": "string",
- "name": "string"
}
}
}
}