# Orders ID Detail Integration

Shows the detailed version of the order. The endpoint `api/v1/order_item/detailed_integration/?order={order_pk}.` can be used for both the order and the order items under the order.

With this endpoint the user can extract every relation information with a given order ID.

| **Parameter** | **Data Type** | **In** | **Description**                                                       |
| ------------- | ------------- | ------ | --------------------------------------------------------------------- |
| api\_token    | string        | header | [The API key of the customer’s account](/omnitron/getting-started.md) |
| {order\_id}   | string        | query  | Order ID                                                              |

## <mark style="color:red;">`GET`</mark> <mark style="color:red;">Orders Detail</mark>

**Path:** `/api/i1/orders_integration/{order_id}/detailed_integration/`

Sample HTTP request for extracting every relation detail for the given order ID.

* `content_type` header represents the response type.
* `Authorization` header is a required header for authentication. You can retrieve `api_token` with login.

**Example Request**

```python
import requests

url = "https://{customer_api_url}/api/v1/orders_integration/{order_id}/detailed_integration/"
api_token = "f532eXXXXXXXXXXXXXXXXX201XXXXX9332d"

headers = {
   'content-type': 'application/json',
   'Authorization': 'Token {}'.format(api_token)
}

response = requests.get(url, headers=headers)
print(response.text)
```

**Example Response**

Shows desired order properties. All parameters of an order are described in the table below.

**Order**

<table data-header-hidden><thead><tr><th width="204.0546875"></th><th width="139.80078125"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td><td><strong>Description</strong></td></tr><tr><td>pk</td><td>integer</td><td>order's pk</td></tr><tr><td>number</td><td>text</td><td>order's number</td></tr><tr><td>channel</td><td>dict</td><td>channel information the order came from</td></tr><tr><td>status</td><td>enum</td><td>order status</td></tr><tr><td>date_placed</td><td>date</td><td>order creation date</td></tr><tr><td>customer</td><td>dict</td><td>customer info</td></tr><tr><td>shipping_address</td><td>dict</td><td>address info</td></tr><tr><td>billing_address</td><td>dict</td><td>billing address information</td></tr><tr><td>currency</td><td>enum</td><td>currency information</td></tr><tr><td>amount</td><td>decimal</td><td>order amount</td></tr><tr><td>shipping_amount</td><td>decimal</td><td>shipping rate</td></tr><tr><td>shipping_tax_rate</td><td>decimal</td><td>tax rate of shipping</td></tr><tr><td>extra_field</td><td>dict</td><td>optional</td></tr><tr><td>transaction_set</td><td>dict</td><td>transaction information for credit card orders</td></tr><tr><td>payment_option</td><td>dict</td><td>payment option info</td></tr><tr><td>payment_option_slug</td><td>text</td><td>payment option slug info</td></tr><tr><td>bin_number</td><td>text</td><td>bin number for credit card orders</td></tr><tr><td>installment</td><td>dict</td><td>installation info</td></tr><tr><td>installment_count</td><td>integer</td><td>information how many installments the order was taken</td></tr><tr><td>installment_interest_amount</td><td>decimal</td><td>interest amount</td></tr><tr><td>cargo_company</td><td>dict</td><td>The shipping company chosen by the customer for the order</td></tr><tr><td>invoice_number</td><td>text</td><td>invoice info</td></tr><tr><td>e_archive_url</td><td>text</td><td>e archive url info</td></tr><tr><td>refund_amount</td><td>decimal</td><td>refund amount (if any)</td></tr><tr><td>discount_refund_amount</td><td>decimal</td><td>discount refund amount (if any)</td></tr><tr><td>shipping_refund_amount</td><td>decimal</td><td>shipping refund amount (if any)</td></tr><tr><td>discount_amount</td><td>decimal</td><td>discount amount (if any)</td></tr><tr><td>cancellation_info</td><td>dict</td><td>Holds cancellation information. After cancellation proceeds this dict will be cleaned.</td></tr><tr><td>status_display</td><td>text</td><td>status description</td></tr><tr><td>tracking_number</td><td>text</td><td>shipment tracking number</td></tr><tr><td>is_send</td><td>bool</td><td>flag whether the order is reported to erp</td></tr><tr><td>cancel_status</td><td>enum</td><td>(waiting/completed/rejected)</td></tr><tr><td>net_shipping_amount</td><td>decimal</td><td>deducted shipping amount</td></tr><tr><td>remote_addr</td><td>ip address</td><td>ordering ip address</td></tr><tr><td>language_code</td><td>enum</td><td>language of the user who placed the order</td></tr><tr><td>fundstransfertransaction_set</td><td>dict</td><td>transfer order transaction information</td></tr><tr><td>has_gift_box</td><td>bool</td><td>gift wrap (yes/no)</td></tr><tr><td>gift_box_note</td><td>text</td><td>gift note</td></tr><tr><td>external_status</td><td>text</td><td>external status</td></tr><tr><td>payondeliverytransaction_set</td><td>dict</td><td>delivery transaction information</td></tr><tr><td>loyaltytransaction_set</td><td>dict</td><td>loyalty card payment transaction information</td></tr><tr><td>bextransaction_set</td><td>dict</td><td>bex transactions of the order</td></tr><tr><td>cashregistertransaction_set</td><td>dict</td><td>cash register transactions of the order</td></tr><tr><td>cancellationplan_set</td><td>dict</td><td>cancellation/refund (cancellation plan) information</td></tr><tr><td>client_type</td><td>enum</td><td>Shows the client platform. Client types are predefined. Choices are default, ios, android and instore.</td></tr><tr><td>shipping_interest_amount</td><td>decimal</td><td>shipping interest amount of the order</td></tr><tr><td>mapping</td><td>dict</td><td>optional</td></tr><tr><td>ordertransaction_set</td><td>dict</td><td>transaction of the order</td></tr><tr><td>ordershippinginfo_set</td><td>dict</td><td>order delivery detail</td></tr></tbody></table>

