Default
Get a list of Packages Objects for listing
Response format
json
Possible values: Page number
1
Number of items per page
20
Sorting field
Filter by state ID
Filter by state enum value
Filter by state enum value not equal
Filter by order ID
Filter by stock location ID
Filter by stock location ERP code
Filter by multiple stock location ERP codes (comma separated)
Filter by stock location type
Filter by order number (starts with)
Filter by order Omnitron ID
Filter by created date (from)
Filter by created date (to)
Filter by modified date (from)
Filter by modified date (to)
Filter by shipment created date (from)
Filter by shipment created date (to)
Filter by product SKU
Filter by product barcode
Filter by delivery range lower bound
Filter by delivery range upper bound
Filter by delivery range date
Filter by channel ID
Filter by customer first name
Filter by customer last name
Filter by order date
Filter by order date placed (from)
Filter by order date placed (to)
Filter by shipment cargo company ID
Filter by multiple packageitem order item omnitron IDs
Filter by click and collect status
Filter by ID greater than
Filter by ID greater than or equal
Filter by ID less than
Filter by ID less than or equal
Filter by multiple IDs
Filter by order delivery type
Filter by country ID
Filter by country name
Filter by city ID
Filter by city name
Filter by township ID
Filter by township name
Filter by cancellation failure status
Filter by order retail store ERP code
Filter by stock location or retail store ERP code
Filter by shipping option slugs
Exclude by shipping option slugs
Filter by order item omnitron ID
GET /packages/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"packageitem_set": [
{
"id": 1,
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"order_item": {},
"transfer_order": {},
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"package": 1,
"denial_reason": {
"id": 1,
"title": "text",
"remote_id": "text",
"priority": 1,
"is_active": true
},
"discrepancy_reason": "text",
"unit_type": "quantity"
}
],
"order_number": "text",
"channel_name": "text",
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"number": "text",
"id": 1,
"shipping_address": {
"id": 1,
"city": {},
"country": {},
"township": {},
"district": {},
"customer": {},
"title": "text",
"line": "text",
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"is_active": true
},
"order_id": 1,
"stock_location": {
"id": 1,
"name": "text",
"erp_code": "text",
"address": {
"id": 1,
"city": {},
"country": {},
"township": {},
"district": {},
"customer": {},
"title": "text",
"line": "text",
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"is_active": true
},
"tags": [
{}
]
},
"commands": [
{}
],
"shipment": {},
"shipping_label": {},
"is_click_and_collect": true,
"shipment_date": "2025-07-14T16:40:05.758Z",
"extra_information": {},
"delivery_type": {
"value": "text",
"label": "text"
},
"omnitron_order_id": 1,
"id_encrypted": "text",
"scenario": {
"name": "text",
"id": 1
},
"rule": {
"name": "text",
"id": 1
}
},
{
"date_placed": "2025-07-14T16:40:05.758Z",
"city": "text",
"payment_type": "text",
"tracking_number": "text",
"target_packing_date": "2025-07-14T16:40:05.758Z",
"invoice_number": "text",
"remote_id": "text",
"delivery_range": {
"lower": "2025-07-14T16:40:05.758Z",
"upper": "2025-07-14T16:40:05.758Z"
},
"order_gift_box_note": "text",
"order_has_gift_box": true,
"order_retail_store_id": 1,
"order_notes": "text",
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"channel_omnitron_id": 1,
"source": "oms",
"origin_address": 1,
"origin_address_id": "text"
}
]
}
Get a single Package object with given id
Response format
json
Possible values: GET /packages/{id}/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"packageitem_set": [
{
"id": 1,
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"order_item": {},
"transfer_order": {},
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"package": 1,
"denial_reason": {
"id": 1,
"title": "text",
"remote_id": "text",
"priority": 1,
"is_active": true
},
"discrepancy_reason": "text",
"unit_type": "quantity"
}
],
"order_number": "text",
"channel_name": "text",
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"number": "text",
"id": 1,
"shipping_address": {
"id": 1,
"city": {},
"country": {},
"township": {},
"district": {},
"customer": {},
"title": "text",
"line": "text",
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"is_active": true
},
"order_id": 1,
"stock_location": {
"id": 1,
"name": "text",
"erp_code": "text",
"address": {
"id": 1,
"city": {},
"country": {},
"township": {},
"district": {},
"customer": {},
"title": "text",
"line": "text",
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"is_active": true
},
"tags": [
{}
]
},
"commands": [
{}
],
"shipment": {},
"shipping_label": {},
"is_click_and_collect": true,
"shipment_date": "2025-07-14T16:40:05.758Z",
"extra_information": {},
"delivery_type": {
"value": "text",
"label": "text"
},
"omnitron_order_id": 1,
"id_encrypted": "text",
"scenario": {
"name": "text",
"id": 1
},
"rule": {
"name": "text",
"id": 1
},
"date_placed": "2025-07-14T16:40:05.758Z",
"city": "text",
"payment_type": "text",
"tracking_number": "text",
"target_packing_date": "2025-07-14T16:40:05.758Z",
"invoice_number": "text",
"remote_id": "text",
"delivery_range": {
"lower": "2025-07-14T16:40:05.758Z",
"upper": "2025-07-14T16:40:05.758Z"
},
"order_gift_box_note": "text",
"order_has_gift_box": true,
"order_retail_store_id": 1,
"order_notes": "text",
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"channel_omnitron_id": 1,
"source": "oms",
"origin_address": 1,
"origin_address_id": "text"
}
Get a list of Packages with minimal information
Response format
json
Possible values: Page number
1
Number of items per page
20
GET /packages/short/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"packageitem_count": 1,
"order_number": "text",
"date_placed": "2025-07-14T16:40:05.758Z",
"channel_name": "text",
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"number": "text",
"id": 1,
"target_packing_date": "2025-07-14T16:40:05.758Z",
"order_id": 1,
"stock_location": {},
"is_click_and_collect": true,
"delivery_type": {
"value": "text",
"label": "text"
},
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z"
}
]
}
Get a single Package object with minimal information
GET /packages/{id}/short/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"packageitem_set": [
{
"id": 1,
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"order_item": {},
"transfer_order": {},
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"package": 1,
"denial_reason": {
"id": 1,
"title": "text",
"remote_id": "text",
"priority": 1,
"is_active": true
},
"discrepancy_reason": "text",
"unit_type": "quantity"
}
],
"order_number": "text",
"channel_name": "text",
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"number": "text",
"id": 1,
"shipping_address": {
"id": 1,
"city": {},
"country": {},
"township": {},
"district": {},
"customer": {},
"title": "text",
"line": "text",
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"is_active": true
},
"order_id": 1,
"stock_location": {
"id": 1,
"name": "text",
"erp_code": "text",
"address": {
"id": 1,
"city": {},
"country": {},
"township": {},
"district": {},
"customer": {},
"title": "text",
"line": "text",
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"is_active": true
},
"tags": [
{}
]
},
"commands": [
{}
],
"shipment": {},
"shipping_label": {},
"is_click_and_collect": true,
"shipment_date": "2025-07-14T16:40:05.758Z",
"extra_information": {},
"delivery_type": {
"value": "text",
"label": "text"
},
"omnitron_order_id": 1,
"id_encrypted": "text",
"scenario": {
"name": "text",
"id": 1
},
"rule": {
"name": "text",
"id": 1
}
}
Returns distinct delivery ranges available
Page number
1
Number of items per page
20
Filter by exact date within delivery range
Filter by lower bound start date
Filter by lower bound end date
Filter by upper bound start date
Filter by upper bound end date
GET /packages/delivery-ranges/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"lower": "2025-07-14T16:40:05.758Z",
"upper": "2025-07-14T16:40:05.758Z"
}
]
}
Create a Purchased Invoice for the Package object
POST /packages/{id}/invoice/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"id": 1,
"invoice_type": "text",
"status": "text",
"channel": {},
"address": {
"id": 1,
"city": {},
"country": {},
"township": {},
"district": {},
"customer": {},
"title": "text",
"line": "text",
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"is_active": true
},
"invoiceitem_set": [
{}
],
"order": {},
"package_number": "text",
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"number": "text"
}
Execute specified command for Package objects
ID of the state transition to execute
Additional parameters for the command
{}
POST /packages/{id}/command/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"transition": 1,
"input_parameters": {}
}
No content
Set invoice number for a package
POST /packages/{id}/set_invoice_number/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"invoice_number": "text"
}
No content
Set remote ID for a package
POST /packages/{id}/set_remote_id/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"remote_id": "text"
}
No content
Update extra information for a package
Additional information for the package
PATCH /packages/{id}/extra_information/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"extra_information": {}
}
No content
Get items for a specific package
Page number
1
Number of items per page
20
GET /packages/{id}/package-items/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"product_sku": "text"
}
]
}
Get invoice document for a package
GET /packages/{id}/invoice_document/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"html_content": "text"
}
Get a list of transition logs for a specific package
Page number
1
Number of items per page
20
GET /packages/{id}/transition_logs/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"source_state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"target_state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"transition": {
"id": 1,
"name": "text",
"source_state": 1,
"target_state": 1
},
"content_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"object_id": 1,
"additional_data": {},
"user": {
"id": 1,
"username": "text",
"email": "text"
}
}
]
}
Get a specific transition log for a package
GET /packages/{id}/transition_logs/{log_id}/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"source_state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"target_state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"transition": {
"id": 1,
"name": "text",
"source_state": 1,
"target_state": 1
},
"content_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"object_id": 1,
"additional_data": {},
"user": {
"id": 1,
"username": "text",
"email": "text"
}
}
Get a list of transition logs for a specific package in short format
Page number
1
Number of items per page
20
GET /packages/{id}/transition_logs/short/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"source_state": {
"name": "text",
"enum_value": "text"
},
"target_state": {
"name": "text",
"enum_value": "text"
},
"transition_name": "text",
"user": "text"
}
]
}
Get a specific transition log for a package in short format
GET /packages/{id}/transition_logs/short/{log_id}/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"source_state": {
"name": "text",
"enum_value": "text"
},
"target_state": {
"name": "text",
"enum_value": "text"
},
"transition_name": "text",
"user": "text"
}
Get a list of webhook events for a specific package
Page number
1
Number of items per page
20
GET /packages/{id}/webhook_events/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"event_type": "text",
"content_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"object_id": 1,
"status": "pending",
"payload": {},
"response": {},
"retryable": true,
"retry_count": 1,
"next_retry_date": "2025-07-14T16:40:05.758Z"
}
]
}
Get a specific webhook event for a package
GET /packages/{id}/webhook_events/{webhook_event_id}/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"event_type": "text",
"content_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"object_id": 1,
"status": "pending",
"payload": {},
"response": {},
"retryable": true,
"retry_count": 1,
"next_retry_date": "2025-07-14T16:40:05.758Z"
}
Get a list of webhook events for a specific package in short format
Page number
1
Number of items per page
20
GET /packages/{id}/webhook_events/short/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"event_type": "text",
"status": "pending",
"retry_count": 1
}
]
}
Get a simplified list of packages with minimal information
Page number
1
Number of items per page
20
Filter by state ID
Filter by state enum value
Filter by order number (starts with)
GET /packages/list-simple/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"number": "text",
"state": {
"id": 1,
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"name": "text",
"config": {},
"enum_class": "text",
"enum_value": "text",
"content_type": 1
},
"order": 1,
"stock_location": 1,
"tracking_number": "text",
"invoice_number": "text",
"remote_id": "text",
"shipping_address": 1,
"is_click_and_collect": true,
"shipment_date": "2025-07-14T16:40:05.758Z",
"target_packing_date": "2025-07-14T16:40:05.758Z",
"delivery_range": {
"lower": "2025-07-14T16:40:05.758Z",
"upper": "2025-07-14T16:40:05.758Z"
},
"created_date": "2025-07-14T16:40:05.758Z",
"modified_date": "2025-07-14T16:40:05.758Z",
"extra_information": {}
}
]
}
Was this helpful?