**Installment**

It keeps the information of how many installments the order has and the interest amount. Installment properties are listed below.

| **Key**            | **Value** | **Description**                                            |
| ------------------ | --------- | ---------------------------------------------------------- |
| pk                 | integer   | ID of the object                                           |
| card               | dict      | Related Card object. See the Payment section for more info |
| installment\_count | integer   | number of installments                                     |
| label              | text      | installment statement                                      |
| interest\_rate     | decimal   | interest rate                                              |

**Cargo Company**

It keeps the cargo company information. Cargo company properties are listed below.

| **Key**           | **Value** | **Description**                                          |
| ----------------- | --------- | -------------------------------------------------------- |
| pk                | integer   | ID of the object                                         |
| name              | text      | name of shipping company                                 |
| erp\_code         | text      | shipping company code                                    |
| shipping\_company | enum      | The shipping company to which the seller sent the order. |

**Transaction Set**

It keeps the related `pre_purchase`, purchase and refund transactions information. Transaction properties are listed below.

| **Key**           | **Value**  | **Description**                                 |
| ----------------- | ---------- | ----------------------------------------------- |
| pk                | integer    | transaction ID                                  |
| transaction\_type | enum       | transaction type (purchase/refund)              |
| transaction\_id   | text       | unique transaction identifier                   |
| auth\_code        | text       | authentication code for related payment gateway |
| pos               | dict       | holds related Pos object properties             |
| main\_pos         | dict       | holds related main Pos object properties        |
| order             | dict       | keeps related order object properties           |
| user\_email       | text       | email of the user                               |
| raw\_request      | text       | request to the bank                             |
| raw\_response     | text       | response from bank                              |
| is\_succeeded     | bool       | information about successful transaction        |
| amount            | decimal    | the amount withdrawn in this transaction        |
| remote\_addr      | ip address | operating IP                                    |
| created\_date     | date       | created date                                    |
| pos\_slug         | text       | pos slug in Omnitron                            |

**Address Set**

Billing or shipping address information. It keeps the related address model properties details.

| **Key**           | **Value** | **Description**            |
| ----------------- | --------- | -------------------------- |
| pk                | integer   | ID of the address object   |
| email             | text      | email address for shipping |
| phone\_number     | text      | phone number               |
| first\_name       | text      | name                       |
| last\_name        | text      | surname                    |
| country           | dict      | country info               |
| city              | dict      | city info                  |
| township          | dict      | town information           |
| district          | dict      | neighborhood info          |
| line              | text      | address directions         |
| title             | text      | address title              |
| postcode          | text      | postcode                   |
| tax\_office       | text      | tax office                 |
| tax\_no           | text      | tax/tck no                 |
| e\_bill\_taxpayer | bool      | e-invoice payer            |
| company\_name     | text      | company name               |
| address\_type     | enum      | customer/company           |

**Order Shipping Info Set**

It keeps the related cargo integration information.

| **Key**           | **Value** | **Description**                                                               |
| ----------------- | --------- | ----------------------------------------------------------------------------- |
| pk                | integer   | object primary key                                                            |
| order             | integer   | order primary key                                                             |
| order\_number     | text      | order's number in the Omnitron                                                |
| shipping\_company | enum      | the shipping company to which the seller sent the order                       |
| send\_request     | text      | in case the Omnitron writes to the cargo, the request is made by the Omnitron |
| send\_response    | text/json | response from omnitron                                                        |
| is\_send          | boolean   | states of whether shipping was successful                                     |
| cargo\_label      | text      | label getting from cargo integration                                          |

```json
         {
    "pk": 27,
    "number": "bf7b66149236455",
    "channel": {
        "pk": 1,
        "name": "Shop",
        "channel_type": "web",
        "catalog": 1,
        "modified_date": "2022-06-13T10:47:45.640791Z",
        "created_date": "2017-01-22T23:33:29.178976Z",
        "category_tree": null,
        "is_active": true,
        "conf": {
            "username": "Hasan",
            "feature_flags": {},
            "auth_token": "AILeoZiTaWGHEIHSvfdaaURqFBEWgbhdNrlxShtu",
            "server": "http://localhost:8080/api/v1/",
            "localized_cancel_mail_subject": {},
            "sales_url": "http://www.madamecoco.com",
            "password": "Password123!"
        },
        "schema": {}
    },
    "status": "400",
    "date_placed": "2017-01-30T08:28:26.158165Z",
    "customer": {
        "pk": 1103,
        "channel": 1,
        "email": "test@test.com",
        "first_name": "TEST",
        "last_name": "TEST",
        "phone_number": null,
        "is_active": true,
        "channel_code": "7",
        "erp_code": "760906",
        "extra_field": {},
        "modified_date": "2017-02-05T19:22:01.340598Z",
        "created_date": "2017-02-02T09:40:28.855012Z",
        "date_joined": "2017-01-30T08:21:20.657225Z",
        "email_allowed": false,
        "sms_allowed": false,
        "call_allowed": false,
        "gender": null,
        "attributes": {},
        "user_type": null,
        "date_of_birth": null
    },
    "shipping_address": {
        "pk": 27,
        "email": "test@test.com",
        "phone_number": "0 (198) 895-4431",
        "first_name": "TEST",
        "last_name": "TEST",
        "country": {
            "pk": 1,
            "is_active": true,
            "name": "Turkey",
            "code": "tr",
            "translations": {
                "tr-tr": {
                    "name": "Türkiye"
                }
            },
            "modified_date": "2022-08-15T07:20:28.680740Z",
            "created_date": "2016-12-22T08:50:55.358000Z",
            "mapping": [
                {
                    "pk": 1,
                    "content_type": 33,
                    "object_id": 1,
                    "integration_type": "external_company",
                    "code": "TR",
                    "modified_date": "2017-01-24T10:58:56.765596Z",
                    "created_date": "2017-01-24T10:58:56.765567Z"
                }
            ]
        },
        "city": {
            "pk": 71,
            "is_active": true,
            "name": "Afyon",
            "country": 1,
            "translations": null,
            "priority": null,
            "postcode": null,
            "modified_date": "2016-12-22T08:50:57.270000Z",
            "created_date": "2016-12-22T08:50:57.270000Z",
            "mapping": [
                {
                    "pk": 25,
                    "content_type": 36,
                    "object_id": 71,
                    "integration_type": "external_company",
                    "code": "TR.03",
                    "modified_date": "2017-01-24T10:58:58.771769Z",
                    "created_date": "2017-01-24T10:58:58.771729Z"
                }
            ]
        },
        "line": "test",
        "title": "TEST",
        "township": {
            "pk": 853,
            "is_active": true,
            "name": "DİNAR",
            "city": 71,
            "postcode": null,
            "modified_date": "2016-12-22T08:51:20.112000Z",
            "created_date": "2016-12-22T08:51:20.111000Z",
            "mapping": [
                {
                    "pk": 28,
                    "content_type": 34,
                    "object_id": 853,
                    "integration_type": "external_company",
                    "code": "TR.00304",
                    "modified_date": "2017-01-24T10:58:59.087915Z",
                    "created_date": "2017-01-24T10:58:59.087889Z"
                }
            ]
        },
        "district": {
            "pk": 3679,
            "is_active": true,
            "name": "İNCESU",
            "city": 71,
            "township": 853,
            "postcode": null,
            "zipcode": null,
            "modified_date": "2016-12-22T08:53:12.031000Z",
            "created_date": "2016-12-22T08:53:12.031000Z",
            "mapping": []
        },
        "postcode": "11111",
        "notes": null,
        "company_name": null,
        "tax_office": null,
        "tax_no": null,
        "e_bill_taxpayer": false,
        "hash_data": "3e0a66ffeeafcc8d5e2f7e200d85b0dc",
        "address_type": "customer",
        "retail_store": null,
        "remote_id": null,
        "identity_number": null,
        "extra_field": {},
        "customer": {
            "pk": 1103,
            "channel": 1,
            "email": "test@test.com",
            "first_name": "TEST",
            "last_name": "TEST",
            "phone_number": null,
            "is_active": true,
            "channel_code": "7",
            "erp_code": "760906",
            "extra_field": {},
            "modified_date": "2017-02-05T19:22:01.340598Z",
            "created_date": "2017-02-02T09:40:28.855012Z",
            "date_joined": "2017-01-30T08:21:20.657225Z",
            "email_allowed": false,
            "sms_allowed": false,
            "call_allowed": false,
            "gender": null,
            "attributes": {},
            "user_type": null,
            "date_of_birth": null
        },
        "is_active": true,
        "modified_date": "2017-02-05T19:22:01.492578Z",
        "mapping": [
            {
                "pk": 902,
                "content_type": 38,
                "object_id": 27,
                "integration_type": "external_company",
                "code": "bc617d60-6b8f-47af-8dd6-a70e011920b8",
                "modified_date": "2017-02-02T17:03:34.590336Z",
                "created_date": "2017-02-02T17:03:34.590310Z"
            },
            {
                "pk": 903,
                "content_type": 38,
                "object_id": 27,
                "integration_type": "external_company",
                "code": "030a6884-e0f0-4ded-9e96-a70e011920b9",
                "modified_date": "2017-02-02T17:03:34.634239Z",
                "created_date": "2017-02-02T17:03:34.634213Z"
            }
        ]
    },
    "billing_address": {
        "pk": 27,
        "email": "test@test.com",
        "phone_number": "0 (198) 895-4431",
        "first_name": "TEST",
        "last_name": "TEST",
        "country": {
            "pk": 1,
            "is_active": true,
            "name": "Turkey",
            "code": "tr",
            "translations": {
                "tr-tr": {
                    "name": "Türkiye"
                }
            },
            "modified_date": "2022-08-15T07:20:28.680740Z",
            "created_date": "2016-12-22T08:50:55.358000Z",
            "mapping": [
                {
                    "pk": 1,
                    "content_type": 33,
                    "object_id": 1,
                    "integration_type": "external_company",
                    "code": "TR",
                    "modified_date": "2017-01-24T10:58:56.765596Z",
                    "created_date": "2017-01-24T10:58:56.765567Z"
                }
            ]
        },
        "city": {
            "pk": 71,
            "is_active": true,
            "name": "Afyon",
            "country": 1,
            "translations": null,
            "priority": null,
            "postcode": null,
            "modified_date": "2016-12-22T08:50:57.270000Z",
            "created_date": "2016-12-22T08:50:57.270000Z",
            "mapping": [
                {
                    "pk": 25,
                    "content_type": 36,
                    "object_id": 71,
                    "integration_type": "external_company",
                    "code": "TR.03",
                    "modified_date": "2017-01-24T10:58:58.771769Z",
                    "created_date": "2017-01-24T10:58:58.771729Z"
                }
            ]
        },
        "line": "test",
        "title": "TEST",
        "township": {
            "pk": 853,
            "is_active": true,
            "name": "DİNAR",
            "city": 71,
            "postcode": null,
            "modified_date": "2016-12-22T08:51:20.112000Z",
            "created_date": "2016-12-22T08:51:20.111000Z",
            "mapping": [
                {
                    "pk": 28,
                    "content_type": 34,
                    "object_id": 853,
                    "integration_type": "external_company",
                    "code": "TR.00304",
                    "modified_date": "2017-01-24T10:58:59.087915Z",
                    "created_date": "2017-01-24T10:58:59.087889Z"
                }
            ]
        },
        "district": {
            "pk": 3679,
            "is_active": true,
            "name": "İNCESU",
            "city": 71,
            "township": 853,
            "postcode": null,
            "zipcode": null,
            "modified_date": "2016-12-22T08:53:12.031000Z",
            "created_date": "2016-12-22T08:53:12.031000Z",
            "mapping": []
        },
        "postcode": "11111",
        "notes": null,
        "company_name": null,
        "tax_office": null,
        "tax_no": null,
        "e_bill_taxpayer": false,
        "hash_data": "3e0a66ffeeafcc8d5e2f7e200d85b0dc",
        "address_type": "customer",
        "retail_store": null,
        "remote_id": null,
        "identity_number": null,
        "extra_field": {},
        "customer": {
            "pk": 1103,
            "channel": 1,
            "email": "test@test.com",
            "first_name": "TEST",
            "last_name": "TEST",
            "phone_number": null,
            "is_active": true,
            "channel_code": "7",
            "erp_code": "760906",
            "extra_field": {},
            "modified_date": "2017-02-05T19:22:01.340598Z",
            "created_date": "2017-02-02T09:40:28.855012Z",
            "date_joined": "2017-01-30T08:21:20.657225Z",
            "email_allowed": false,
            "sms_allowed": false,
            "call_allowed": false,
            "gender": null,
            "attributes": {},
            "user_type": null,
            "date_of_birth": null
        },
        "is_active": true,
        "modified_date": "2017-02-05T19:22:01.492578Z",
        "mapping": [
            {
                "pk": 902,
                "content_type": 38,
                "object_id": 27,
                "integration_type": "external_company",
                "code": "bc617d60-6b8f-47af-8dd6-a70e011920b8",
                "modified_date": "2017-02-02T17:03:34.590336Z",
                "created_date": "2017-02-02T17:03:34.590310Z"
            },
            {
                "pk": 903,
                "content_type": 38,
                "object_id": 27,
                "integration_type": "external_company",
                "code": "030a6884-e0f0-4ded-9e96-a70e011920b9",
                "modified_date": "2017-02-02T17:03:34.634239Z",
                "created_date": "2017-02-02T17:03:34.634213Z"
            }
        ]
    },
    "currency": "try",
    "amount": "16.40",
    "shipping_amount": "8.50",
    "shipping_tax_rate": null,
    "extra_field": {
        "cargo_line_id": "325a79ac-e251-4285-8a32-a70e0119237e"
    },
    "transaction_set": [
        {
            "pk": 2,
            "transaction_type": "purchase",
            "transaction_id": "17030LcZH11794",
            "auth_code": null,
            "pos": {
                "pk": 2,
                "name": "NestPay",
                "slug": "HA",
                "gateway": "omnicore.libs.payment_gateways.nestpay.NestpayGateway",
                "config": {
                    "auth": {
                        "username": "ISBANKAPI",
                        "password": "ISBANK07",
                        "client_id": "700655000100"
                    }
                },
                "resource_url": "https://entegrasyon.asseco-see.com.tr/fim/api",
                "three_d_resource_url": null,
                "channel": 1,
                "gateway_display": "Nestpay",
                "modified_date": "2017-02-02T10:38:15.427494Z",
                "created_date": "2017-02-01T14:01:28.829319Z"
            },
            "main_pos": null,
            "order": {
                "pk": 27,
                "number": "bf7b66149236455",
                "channel": 1,
                "status": "400",
                "date_placed": "2017-01-30T08:28:26.158165Z",
                "customer": 1103,
                "shipping_address": 27,
                "billing_address": 27,
                "currency": "try",
                "amount": "16.40",
                "shipping_amount": "8.50",
                "shipping_tax_rate": null,
                "extra_field": {
                    "cargo_line_id": "325a79ac-e251-4285-8a32-a70e0119237e"
                },
                "payment_option": 2,
                "payment_option_slug": "kredi_karti",
                "bin_number": "454360",
                "installment": 22,
                "installment_count": 1,
                "delivery_type": null,
                "installment_interest_amount": "0.00",
                "cargo_company": 1,
                "invoice_number": "",
                "invoice_date": null,
                "e_archive_url": null,
                "refund_amount": "0.00",
                "discount_refund_amount": "0.00",
                "shipping_refund_amount": "0.00",
                "discount_amount": "0.00",
                "is_send": true,
                "net_shipping_amount": "8.50",
                "shipping_interest_amount": "0.00",
                "tracking_number": null,
                "carrier_shipping_code": null,
                "remote_addr": null,
                "fundstransfertransaction_set": [],
                "has_gift_box": false,
                "gift_box_note": null,
                "external_status": null,
                "client_type": "default",
                "language_code": null,
                "notes": null,
                "delivery_range": null,
                "shipping_option_slug": null,
                "segment": null,
                "modified_date": "2017-02-02T17:03:37.189715Z",
                "checkout_provider_id": null,
                "created_date": "2017-02-02T09:40:29.144797Z"
            },
            "currency": null,
            "user_email": "test@test.com",
            "raw_request": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<CC5Request><OrderId>bf7b661492364559856ff12201f157d9</OrderId><PayerAuthenticationCode>CAVV</PayerAuthenticationCode><Name>ISBANKAPI</Name><Taksit></Taksit><Type>Auth</Type><Expires>**/****</Expires><Number>****************</Number><ClientId>700655000100</ClientId><Cvv2Val>***</Cvv2Val><Currency>949</Currency><GroupId></GroupId><TransId></TransId><Password>ISBANK07</Password><IPAddress>127.0.0.1</IPAddress><Email>example@example.com</Email><Total>16.40</Total></CC5Request>",
            "raw_response": "<?xml version=\"1.0\" encoding=\"ISO-8859-9\"?>\n<CC5Response>\n  <OrderId>bf7b661492364559856ff12201f157d9</OrderId>\n  <GroupId>bf7b661492364559856ff12201f157d9</GroupId>\n  <Response>Approved</Response>\n  <AuthCode>P31790</AuthCode>\n  <HostRefNum>703000000296</HostRefNum>\n  <ProcReturnCode>00</ProcReturnCode>\n  <TransId>17030LcZH11794</TransId>\n  <ErrMsg></ErrMsg>\n  <Extra>\n    <SETTLEID>385</SETTLEID>\n    <TRXDATE>20170130 11:28:25</TRXDATE>\n    <ERRORCODE></ERRORCODE>\n    <TERMINALID>00556600</TERMINALID>\n    <MERCHANTID>655000100</MERCHANTID>\n    <CARDBRAND>VISA</CARDBRAND>\n    <CARDISSUER>T. IS BANKASI A.S.</CARDISSUER>\n    <HOSTDATE>0130-112825</HOSTDATE>\n    <NUMCODE>00</NUMCODE>\n  </Extra>\n</CC5Response>\n",
            "is_succeeded": true,
            "amount": "16.40",
            "remote_addr": null,
            "created_date": "2017-02-02T09:40:29.245976Z",
            "pos_slug": "HA",
            "modified_date": "2017-02-05T20:03:17.186801Z"
        }
    ],
    "payment_option": {
        "pk": 2,
        "name": "Credit Card",
        "slug": "credit_Card",
        "payment_type": "credit_card",
        "sort_order": 0,
        "is_active": true,
        "config": {},
        "translations": {
            "tr-tr": {
                "name": "Kredi Kartı"
            }
        },
        "channel": 1,
        "modified_date": "2021-11-10T10:06:41.529791Z",
        "created_date": "2017-02-01T14:46:02.110133Z"
    },
    "payment_option_slug": "kredi_karti",
    "bin_number": "454360",
    "installment": {
        "pk": 22,
        "card": {
            "pk": 23,
            "name": "Maximum",
            "bank": {
                "pk": 16,
                "name": "İş Bankası",
                "slug": "is-bankas",
                "logo": null,
                "channel": 1,
                "modified_date": "2017-02-01T14:34:07.916233Z",
                "created_date": "2017-02-01T14:34:07.916213Z"
            },
            "card_type": {
                "pk": 18,
                "name": "Maximum",
                "slug": "maximum",
                "logo": "http://localhost:8000/media/card_types/2017/02/01/d09bb303-ea29-4eba-8c9a-f9bc056d52d7.jpg",
                "channel": 1,
                "modified_date": "2017-02-01T14:34:08.130132Z",
                "created_date": "2017-02-01T14:34:08.130112Z"
            },
            "card_payment_type": "credit",
            "cash_payment": 10,
            "installment_payment": 2,
            "slug": "maximum",
            "three_d_payment": 10,
            "is_commerce_card": false,
            "channel": 1,
            "modified_date": "2017-02-01T14:34:08.139753Z",
            "created_date": "2017-02-01T14:34:08.139728Z"
        },
        "installment_count": 1,
        "label": "Peşin",
        "interest_rate": "0.000000",
        "is_active": true,
        "config": {},
        "translations": null
    },
    "installment_count": 1,
    "installment_interest_amount": "0.00",
    "cargo_company": {
        "pk": 1,
        "name": "Aras",
        "erp_code": "ARAS",
        "shipping_company": "aras",
        "modified_date": "2018-08-15T12:11:54.402253Z",
        "created_date": "2017-01-30T14:02:18.165573Z"
    },
    "invoice_number": "",
    "invoice_date": null,
    "e_archive_url": null,
    "refund_amount": "0.00",
    "discount_refund_amount": "0.00",
    "shipping_refund_amount": "0.00",
    "discount_amount": "0.00",
    "cancellation_info": {},
    "status_display": "approved",
    "tracking_number": null,
    "is_send": true,
    "cancel_status": null,
    "net_shipping_amount": 8.5,
    "remote_addr": null,
    "language_code": null,
    "fundstransfertransaction_set": [],
    "has_gift_box": false,
    "gift_box_note": null,
    "tracking_url": null,
    "external_status": null,
    "payondeliverytransaction_set": [],
    "loyaltytransaction_set": [],
    "bextransaction_set": [],
    "cancellationplan_set": [],
    "cashregistertransaction_set": [],
    "client_type": "default",
    "shipping_interest_amount": "0.00",
    "delivery_type": null,
    "notes": null,
    "delivery_range": null,
    "shipping_option_slug": null,
    "segment": null,
    "carrier_shipping_code": null,
    "mapping": [
        {
            "pk": 905,
            "content_type": 40,
            "object_id": 27,
            "integration_type": "external_company",
            "code": "1-R-2-180466",
            "modified_date": "2017-02-02T17:03:37.179813Z",
            "created_date": "2017-02-02T17:03:37.179786Z"
        }
    ],
    "ordertransaction_set": [],
    "ordershippinginfo_set": [
        {
            "pk": 4,
            "order": 27,
            "order_number": "bf7b66149236455",
            "shipping_company": "aras",
            "send_request": null,
            "send_response": {},
            "is_send": true,
            "cargo_label": null,
            "modified_date": "2018-08-15T12:11:54.425172Z",
            "created_date": "2018-08-15T12:11:54.425124Z"
        }
    ]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.akinon.com/omnitron/integration/order/orders-id-detail-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
