For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order Transaction

Get integration mapping types for the order transaction

get

Get integration mapping types for the order transaction

Authorizations
AuthorizationstringRequired
Responses
200

Integration mapping types successfully retrieved

application/json

Type of integration mapping

itemsstring · enumOptional

Type of integration mapping

Example: webPossible values:
get/api/v1/order_transactions/get_integration_mapping_types/
GET /api/v1/order_transactions/get_integration_mapping_types/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
[
  "web"
]

Get mappings for the order transaction

get

Get mappings for the order transaction with the specified ID

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200

Order transaction mappings successfully retrieved

application/json
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional
content_typeintegerOptional

Associated content type id

object_idintegerOptional

Associated content type's object id value

content_objectobject · nullableOptional

Generic foreign key, handled dynamically

integration_typestring · enum · max: 20OptionalPossible values:
codestring · max: 499Optional

Code value of integration mapping

get/api/v1/order_transactions/{id}/get_mappings/
GET /api/v1/order_transactions/{id}/get_mappings/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "created_date": "2026-01-01T00:00:00.000Z",
    "modified_date": "2026-01-01T00:00:00.000Z"
  }
]

Retrieve order transaction

get

Retrieve a specific order transaction by ID.

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200

Order transaction retrieved successfully

application/json
pkintegerOptional

Primary key of the order transaction

uuidstring · uuidOptional

Unique identifier for the order transaction

amountnumber · decimalOptional

Amount of the order transaction

transaction_typestring · enumOptionalPossible values:
transaction_object_idintegerOptional

ID of the related transaction object

modified_datestring · date-timeOptional

Date and time the order transaction was last modified

created_datestring · date-timeOptional

Date and time the order transaction was created

get/api/v1/order_transactions/{id}/
GET /api/v1/order_transactions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 1,
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "payment_option": {
    "id": 1,
    "name": "text",
    "slug": "text",
    "payment_type": "credit_card",
    "sort_order": 0,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "is_active": true,
    "channel": {
      "id": 1,
      "name": "Commerce Channel",
      "catalog": 1,
      "channel_type": "web",
      "conf": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "category_tree": "text",
      "is_active": true,
      "schema": {},
      "created_date": "2024-11-20T11:22:23.702774Z",
      "modified_date": "2024-11-20T11:22:23.702774Z"
    },
    "translations": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  },
  "amount": 1,
  "transaction_type": "purchase",
  "order": {
    "pk": 1,
    "number": "ORDER12345",
    "channel": 1,
    "customer": 1,
    "date_placed": "2024-11-20T11:22:23.702774Z",
    "extra_field": {
      "special_note": "Handle with care"
    },
    "payment_option": 1,
    "payment_option_slug": "credit-card",
    "bin_number": "123456",
    "installment": 1,
    "installment_count": 6,
    "installment_interest_amount": 50,
    "cargo_company": 1,
    "is_send": false,
    "delivery_type": "next_day",
    "cancellation_info": {
      "reason": "Customer requested cancellation"
    },
    "cancel_status": "cancelled",
    "shipping_interest_amount": 10,
    "external_status": 1,
    "client_type": "default",
    "carrier_shipping_code": "TRACK12345",
    "segment": "premium",
    "checkout_provider_id": 12345,
    "status": 200,
    "currency": "try",
    "amount": 1000,
    "discount_amount": 50,
    "shipping_amount": 20,
    "shipping_tax_rate": 18,
    "refund_amount": 100,
    "discount_refund_amount": 10,
    "shipping_refund_amount": 5,
    "invoice_number": "INV123456",
    "invoice_date": "2024-11-21T11:22:23.702774Z",
    "e_archive_url": "https://earchive.example.com/invoice/123",
    "tracking_number": "TRACK12345",
    "defined_tracking_url": "https://tracking.example.com/track/123",
    "shipping_company": "yurtici",
    "remote_addr": "192.168.0.1",
    "has_gift_box": false,
    "gift_box_note": "Happy Birthday!",
    "language_code": "en",
    "notes": "Leave at the front door.",
    "delivery_range": {
      "start": "2026-01-01T00:00:00.000Z",
      "end": "2026-01-01T00:00:00.000Z"
    },
    "shipping_option_slug": "standard-shipping",
    "created_date": "2026-01-01T00:00:00.000Z",
    "modified_date": "2026-01-01T00:00:00.000Z"
  },
  "transaction_content_type": {
    "id": 1,
    "app_label": "text",
    "model": "text"
  },
  "transaction_object_id": 1,
  "transaction": {
    "pk": 1,
    "transaction_type": "purchase",
    "transaction_id": "text",
    "auth_code": "text",
    "pos": "text",
    "main_pos": "text",
    "order": 1,
    "currency": "try",
    "user_email": "text",
    "raw_request": "text",
    "raw_response": "text",
    "is_succeeded": true,
    "amount": 1,
    "remote_addr": "text",
    "is_async_payment": true,
    "transaction_response_status": "approved",
    "created_date": "2026-01-01T00:00:00.000Z",
    "modified_date": "2026-01-01T00:00:00.000Z"
  },
  "customer": {
    "pk": 123,
    "email": "example@domain.com",
    "first_name": "John",
    "last_name": "Doe",
    "phone_number": "+123456789",
    "is_active": true,
    "channel_code": "CH123",
    "erp_code": "ERP456",
    "attributes": {
      "logged_ip": "127.0.0.1",
      "register_client_type": "default"
    },
    "attribute_kwargs": {},
    "localized_attributes": {},
    "localized_attribute_kwargs": {},
    "extra_field": {
      "key1": "value1",
      "key2": 100
    },
    "email_allowed": true,
    "sms_allowed": false,
    "call_allowed": true,
    "date_joined": "2023-01-15T10:30:00Z",
    "gender": "female",
    "user_type": "guest",
    "date_of_birth": "1985-08-25",
    "channel": 5
  },
  "related_ordertransaction": {
    "pk": 1,
    "uuid": "123e4567-e89b-12d3-a456-426614174000",
    "payment_option": {
      "id": 1,
      "name": "text",
      "slug": "text",
      "payment_type": "credit_card",
      "sort_order": 0,
      "config": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "is_active": true,
      "channel": {
        "id": 1,
        "name": "Commerce Channel",
        "catalog": 1,
        "channel_type": "web",
        "conf": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "category_tree": "text",
        "is_active": true,
        "schema": {},
        "created_date": "2024-11-20T11:22:23.702774Z",
        "modified_date": "2024-11-20T11:22:23.702774Z"
      },
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    },
    "amount": 1,
    "transaction_type": "purchase",
    "order": {
      "pk": 1,
      "number": "ORDER12345",
      "channel": 1,
      "customer": 1,
      "date_placed": "2024-11-20T11:22:23.702774Z",
      "extra_field": {
        "special_note": "Handle with care"
      },
      "payment_option": 1,
      "payment_option_slug": "credit-card",
      "bin_number": "123456",
      "installment": 1,
      "installment_count": 6,
      "installment_interest_amount": 50,
      "cargo_company": 1,
      "is_send": false,
      "delivery_type": "next_day",
      "cancellation_info": {
        "reason": "Customer requested cancellation"
      },
      "cancel_status": "cancelled",
      "shipping_interest_amount": 10,
      "external_status": 1,
      "client_type": "default",
      "carrier_shipping_code": "TRACK12345",
      "segment": "premium",
      "checkout_provider_id": 12345,
      "status": 200,
      "currency": "try",
      "amount": 1000,
      "discount_amount": 50,
      "shipping_amount": 20,
      "shipping_tax_rate": 18,
      "refund_amount": 100,
      "discount_refund_amount": 10,
      "shipping_refund_amount": 5,
      "invoice_number": "INV123456",
      "invoice_date": "2024-11-21T11:22:23.702774Z",
      "e_archive_url": "https://earchive.example.com/invoice/123",
      "tracking_number": "TRACK12345",
      "defined_tracking_url": "https://tracking.example.com/track/123",
      "shipping_company": "yurtici",
      "remote_addr": "192.168.0.1",
      "has_gift_box": false,
      "gift_box_note": "Happy Birthday!",
      "language_code": "en",
      "notes": "Leave at the front door.",
      "delivery_range": {
        "start": "2026-01-01T00:00:00.000Z",
        "end": "2026-01-01T00:00:00.000Z"
      },
      "shipping_option_slug": "standard-shipping",
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "transaction_content_type": {
      "id": 1,
      "app_label": "text",
      "model": "text"
    },
    "transaction_object_id": 1,
    "transaction": {
      "pk": 1,
      "transaction_type": "purchase",
      "transaction_id": "text",
      "auth_code": "text",
      "pos": "text",
      "main_pos": "text",
      "order": 1,
      "currency": "try",
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "amount": 1,
      "remote_addr": "text",
      "is_async_payment": true,
      "transaction_response_status": "approved",
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "customer": {
      "pk": 123,
      "email": "example@domain.com",
      "first_name": "John",
      "last_name": "Doe",
      "phone_number": "+123456789",
      "is_active": true,
      "channel_code": "CH123",
      "erp_code": "ERP456",
      "attributes": {
        "logged_ip": "127.0.0.1",
        "register_client_type": "default"
      },
      "attribute_kwargs": {},
      "localized_attributes": {},
      "localized_attribute_kwargs": {},
      "extra_field": {
        "key1": "value1",
        "key2": 100
      },
      "email_allowed": true,
      "sms_allowed": false,
      "call_allowed": true,
      "date_joined": "2023-01-15T10:30:00Z",
      "gender": "female",
      "user_type": "guest",
      "date_of_birth": "1985-08-25",
      "channel": 5
    },
    "related_ordertransaction": {
      "pk": 1,
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "payment_option": {
        "id": 1,
        "name": "text",
        "slug": "text",
        "payment_type": "credit_card",
        "sort_order": 0,
        "config": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "is_active": true,
        "channel": {
          "id": 1,
          "name": "Commerce Channel",
          "catalog": 1,
          "channel_type": "web",
          "conf": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "category_tree": "text",
          "is_active": true,
          "schema": {},
          "created_date": "2024-11-20T11:22:23.702774Z",
          "modified_date": "2024-11-20T11:22:23.702774Z"
        },
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "amount": 1,
      "transaction_type": "purchase",
      "order": {
        "pk": 1,
        "number": "ORDER12345",
        "channel": 1,
        "customer": 1,
        "date_placed": "2024-11-20T11:22:23.702774Z",
        "extra_field": {
          "special_note": "Handle with care"
        },
        "payment_option": 1,
        "payment_option_slug": "credit-card",
        "bin_number": "123456",
        "installment": 1,
        "installment_count": 6,
        "installment_interest_amount": 50,
        "cargo_company": 1,
        "is_send": false,
        "delivery_type": "next_day",
        "cancellation_info": {
          "reason": "Customer requested cancellation"
        },
        "cancel_status": "cancelled",
        "shipping_interest_amount": 10,
        "external_status": 1,
        "client_type": "default",
        "carrier_shipping_code": "TRACK12345",
        "segment": "premium",
        "checkout_provider_id": 12345,
        "status": 200,
        "currency": "try",
        "amount": 1000,
        "discount_amount": 50,
        "shipping_amount": 20,
        "shipping_tax_rate": 18,
        "refund_amount": 100,
        "discount_refund_amount": 10,
        "shipping_refund_amount": 5,
        "invoice_number": "INV123456",
        "invoice_date": "2024-11-21T11:22:23.702774Z",
        "e_archive_url": "https://earchive.example.com/invoice/123",
        "tracking_number": "TRACK12345",
        "defined_tracking_url": "https://tracking.example.com/track/123",
        "shipping_company": "yurtici",
        "remote_addr": "192.168.0.1",
        "has_gift_box": false,
        "gift_box_note": "Happy Birthday!",
        "language_code": "en",
        "notes": "Leave at the front door.",
        "delivery_range": {
          "start": "2026-01-01T00:00:00.000Z",
          "end": "2026-01-01T00:00:00.000Z"
        },
        "shipping_option_slug": "standard-shipping",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "transaction_content_type": {
        "id": 1,
        "app_label": "text",
        "model": "text"
      },
      "transaction_object_id": 1,
      "transaction": {
        "pk": 1,
        "transaction_type": "purchase",
        "transaction_id": "text",
        "auth_code": "text",
        "pos": "text",
        "main_pos": "text",
        "order": 1,
        "currency": "try",
        "user_email": "text",
        "raw_request": "text",
        "raw_response": "text",
        "is_succeeded": true,
        "amount": 1,
        "remote_addr": "text",
        "is_async_payment": true,
        "transaction_response_status": "approved",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "customer": {
        "pk": 123,
        "email": "example@domain.com",
        "first_name": "John",
        "last_name": "Doe",
        "phone_number": "+123456789",
        "is_active": true,
        "channel_code": "CH123",
        "erp_code": "ERP456",
        "attributes": {
          "logged_ip": "127.0.0.1",
          "register_client_type": "default"
        },
        "attribute_kwargs": {},
        "localized_attributes": {},
        "localized_attribute_kwargs": {},
        "extra_field": {
          "key1": "value1",
          "key2": 100
        },
        "email_allowed": true,
        "sms_allowed": false,
        "call_allowed": true,
        "date_joined": "2023-01-15T10:30:00Z",
        "gender": "female",
        "user_type": "guest",
        "date_of_birth": "1985-08-25",
        "channel": 5
      },
      "related_ordertransaction": {
        "pk": 1,
        "uuid": "123e4567-e89b-12d3-a456-426614174000",
        "payment_option": {
          "id": 1,
          "name": "text",
          "slug": "text",
          "payment_type": "credit_card",
          "sort_order": 0,
          "config": {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          },
          "is_active": true,
          "channel": {
            "id": 1,
            "name": "Commerce Channel",
            "catalog": 1,
            "channel_type": "web",
            "conf": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "category_tree": "text",
            "is_active": true,
            "schema": {},
            "created_date": "2024-11-20T11:22:23.702774Z",
            "modified_date": "2024-11-20T11:22:23.702774Z"
          },
          "translations": {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        },
        "amount": 1,
        "transaction_type": "purchase",
        "order": {
          "pk": 1,
          "number": "ORDER12345",
          "channel": 1,
          "customer": 1,
          "date_placed": "2024-11-20T11:22:23.702774Z",
          "extra_field": {
            "special_note": "Handle with care"
          },
          "payment_option": 1,
          "payment_option_slug": "credit-card",
          "bin_number": "123456",
          "installment": 1,
          "installment_count": 6,
          "installment_interest_amount": 50,
          "cargo_company": 1,
          "is_send": false,
          "delivery_type": "next_day",
          "cancellation_info": {
            "reason": "Customer requested cancellation"
          },
          "cancel_status": "cancelled",
          "shipping_interest_amount": 10,
          "external_status": 1,
          "client_type": "default",
          "carrier_shipping_code": "TRACK12345",
          "segment": "premium",
          "checkout_provider_id": 12345,
          "status": 200,
          "currency": "try",
          "amount": 1000,
          "discount_amount": 50,
          "shipping_amount": 20,
          "shipping_tax_rate": 18,
          "refund_amount": 100,
          "discount_refund_amount": 10,
          "shipping_refund_amount": 5,
          "invoice_number": "INV123456",
          "invoice_date": "2024-11-21T11:22:23.702774Z",
          "e_archive_url": "https://earchive.example.com/invoice/123",
          "tracking_number": "TRACK12345",
          "defined_tracking_url": "https://tracking.example.com/track/123",
          "shipping_company": "yurtici",
          "remote_addr": "192.168.0.1",
          "has_gift_box": false,
          "gift_box_note": "Happy Birthday!",
          "language_code": "en",
          "notes": "Leave at the front door.",
          "delivery_range": {
            "start": "2026-01-01T00:00:00.000Z",
            "end": "2026-01-01T00:00:00.000Z"
          },
          "shipping_option_slug": "standard-shipping",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "transaction_content_type": {
          "id": 1,
          "app_label": "text",
          "model": "text"
        },
        "transaction_object_id": 1,
        "transaction": {
          "pk": 1,
          "transaction_type": "purchase",
          "transaction_id": "text",
          "auth_code": "text",
          "pos": "text",
          "main_pos": "text",
          "order": 1,
          "currency": "try",
          "user_email": "text",
          "raw_request": "text",
          "raw_response": "text",
          "is_succeeded": true,
          "amount": 1,
          "remote_addr": "text",
          "is_async_payment": true,
          "transaction_response_status": "approved",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "customer": {
          "pk": 123,
          "email": "example@domain.com",
          "first_name": "John",
          "last_name": "Doe",
          "phone_number": "+123456789",
          "is_active": true,
          "channel_code": "CH123",
          "erp_code": "ERP456",
          "attributes": {
            "logged_ip": "127.0.0.1",
            "register_client_type": "default"
          },
          "attribute_kwargs": {},
          "localized_attributes": {},
          "localized_attribute_kwargs": {},
          "extra_field": {
            "key1": "value1",
            "key2": 100
          },
          "email_allowed": true,
          "sms_allowed": false,
          "call_allowed": true,
          "date_joined": "2023-01-15T10:30:00Z",
          "gender": "female",
          "user_type": "guest",
          "date_of_birth": "1985-08-25",
          "channel": 5
        },
        "related_ordertransaction": {
          "pk": 1,
          "uuid": "123e4567-e89b-12d3-a456-426614174000",
          "payment_option": {
            "id": 1,
            "name": "text",
            "slug": "text",
            "payment_type": "credit_card",
            "sort_order": 0,
            "config": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            },
            "is_active": true,
            "channel": {
              "id": 1,
              "name": "Commerce Channel",
              "catalog": 1,
              "channel_type": "web",
              "conf": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "category_tree": "text",
              "is_active": true,
              "schema": {},
              "created_date": "2024-11-20T11:22:23.702774Z",
              "modified_date": "2024-11-20T11:22:23.702774Z"
            },
            "translations": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            }
          },
          "amount": 1,
          "transaction_type": "purchase",
          "order": {
            "pk": 1,
            "number": "ORDER12345",
            "channel": 1,
            "customer": 1,
            "date_placed": "2024-11-20T11:22:23.702774Z",
            "extra_field": {
              "special_note": "Handle with care"
            },
            "payment_option": 1,
            "payment_option_slug": "credit-card",
            "bin_number": "123456",
            "installment": 1,
            "installment_count": 6,
            "installment_interest_amount": 50,
            "cargo_company": 1,
            "is_send": false,
            "delivery_type": "next_day",
            "cancellation_info": {
              "reason": "Customer requested cancellation"
            },
            "cancel_status": "cancelled",
            "shipping_interest_amount": 10,
            "external_status": 1,
            "client_type": "default",
            "carrier_shipping_code": "TRACK12345",
            "segment": "premium",
            "checkout_provider_id": 12345,
            "status": 200,
            "currency": "try",
            "amount": 1000,
            "discount_amount": 50,
            "shipping_amount": 20,
            "shipping_tax_rate": 18,
            "refund_amount": 100,
            "discount_refund_amount": 10,
            "shipping_refund_amount": 5,
            "invoice_number": "INV123456",
            "invoice_date": "2024-11-21T11:22:23.702774Z",
            "e_archive_url": "https://earchive.example.com/invoice/123",
            "tracking_number": "TRACK12345",
            "defined_tracking_url": "https://tracking.example.com/track/123",
            "shipping_company": "yurtici",
            "remote_addr": "192.168.0.1",
            "has_gift_box": false,
            "gift_box_note": "Happy Birthday!",
            "language_code": "en",
            "notes": "Leave at the front door.",
            "delivery_range": {
              "start": "2026-01-01T00:00:00.000Z",
              "end": "2026-01-01T00:00:00.000Z"
            },
            "shipping_option_slug": "standard-shipping",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "transaction_content_type": {
            "id": 1,
            "app_label": "text",
            "model": "text"
          },
          "transaction_object_id": 1,
          "transaction": {
            "pk": 1,
            "transaction_type": "purchase",
            "transaction_id": "text",
            "auth_code": "text",
            "pos": "text",
            "main_pos": "text",
            "order": 1,
            "currency": "try",
            "user_email": "text",
            "raw_request": "text",
            "raw_response": "text",
            "is_succeeded": true,
            "amount": 1,
            "remote_addr": "text",
            "is_async_payment": true,
            "transaction_response_status": "approved",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "customer": {
            "pk": 123,
            "email": "example@domain.com",
            "first_name": "John",
            "last_name": "Doe",
            "phone_number": "+123456789",
            "is_active": true,
            "channel_code": "CH123",
            "erp_code": "ERP456",
            "attributes": {
              "logged_ip": "127.0.0.1",
              "register_client_type": "default"
            },
            "attribute_kwargs": {},
            "localized_attributes": {},
            "localized_attribute_kwargs": {},
            "extra_field": {
              "key1": "value1",
              "key2": 100
            },
            "email_allowed": true,
            "sms_allowed": false,
            "call_allowed": true,
            "date_joined": "2023-01-15T10:30:00Z",
            "gender": "female",
            "user_type": "guest",
            "date_of_birth": "1985-08-25",
            "channel": 5
          },
          "related_ordertransaction": {
            "pk": 1,
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "payment_option": {
              "id": 1,
              "name": "text",
              "slug": "text",
              "payment_type": "credit_card",
              "sort_order": 0,
              "config": {
                "ANY_ADDITIONAL_PROPERTY": "anything"
              },
              "is_active": true,
              "channel": {
                "id": 1,
                "name": "Commerce Channel",
                "catalog": 1,
                "channel_type": "web",
                "conf": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "category_tree": "text",
                "is_active": true,
                "schema": {},
                "created_date": "2024-11-20T11:22:23.702774Z",
                "modified_date": "2024-11-20T11:22:23.702774Z"
              },
              "translations": {
                "ANY_ADDITIONAL_PROPERTY": "anything"
              }
            },
            "amount": 1,
            "transaction_type": "purchase",
            "order": {
              "pk": 1,
              "number": "ORDER12345",
              "channel": 1,
              "customer": 1,
              "date_placed": "2024-11-20T11:22:23.702774Z",
              "extra_field": {
                "special_note": "Handle with care"
              },
              "payment_option": 1,
              "payment_option_slug": "credit-card",
              "bin_number": "123456",
              "installment": 1,
              "installment_count": 6,
              "installment_interest_amount": 50,
              "cargo_company": 1,
              "is_send": false,
              "delivery_type": "next_day",
              "cancellation_info": {
                "reason": "Customer requested cancellation"
              },
              "cancel_status": "cancelled",
              "shipping_interest_amount": 10,
              "external_status": 1,
              "client_type": "default",
              "carrier_shipping_code": "TRACK12345",
              "segment": "premium",
              "checkout_provider_id": 12345,
              "status": 200,
              "currency": "try",
              "amount": 1000,
              "discount_amount": 50,
              "shipping_amount": 20,
              "shipping_tax_rate": 18,
              "refund_amount": 100,
              "discount_refund_amount": 10,
              "shipping_refund_amount": 5,
              "invoice_number": "INV123456",
              "invoice_date": "2024-11-21T11:22:23.702774Z",
              "e_archive_url": "https://earchive.example.com/invoice/123",
              "tracking_number": "TRACK12345",
              "defined_tracking_url": "https://tracking.example.com/track/123",
              "shipping_company": "yurtici",
              "remote_addr": "192.168.0.1",
              "has_gift_box": false,
              "gift_box_note": "Happy Birthday!",
              "language_code": "en",
              "notes": "Leave at the front door.",
              "delivery_range": {
                "start": "2026-01-01T00:00:00.000Z",
                "end": "2026-01-01T00:00:00.000Z"
              },
              "shipping_option_slug": "standard-shipping",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "transaction_content_type": {
              "id": 1,
              "app_label": "text",
              "model": "text"
            },
            "transaction_object_id": 1,
            "transaction": {
              "pk": 1,
              "transaction_type": "purchase",
              "transaction_id": "text",
              "auth_code": "text",
              "pos": "text",
              "main_pos": "text",
              "order": 1,
              "currency": "try",
              "user_email": "text",
              "raw_request": "text",
              "raw_response": "text",
              "is_succeeded": true,
              "amount": 1,
              "remote_addr": "text",
              "is_async_payment": true,
              "transaction_response_status": "approved",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "customer": {
              "pk": 123,
              "email": "example@domain.com",
              "first_name": "John",
              "last_name": "Doe",
              "phone_number": "+123456789",
              "is_active": true,
              "channel_code": "CH123",
              "erp_code": "ERP456",
              "attributes": {
                "logged_ip": "127.0.0.1",
                "register_client_type": "default"
              },
              "attribute_kwargs": {},
              "localized_attributes": {},
              "localized_attribute_kwargs": {},
              "extra_field": {
                "key1": "value1",
                "key2": 100
              },
              "email_allowed": true,
              "sms_allowed": false,
              "call_allowed": true,
              "date_joined": "2023-01-15T10:30:00Z",
              "gender": "female",
              "user_type": "guest",
              "date_of_birth": "1985-08-25",
              "channel": 5
            },
            "related_ordertransaction": "[Circular Reference]",
            "related_cancellation_plan": {
              "pk": 1,
              "order": {
                "pk": 1,
                "number": "ORDER12345",
                "channel": 1,
                "customer": 1,
                "date_placed": "2024-11-20T11:22:23.702774Z",
                "extra_field": {
                  "special_note": "Handle with care"
                },
                "payment_option": 1,
                "payment_option_slug": "credit-card",
                "bin_number": "123456",
                "installment": 1,
                "installment_count": 6,
                "installment_interest_amount": 50,
                "cargo_company": 1,
                "is_send": false,
                "delivery_type": "next_day",
                "cancellation_info": {
                  "reason": "Customer requested cancellation"
                },
                "cancel_status": "cancelled",
                "shipping_interest_amount": 10,
                "external_status": 1,
                "client_type": "default",
                "carrier_shipping_code": "TRACK12345",
                "segment": "premium",
                "checkout_provider_id": 12345,
                "status": 200,
                "currency": "try",
                "amount": 1000,
                "discount_amount": 50,
                "shipping_amount": 20,
                "shipping_tax_rate": 18,
                "refund_amount": 100,
                "discount_refund_amount": 10,
                "shipping_refund_amount": 5,
                "invoice_number": "INV123456",
                "invoice_date": "2024-11-21T11:22:23.702774Z",
                "e_archive_url": "https://earchive.example.com/invoice/123",
                "tracking_number": "TRACK12345",
                "defined_tracking_url": "https://tracking.example.com/track/123",
                "shipping_company": "yurtici",
                "remote_addr": "192.168.0.1",
                "has_gift_box": false,
                "gift_box_note": "Happy Birthday!",
                "language_code": "en",
                "notes": "Leave at the front door.",
                "delivery_range": {
                  "start": "2026-01-01T00:00:00.000Z",
                  "end": "2026-01-01T00:00:00.000Z"
                },
                "shipping_option_slug": "standard-shipping",
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "invoice_number": "text",
              "order_previous_status": "cancellation_waiting",
              "shipping_refund_amount": 5,
              "status": "waiting",
              "retail_store_remote_id": "123456",
              "refund_amount": 10,
              "discount_refund_amount": 2,
              "plan_type": "cancel",
              "cancellationplanorderitem_set": [
                {
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                }
              ],
              "staff_remote_id": "654321",
              "created_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "last_updated_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "payment_plan": {},
              "modified_by_id": 1,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "refund_payment_plan": {
              "pk": 1,
              "cancellation_plan": {
                "pk": 1,
                "order": {
                  "pk": 1,
                  "number": "ORDER12345",
                  "channel": 1,
                  "customer": 1,
                  "date_placed": "2024-11-20T11:22:23.702774Z",
                  "extra_field": {
                    "special_note": "Handle with care"
                  },
                  "payment_option": 1,
                  "payment_option_slug": "credit-card",
                  "bin_number": "123456",
                  "installment": 1,
                  "installment_count": 6,
                  "installment_interest_amount": 50,
                  "cargo_company": 1,
                  "is_send": false,
                  "delivery_type": "next_day",
                  "cancellation_info": {
                    "reason": "Customer requested cancellation"
                  },
                  "cancel_status": "cancelled",
                  "shipping_interest_amount": 10,
                  "external_status": 1,
                  "client_type": "default",
                  "carrier_shipping_code": "TRACK12345",
                  "segment": "premium",
                  "checkout_provider_id": 12345,
                  "status": 200,
                  "currency": "try",
                  "amount": 1000,
                  "discount_amount": 50,
                  "shipping_amount": 20,
                  "shipping_tax_rate": 18,
                  "refund_amount": 100,
                  "discount_refund_amount": 10,
                  "shipping_refund_amount": 5,
                  "invoice_number": "INV123456",
                  "invoice_date": "2024-11-21T11:22:23.702774Z",
                  "e_archive_url": "https://earchive.example.com/invoice/123",
                  "tracking_number": "TRACK12345",
                  "defined_tracking_url": "https://tracking.example.com/track/123",
                  "shipping_company": "yurtici",
                  "remote_addr": "192.168.0.1",
                  "has_gift_box": false,
                  "gift_box_note": "Happy Birthday!",
                  "language_code": "en",
                  "notes": "Leave at the front door.",
                  "delivery_range": {
                    "start": "2026-01-01T00:00:00.000Z",
                    "end": "2026-01-01T00:00:00.000Z"
                  },
                  "shipping_option_slug": "standard-shipping",
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                },
                "invoice_number": "text",
                "order_previous_status": "cancellation_waiting",
                "shipping_refund_amount": 5,
                "status": "waiting",
                "retail_store_remote_id": "123456",
                "refund_amount": 10,
                "discount_refund_amount": 2,
                "plan_type": "cancel",
                "cancellationplanorderitem_set": [
                  {
                    "created_date": "2026-01-01T00:00:00.000Z",
                    "modified_date": "2026-01-01T00:00:00.000Z"
                  }
                ],
                "staff_remote_id": "654321",
                "created_by": {
                  "pk": 1,
                  "username": "johndoe",
                  "first_name": "John",
                  "last_name": "Doe",
                  "email": "johndoe@test.com",
                  "is_active": true,
                  "is_staff": false,
                  "is_superuser": false,
                  "date_joined": "2023-10-01T12:00:00Z",
                  "last_login": "2023-10-01T12:00:00Z",
                  "groups": [
                    1
                  ],
                  "can_read_sensitive_data": false,
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                },
                "last_updated_by": {
                  "pk": 1,
                  "username": "johndoe",
                  "first_name": "John",
                  "last_name": "Doe",
                  "email": "johndoe@test.com",
                  "is_active": true,
                  "is_staff": false,
                  "is_superuser": false,
                  "date_joined": "2023-10-01T12:00:00Z",
                  "last_login": "2023-10-01T12:00:00Z",
                  "groups": [
                    1
                  ],
                  "can_read_sensitive_data": false,
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                },
                "payment_plan": {},
                "modified_by_id": 1,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "transaction_type": "cancelled",
              "refund_amount": 1,
              "retry_count": 1,
              "status": "pending",
              "modified_date": "2026-01-01T00:00:00.000Z",
              "created_date": "2026-01-01T00:00:00.000Z"
            },
            "mapping": {
              "pk": 1,
              "content_type": 1,
              "object_id": 1,
              "content_object": {},
              "integration_type": "hepsiburada",
              "code": "text",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "integration": {
              "integration": [
                {
                  "channel": {
                    "id": 1,
                    "name": "Commerce Channel",
                    "catalog": 1,
                    "channel_type": "web",
                    "conf": {
                      "ANY_ADDITIONAL_PROPERTY": "text"
                    },
                    "category_tree": "text",
                    "is_active": true,
                    "schema": {},
                    "created_date": "2024-11-20T11:22:23.702774Z",
                    "modified_date": "2024-11-20T11:22:23.702774Z"
                  },
                  "content_type": {
                    "id": 1,
                    "app_label": "text",
                    "model": "text"
                  },
                  "object_id": 1,
                  "remote_id": "text",
                  "version_date": "2026-01-01T00:00:00.000Z",
                  "state": {},
                  "local_batch_id": "text",
                  "status": "processing",
                  "content_object": {}
                }
              ]
            },
            "modified_date": "2026-01-01T00:00:00.000Z",
            "created_date": "2026-01-01T00:00:00.000Z"
          },
          "related_cancellation_plan": {
            "pk": 1,
            "order": {
              "pk": 1,
              "number": "ORDER12345",
              "channel": 1,
              "customer": 1,
              "date_placed": "2024-11-20T11:22:23.702774Z",
              "extra_field": {
                "special_note": "Handle with care"
              },
              "payment_option": 1,
              "payment_option_slug": "credit-card",
              "bin_number": "123456",
              "installment": 1,
              "installment_count": 6,
              "installment_interest_amount": 50,
              "cargo_company": 1,
              "is_send": false,
              "delivery_type": "next_day",
              "cancellation_info": {
                "reason": "Customer requested cancellation"
              },
              "cancel_status": "cancelled",
              "shipping_interest_amount": 10,
              "external_status": 1,
              "client_type": "default",
              "carrier_shipping_code": "TRACK12345",
              "segment": "premium",
              "checkout_provider_id": 12345,
              "status": 200,
              "currency": "try",
              "amount": 1000,
              "discount_amount": 50,
              "shipping_amount": 20,
              "shipping_tax_rate": 18,
              "refund_amount": 100,
              "discount_refund_amount": 10,
              "shipping_refund_amount": 5,
              "invoice_number": "INV123456",
              "invoice_date": "2024-11-21T11:22:23.702774Z",
              "e_archive_url": "https://earchive.example.com/invoice/123",
              "tracking_number": "TRACK12345",
              "defined_tracking_url": "https://tracking.example.com/track/123",
              "shipping_company": "yurtici",
              "remote_addr": "192.168.0.1",
              "has_gift_box": false,
              "gift_box_note": "Happy Birthday!",
              "language_code": "en",
              "notes": "Leave at the front door.",
              "delivery_range": {
                "start": "2026-01-01T00:00:00.000Z",
                "end": "2026-01-01T00:00:00.000Z"
              },
              "shipping_option_slug": "standard-shipping",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "invoice_number": "text",
            "order_previous_status": "cancellation_waiting",
            "shipping_refund_amount": 5,
            "status": "waiting",
            "retail_store_remote_id": "123456",
            "refund_amount": 10,
            "discount_refund_amount": 2,
            "plan_type": "cancel",
            "cancellationplanorderitem_set": [
              {
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              }
            ],
            "staff_remote_id": "654321",
            "created_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "last_updated_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "payment_plan": {},
            "modified_by_id": 1,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "refund_payment_plan": {
            "pk": 1,
            "cancellation_plan": {
              "pk": 1,
              "order": {
                "pk": 1,
                "number": "ORDER12345",
                "channel": 1,
                "customer": 1,
                "date_placed": "2024-11-20T11:22:23.702774Z",
                "extra_field": {
                  "special_note": "Handle with care"
                },
                "payment_option": 1,
                "payment_option_slug": "credit-card",
                "bin_number": "123456",
                "installment": 1,
                "installment_count": 6,
                "installment_interest_amount": 50,
                "cargo_company": 1,
                "is_send": false,
                "delivery_type": "next_day",
                "cancellation_info": {
                  "reason": "Customer requested cancellation"
                },
                "cancel_status": "cancelled",
                "shipping_interest_amount": 10,
                "external_status": 1,
                "client_type": "default",
                "carrier_shipping_code": "TRACK12345",
                "segment": "premium",
                "checkout_provider_id": 12345,
                "status": 200,
                "currency": "try",
                "amount": 1000,
                "discount_amount": 50,
                "shipping_amount": 20,
                "shipping_tax_rate": 18,
                "refund_amount": 100,
                "discount_refund_amount": 10,
                "shipping_refund_amount": 5,
                "invoice_number": "INV123456",
                "invoice_date": "2024-11-21T11:22:23.702774Z",
                "e_archive_url": "https://earchive.example.com/invoice/123",
                "tracking_number": "TRACK12345",
                "defined_tracking_url": "https://tracking.example.com/track/123",
                "shipping_company": "yurtici",
                "remote_addr": "192.168.0.1",
                "has_gift_box": false,
                "gift_box_note": "Happy Birthday!",
                "language_code": "en",
                "notes": "Leave at the front door.",
                "delivery_range": {
                  "start": "2026-01-01T00:00:00.000Z",
                  "end": "2026-01-01T00:00:00.000Z"
                },
                "shipping_option_slug": "standard-shipping",
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "invoice_number": "text",
              "order_previous_status": "cancellation_waiting",
              "shipping_refund_amount": 5,
              "status": "waiting",
              "retail_store_remote_id": "123456",
              "refund_amount": 10,
              "discount_refund_amount": 2,
              "plan_type": "cancel",
              "cancellationplanorderitem_set": [
                {
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                }
              ],
              "staff_remote_id": "654321",
              "created_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "last_updated_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "payment_plan": {},
              "modified_by_id": 1,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "transaction_type": "cancelled",
            "refund_amount": 1,
            "retry_count": 1,
            "status": "pending",
            "modified_date": "2026-01-01T00:00:00.000Z",
            "created_date": "2026-01-01T00:00:00.000Z"
          },
          "mapping": {
            "pk": 1,
            "content_type": 1,
            "object_id": 1,
            "content_object": {},
            "integration_type": "hepsiburada",
            "code": "text",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "integration": {
            "integration": [
              {
                "channel": {
                  "id": 1,
                  "name": "Commerce Channel",
                  "catalog": 1,
                  "channel_type": "web",
                  "conf": {
                    "ANY_ADDITIONAL_PROPERTY": "text"
                  },
                  "category_tree": "text",
                  "is_active": true,
                  "schema": {},
                  "created_date": "2024-11-20T11:22:23.702774Z",
                  "modified_date": "2024-11-20T11:22:23.702774Z"
                },
                "content_type": {
                  "id": 1,
                  "app_label": "text",
                  "model": "text"
                },
                "object_id": 1,
                "remote_id": "text",
                "version_date": "2026-01-01T00:00:00.000Z",
                "state": {},
                "local_batch_id": "text",
                "status": "processing",
                "content_object": {}
              }
            ]
          },
          "modified_date": "2026-01-01T00:00:00.000Z",
          "created_date": "2026-01-01T00:00:00.000Z"
        },
        "related_cancellation_plan": {
          "pk": 1,
          "order": {
            "pk": 1,
            "number": "ORDER12345",
            "channel": 1,
            "customer": 1,
            "date_placed": "2024-11-20T11:22:23.702774Z",
            "extra_field": {
              "special_note": "Handle with care"
            },
            "payment_option": 1,
            "payment_option_slug": "credit-card",
            "bin_number": "123456",
            "installment": 1,
            "installment_count": 6,
            "installment_interest_amount": 50,
            "cargo_company": 1,
            "is_send": false,
            "delivery_type": "next_day",
            "cancellation_info": {
              "reason": "Customer requested cancellation"
            },
            "cancel_status": "cancelled",
            "shipping_interest_amount": 10,
            "external_status": 1,
            "client_type": "default",
            "carrier_shipping_code": "TRACK12345",
            "segment": "premium",
            "checkout_provider_id": 12345,
            "status": 200,
            "currency": "try",
            "amount": 1000,
            "discount_amount": 50,
            "shipping_amount": 20,
            "shipping_tax_rate": 18,
            "refund_amount": 100,
            "discount_refund_amount": 10,
            "shipping_refund_amount": 5,
            "invoice_number": "INV123456",
            "invoice_date": "2024-11-21T11:22:23.702774Z",
            "e_archive_url": "https://earchive.example.com/invoice/123",
            "tracking_number": "TRACK12345",
            "defined_tracking_url": "https://tracking.example.com/track/123",
            "shipping_company": "yurtici",
            "remote_addr": "192.168.0.1",
            "has_gift_box": false,
            "gift_box_note": "Happy Birthday!",
            "language_code": "en",
            "notes": "Leave at the front door.",
            "delivery_range": {
              "start": "2026-01-01T00:00:00.000Z",
              "end": "2026-01-01T00:00:00.000Z"
            },
            "shipping_option_slug": "standard-shipping",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "invoice_number": "text",
          "order_previous_status": "cancellation_waiting",
          "shipping_refund_amount": 5,
          "status": "waiting",
          "retail_store_remote_id": "123456",
          "refund_amount": 10,
          "discount_refund_amount": 2,
          "plan_type": "cancel",
          "cancellationplanorderitem_set": [
            {
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            }
          ],
          "staff_remote_id": "654321",
          "created_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "last_updated_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "payment_plan": {},
          "modified_by_id": 1,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "refund_payment_plan": {
          "pk": 1,
          "cancellation_plan": {
            "pk": 1,
            "order": {
              "pk": 1,
              "number": "ORDER12345",
              "channel": 1,
              "customer": 1,
              "date_placed": "2024-11-20T11:22:23.702774Z",
              "extra_field": {
                "special_note": "Handle with care"
              },
              "payment_option": 1,
              "payment_option_slug": "credit-card",
              "bin_number": "123456",
              "installment": 1,
              "installment_count": 6,
              "installment_interest_amount": 50,
              "cargo_company": 1,
              "is_send": false,
              "delivery_type": "next_day",
              "cancellation_info": {
                "reason": "Customer requested cancellation"
              },
              "cancel_status": "cancelled",
              "shipping_interest_amount": 10,
              "external_status": 1,
              "client_type": "default",
              "carrier_shipping_code": "TRACK12345",
              "segment": "premium",
              "checkout_provider_id": 12345,
              "status": 200,
              "currency": "try",
              "amount": 1000,
              "discount_amount": 50,
              "shipping_amount": 20,
              "shipping_tax_rate": 18,
              "refund_amount": 100,
              "discount_refund_amount": 10,
              "shipping_refund_amount": 5,
              "invoice_number": "INV123456",
              "invoice_date": "2024-11-21T11:22:23.702774Z",
              "e_archive_url": "https://earchive.example.com/invoice/123",
              "tracking_number": "TRACK12345",
              "defined_tracking_url": "https://tracking.example.com/track/123",
              "shipping_company": "yurtici",
              "remote_addr": "192.168.0.1",
              "has_gift_box": false,
              "gift_box_note": "Happy Birthday!",
              "language_code": "en",
              "notes": "Leave at the front door.",
              "delivery_range": {
                "start": "2026-01-01T00:00:00.000Z",
                "end": "2026-01-01T00:00:00.000Z"
              },
              "shipping_option_slug": "standard-shipping",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "invoice_number": "text",
            "order_previous_status": "cancellation_waiting",
            "shipping_refund_amount": 5,
            "status": "waiting",
            "retail_store_remote_id": "123456",
            "refund_amount": 10,
            "discount_refund_amount": 2,
            "plan_type": "cancel",
            "cancellationplanorderitem_set": [
              {
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              }
            ],
            "staff_remote_id": "654321",
            "created_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "last_updated_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "payment_plan": {},
            "modified_by_id": 1,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "transaction_type": "cancelled",
          "refund_amount": 1,
          "retry_count": 1,
          "status": "pending",
          "modified_date": "2026-01-01T00:00:00.000Z",
          "created_date": "2026-01-01T00:00:00.000Z"
        },
        "mapping": {
          "pk": 1,
          "content_type": 1,
          "object_id": 1,
          "content_object": {},
          "integration_type": "hepsiburada",
          "code": "text",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "integration": {
          "integration": [
            {
              "channel": {
                "id": 1,
                "name": "Commerce Channel",
                "catalog": 1,
                "channel_type": "web",
                "conf": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "category_tree": "text",
                "is_active": true,
                "schema": {},
                "created_date": "2024-11-20T11:22:23.702774Z",
                "modified_date": "2024-11-20T11:22:23.702774Z"
              },
              "content_type": {
                "id": 1,
                "app_label": "text",
                "model": "text"
              },
              "object_id": 1,
              "remote_id": "text",
              "version_date": "2026-01-01T00:00:00.000Z",
              "state": {},
              "local_batch_id": "text",
              "status": "processing",
              "content_object": {}
            }
          ]
        },
        "modified_date": "2026-01-01T00:00:00.000Z",
        "created_date": "2026-01-01T00:00:00.000Z"
      },
      "related_cancellation_plan": {
        "pk": 1,
        "order": {
          "pk": 1,
          "number": "ORDER12345",
          "channel": 1,
          "customer": 1,
          "date_placed": "2024-11-20T11:22:23.702774Z",
          "extra_field": {
            "special_note": "Handle with care"
          },
          "payment_option": 1,
          "payment_option_slug": "credit-card",
          "bin_number": "123456",
          "installment": 1,
          "installment_count": 6,
          "installment_interest_amount": 50,
          "cargo_company": 1,
          "is_send": false,
          "delivery_type": "next_day",
          "cancellation_info": {
            "reason": "Customer requested cancellation"
          },
          "cancel_status": "cancelled",
          "shipping_interest_amount": 10,
          "external_status": 1,
          "client_type": "default",
          "carrier_shipping_code": "TRACK12345",
          "segment": "premium",
          "checkout_provider_id": 12345,
          "status": 200,
          "currency": "try",
          "amount": 1000,
          "discount_amount": 50,
          "shipping_amount": 20,
          "shipping_tax_rate": 18,
          "refund_amount": 100,
          "discount_refund_amount": 10,
          "shipping_refund_amount": 5,
          "invoice_number": "INV123456",
          "invoice_date": "2024-11-21T11:22:23.702774Z",
          "e_archive_url": "https://earchive.example.com/invoice/123",
          "tracking_number": "TRACK12345",
          "defined_tracking_url": "https://tracking.example.com/track/123",
          "shipping_company": "yurtici",
          "remote_addr": "192.168.0.1",
          "has_gift_box": false,
          "gift_box_note": "Happy Birthday!",
          "language_code": "en",
          "notes": "Leave at the front door.",
          "delivery_range": {
            "start": "2026-01-01T00:00:00.000Z",
            "end": "2026-01-01T00:00:00.000Z"
          },
          "shipping_option_slug": "standard-shipping",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "invoice_number": "text",
        "order_previous_status": "cancellation_waiting",
        "shipping_refund_amount": 5,
        "status": "waiting",
        "retail_store_remote_id": "123456",
        "refund_amount": 10,
        "discount_refund_amount": 2,
        "plan_type": "cancel",
        "cancellationplanorderitem_set": [
          {
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          }
        ],
        "staff_remote_id": "654321",
        "created_by": {
          "pk": 1,
          "username": "johndoe",
          "first_name": "John",
          "last_name": "Doe",
          "email": "johndoe@test.com",
          "is_active": true,
          "is_staff": false,
          "is_superuser": false,
          "date_joined": "2023-10-01T12:00:00Z",
          "last_login": "2023-10-01T12:00:00Z",
          "groups": [
            1
          ],
          "can_read_sensitive_data": false,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "last_updated_by": {
          "pk": 1,
          "username": "johndoe",
          "first_name": "John",
          "last_name": "Doe",
          "email": "johndoe@test.com",
          "is_active": true,
          "is_staff": false,
          "is_superuser": false,
          "date_joined": "2023-10-01T12:00:00Z",
          "last_login": "2023-10-01T12:00:00Z",
          "groups": [
            1
          ],
          "can_read_sensitive_data": false,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "payment_plan": {},
        "modified_by_id": 1,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "refund_payment_plan": {
        "pk": 1,
        "cancellation_plan": {
          "pk": 1,
          "order": {
            "pk": 1,
            "number": "ORDER12345",
            "channel": 1,
            "customer": 1,
            "date_placed": "2024-11-20T11:22:23.702774Z",
            "extra_field": {
              "special_note": "Handle with care"
            },
            "payment_option": 1,
            "payment_option_slug": "credit-card",
            "bin_number": "123456",
            "installment": 1,
            "installment_count": 6,
            "installment_interest_amount": 50,
            "cargo_company": 1,
            "is_send": false,
            "delivery_type": "next_day",
            "cancellation_info": {
              "reason": "Customer requested cancellation"
            },
            "cancel_status": "cancelled",
            "shipping_interest_amount": 10,
            "external_status": 1,
            "client_type": "default",
            "carrier_shipping_code": "TRACK12345",
            "segment": "premium",
            "checkout_provider_id": 12345,
            "status": 200,
            "currency": "try",
            "amount": 1000,
            "discount_amount": 50,
            "shipping_amount": 20,
            "shipping_tax_rate": 18,
            "refund_amount": 100,
            "discount_refund_amount": 10,
            "shipping_refund_amount": 5,
            "invoice_number": "INV123456",
            "invoice_date": "2024-11-21T11:22:23.702774Z",
            "e_archive_url": "https://earchive.example.com/invoice/123",
            "tracking_number": "TRACK12345",
            "defined_tracking_url": "https://tracking.example.com/track/123",
            "shipping_company": "yurtici",
            "remote_addr": "192.168.0.1",
            "has_gift_box": false,
            "gift_box_note": "Happy Birthday!",
            "language_code": "en",
            "notes": "Leave at the front door.",
            "delivery_range": {
              "start": "2026-01-01T00:00:00.000Z",
              "end": "2026-01-01T00:00:00.000Z"
            },
            "shipping_option_slug": "standard-shipping",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "invoice_number": "text",
          "order_previous_status": "cancellation_waiting",
          "shipping_refund_amount": 5,
          "status": "waiting",
          "retail_store_remote_id": "123456",
          "refund_amount": 10,
          "discount_refund_amount": 2,
          "plan_type": "cancel",
          "cancellationplanorderitem_set": [
            {
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            }
          ],
          "staff_remote_id": "654321",
          "created_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "last_updated_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "payment_plan": {},
          "modified_by_id": 1,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "transaction_type": "cancelled",
        "refund_amount": 1,
        "retry_count": 1,
        "status": "pending",
        "modified_date": "2026-01-01T00:00:00.000Z",
        "created_date": "2026-01-01T00:00:00.000Z"
      },
      "mapping": {
        "pk": 1,
        "content_type": 1,
        "object_id": 1,
        "content_object": {},
        "integration_type": "hepsiburada",
        "code": "text",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "integration": {
        "integration": [
          {
            "channel": {
              "id": 1,
              "name": "Commerce Channel",
              "catalog": 1,
              "channel_type": "web",
              "conf": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "category_tree": "text",
              "is_active": true,
              "schema": {},
              "created_date": "2024-11-20T11:22:23.702774Z",
              "modified_date": "2024-11-20T11:22:23.702774Z"
            },
            "content_type": {
              "id": 1,
              "app_label": "text",
              "model": "text"
            },
            "object_id": 1,
            "remote_id": "text",
            "version_date": "2026-01-01T00:00:00.000Z",
            "state": {},
            "local_batch_id": "text",
            "status": "processing",
            "content_object": {}
          }
        ]
      },
      "modified_date": "2026-01-01T00:00:00.000Z",
      "created_date": "2026-01-01T00:00:00.000Z"
    },
    "related_cancellation_plan": {
      "pk": 1,
      "order": {
        "pk": 1,
        "number": "ORDER12345",
        "channel": 1,
        "customer": 1,
        "date_placed": "2024-11-20T11:22:23.702774Z",
        "extra_field": {
          "special_note": "Handle with care"
        },
        "payment_option": 1,
        "payment_option_slug": "credit-card",
        "bin_number": "123456",
        "installment": 1,
        "installment_count": 6,
        "installment_interest_amount": 50,
        "cargo_company": 1,
        "is_send": false,
        "delivery_type": "next_day",
        "cancellation_info": {
          "reason": "Customer requested cancellation"
        },
        "cancel_status": "cancelled",
        "shipping_interest_amount": 10,
        "external_status": 1,
        "client_type": "default",
        "carrier_shipping_code": "TRACK12345",
        "segment": "premium",
        "checkout_provider_id": 12345,
        "status": 200,
        "currency": "try",
        "amount": 1000,
        "discount_amount": 50,
        "shipping_amount": 20,
        "shipping_tax_rate": 18,
        "refund_amount": 100,
        "discount_refund_amount": 10,
        "shipping_refund_amount": 5,
        "invoice_number": "INV123456",
        "invoice_date": "2024-11-21T11:22:23.702774Z",
        "e_archive_url": "https://earchive.example.com/invoice/123",
        "tracking_number": "TRACK12345",
        "defined_tracking_url": "https://tracking.example.com/track/123",
        "shipping_company": "yurtici",
        "remote_addr": "192.168.0.1",
        "has_gift_box": false,
        "gift_box_note": "Happy Birthday!",
        "language_code": "en",
        "notes": "Leave at the front door.",
        "delivery_range": {
          "start": "2026-01-01T00:00:00.000Z",
          "end": "2026-01-01T00:00:00.000Z"
        },
        "shipping_option_slug": "standard-shipping",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "invoice_number": "text",
      "order_previous_status": "cancellation_waiting",
      "shipping_refund_amount": 5,
      "status": "waiting",
      "retail_store_remote_id": "123456",
      "refund_amount": 10,
      "discount_refund_amount": 2,
      "plan_type": "cancel",
      "cancellationplanorderitem_set": [
        {
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        }
      ],
      "staff_remote_id": "654321",
      "created_by": {
        "pk": 1,
        "username": "johndoe",
        "first_name": "John",
        "last_name": "Doe",
        "email": "johndoe@test.com",
        "is_active": true,
        "is_staff": false,
        "is_superuser": false,
        "date_joined": "2023-10-01T12:00:00Z",
        "last_login": "2023-10-01T12:00:00Z",
        "groups": [
          1
        ],
        "can_read_sensitive_data": false,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "last_updated_by": {
        "pk": 1,
        "username": "johndoe",
        "first_name": "John",
        "last_name": "Doe",
        "email": "johndoe@test.com",
        "is_active": true,
        "is_staff": false,
        "is_superuser": false,
        "date_joined": "2023-10-01T12:00:00Z",
        "last_login": "2023-10-01T12:00:00Z",
        "groups": [
          1
        ],
        "can_read_sensitive_data": false,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "payment_plan": {},
      "modified_by_id": 1,
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "refund_payment_plan": {
      "pk": 1,
      "cancellation_plan": {
        "pk": 1,
        "order": {
          "pk": 1,
          "number": "ORDER12345",
          "channel": 1,
          "customer": 1,
          "date_placed": "2024-11-20T11:22:23.702774Z",
          "extra_field": {
            "special_note": "Handle with care"
          },
          "payment_option": 1,
          "payment_option_slug": "credit-card",
          "bin_number": "123456",
          "installment": 1,
          "installment_count": 6,
          "installment_interest_amount": 50,
          "cargo_company": 1,
          "is_send": false,
          "delivery_type": "next_day",
          "cancellation_info": {
            "reason": "Customer requested cancellation"
          },
          "cancel_status": "cancelled",
          "shipping_interest_amount": 10,
          "external_status": 1,
          "client_type": "default",
          "carrier_shipping_code": "TRACK12345",
          "segment": "premium",
          "checkout_provider_id": 12345,
          "status": 200,
          "currency": "try",
          "amount": 1000,
          "discount_amount": 50,
          "shipping_amount": 20,
          "shipping_tax_rate": 18,
          "refund_amount": 100,
          "discount_refund_amount": 10,
          "shipping_refund_amount": 5,
          "invoice_number": "INV123456",
          "invoice_date": "2024-11-21T11:22:23.702774Z",
          "e_archive_url": "https://earchive.example.com/invoice/123",
          "tracking_number": "TRACK12345",
          "defined_tracking_url": "https://tracking.example.com/track/123",
          "shipping_company": "yurtici",
          "remote_addr": "192.168.0.1",
          "has_gift_box": false,
          "gift_box_note": "Happy Birthday!",
          "language_code": "en",
          "notes": "Leave at the front door.",
          "delivery_range": {
            "start": "2026-01-01T00:00:00.000Z",
            "end": "2026-01-01T00:00:00.000Z"
          },
          "shipping_option_slug": "standard-shipping",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "invoice_number": "text",
        "order_previous_status": "cancellation_waiting",
        "shipping_refund_amount": 5,
        "status": "waiting",
        "retail_store_remote_id": "123456",
        "refund_amount": 10,
        "discount_refund_amount": 2,
        "plan_type": "cancel",
        "cancellationplanorderitem_set": [
          {
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          }
        ],
        "staff_remote_id": "654321",
        "created_by": {
          "pk": 1,
          "username": "johndoe",
          "first_name": "John",
          "last_name": "Doe",
          "email": "johndoe@test.com",
          "is_active": true,
          "is_staff": false,
          "is_superuser": false,
          "date_joined": "2023-10-01T12:00:00Z",
          "last_login": "2023-10-01T12:00:00Z",
          "groups": [
            1
          ],
          "can_read_sensitive_data": false,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "last_updated_by": {
          "pk": 1,
          "username": "johndoe",
          "first_name": "John",
          "last_name": "Doe",
          "email": "johndoe@test.com",
          "is_active": true,
          "is_staff": false,
          "is_superuser": false,
          "date_joined": "2023-10-01T12:00:00Z",
          "last_login": "2023-10-01T12:00:00Z",
          "groups": [
            1
          ],
          "can_read_sensitive_data": false,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "payment_plan": {},
        "modified_by_id": 1,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "transaction_type": "cancelled",
      "refund_amount": 1,
      "retry_count": 1,
      "status": "pending",
      "modified_date": "2026-01-01T00:00:00.000Z",
      "created_date": "2026-01-01T00:00:00.000Z"
    },
    "mapping": {
      "pk": 1,
      "content_type": 1,
      "object_id": 1,
      "content_object": {},
      "integration_type": "hepsiburada",
      "code": "text",
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "integration": {
      "integration": [
        {
          "channel": {
            "id": 1,
            "name": "Commerce Channel",
            "catalog": 1,
            "channel_type": "web",
            "conf": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "category_tree": "text",
            "is_active": true,
            "schema": {},
            "created_date": "2024-11-20T11:22:23.702774Z",
            "modified_date": "2024-11-20T11:22:23.702774Z"
          },
          "content_type": {
            "id": 1,
            "app_label": "text",
            "model": "text"
          },
          "object_id": 1,
          "remote_id": "text",
          "version_date": "2026-01-01T00:00:00.000Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "modified_date": "2026-01-01T00:00:00.000Z",
    "created_date": "2026-01-01T00:00:00.000Z"
  },
  "related_cancellation_plan": {
    "pk": 1,
    "order": {
      "pk": 1,
      "number": "ORDER12345",
      "channel": 1,
      "customer": 1,
      "date_placed": "2024-11-20T11:22:23.702774Z",
      "extra_field": {
        "special_note": "Handle with care"
      },
      "payment_option": 1,
      "payment_option_slug": "credit-card",
      "bin_number": "123456",
      "installment": 1,
      "installment_count": 6,
      "installment_interest_amount": 50,
      "cargo_company": 1,
      "is_send": false,
      "delivery_type": "next_day",
      "cancellation_info": {
        "reason": "Customer requested cancellation"
      },
      "cancel_status": "cancelled",
      "shipping_interest_amount": 10,
      "external_status": 1,
      "client_type": "default",
      "carrier_shipping_code": "TRACK12345",
      "segment": "premium",
      "checkout_provider_id": 12345,
      "status": 200,
      "currency": "try",
      "amount": 1000,
      "discount_amount": 50,
      "shipping_amount": 20,
      "shipping_tax_rate": 18,
      "refund_amount": 100,
      "discount_refund_amount": 10,
      "shipping_refund_amount": 5,
      "invoice_number": "INV123456",
      "invoice_date": "2024-11-21T11:22:23.702774Z",
      "e_archive_url": "https://earchive.example.com/invoice/123",
      "tracking_number": "TRACK12345",
      "defined_tracking_url": "https://tracking.example.com/track/123",
      "shipping_company": "yurtici",
      "remote_addr": "192.168.0.1",
      "has_gift_box": false,
      "gift_box_note": "Happy Birthday!",
      "language_code": "en",
      "notes": "Leave at the front door.",
      "delivery_range": {
        "start": "2026-01-01T00:00:00.000Z",
        "end": "2026-01-01T00:00:00.000Z"
      },
      "shipping_option_slug": "standard-shipping",
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "invoice_number": "text",
    "order_previous_status": "cancellation_waiting",
    "shipping_refund_amount": 5,
    "status": "waiting",
    "retail_store_remote_id": "123456",
    "refund_amount": 10,
    "discount_refund_amount": 2,
    "plan_type": "cancel",
    "cancellationplanorderitem_set": [
      {
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      }
    ],
    "staff_remote_id": "654321",
    "created_by": {
      "pk": 1,
      "username": "johndoe",
      "first_name": "John",
      "last_name": "Doe",
      "email": "johndoe@test.com",
      "is_active": true,
      "is_staff": false,
      "is_superuser": false,
      "date_joined": "2023-10-01T12:00:00Z",
      "last_login": "2023-10-01T12:00:00Z",
      "groups": [
        1
      ],
      "can_read_sensitive_data": false,
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "last_updated_by": {
      "pk": 1,
      "username": "johndoe",
      "first_name": "John",
      "last_name": "Doe",
      "email": "johndoe@test.com",
      "is_active": true,
      "is_staff": false,
      "is_superuser": false,
      "date_joined": "2023-10-01T12:00:00Z",
      "last_login": "2023-10-01T12:00:00Z",
      "groups": [
        1
      ],
      "can_read_sensitive_data": false,
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "payment_plan": {},
    "modified_by_id": 1,
    "created_date": "2026-01-01T00:00:00.000Z",
    "modified_date": "2026-01-01T00:00:00.000Z"
  },
  "refund_payment_plan": {
    "pk": 1,
    "cancellation_plan": {
      "pk": 1,
      "order": {
        "pk": 1,
        "number": "ORDER12345",
        "channel": 1,
        "customer": 1,
        "date_placed": "2024-11-20T11:22:23.702774Z",
        "extra_field": {
          "special_note": "Handle with care"
        },
        "payment_option": 1,
        "payment_option_slug": "credit-card",
        "bin_number": "123456",
        "installment": 1,
        "installment_count": 6,
        "installment_interest_amount": 50,
        "cargo_company": 1,
        "is_send": false,
        "delivery_type": "next_day",
        "cancellation_info": {
          "reason": "Customer requested cancellation"
        },
        "cancel_status": "cancelled",
        "shipping_interest_amount": 10,
        "external_status": 1,
        "client_type": "default",
        "carrier_shipping_code": "TRACK12345",
        "segment": "premium",
        "checkout_provider_id": 12345,
        "status": 200,
        "currency": "try",
        "amount": 1000,
        "discount_amount": 50,
        "shipping_amount": 20,
        "shipping_tax_rate": 18,
        "refund_amount": 100,
        "discount_refund_amount": 10,
        "shipping_refund_amount": 5,
        "invoice_number": "INV123456",
        "invoice_date": "2024-11-21T11:22:23.702774Z",
        "e_archive_url": "https://earchive.example.com/invoice/123",
        "tracking_number": "TRACK12345",
        "defined_tracking_url": "https://tracking.example.com/track/123",
        "shipping_company": "yurtici",
        "remote_addr": "192.168.0.1",
        "has_gift_box": false,
        "gift_box_note": "Happy Birthday!",
        "language_code": "en",
        "notes": "Leave at the front door.",
        "delivery_range": {
          "start": "2026-01-01T00:00:00.000Z",
          "end": "2026-01-01T00:00:00.000Z"
        },
        "shipping_option_slug": "standard-shipping",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "invoice_number": "text",
      "order_previous_status": "cancellation_waiting",
      "shipping_refund_amount": 5,
      "status": "waiting",
      "retail_store_remote_id": "123456",
      "refund_amount": 10,
      "discount_refund_amount": 2,
      "plan_type": "cancel",
      "cancellationplanorderitem_set": [
        {
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        }
      ],
      "staff_remote_id": "654321",
      "created_by": {
        "pk": 1,
        "username": "johndoe",
        "first_name": "John",
        "last_name": "Doe",
        "email": "johndoe@test.com",
        "is_active": true,
        "is_staff": false,
        "is_superuser": false,
        "date_joined": "2023-10-01T12:00:00Z",
        "last_login": "2023-10-01T12:00:00Z",
        "groups": [
          1
        ],
        "can_read_sensitive_data": false,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "last_updated_by": {
        "pk": 1,
        "username": "johndoe",
        "first_name": "John",
        "last_name": "Doe",
        "email": "johndoe@test.com",
        "is_active": true,
        "is_staff": false,
        "is_superuser": false,
        "date_joined": "2023-10-01T12:00:00Z",
        "last_login": "2023-10-01T12:00:00Z",
        "groups": [
          1
        ],
        "can_read_sensitive_data": false,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "payment_plan": {},
      "modified_by_id": 1,
      "created_date": "2026-01-01T00:00:00.000Z",
      "modified_date": "2026-01-01T00:00:00.000Z"
    },
    "transaction_type": "cancelled",
    "refund_amount": 1,
    "retry_count": 1,
    "status": "pending",
    "modified_date": "2026-01-01T00:00:00.000Z",
    "created_date": "2026-01-01T00:00:00.000Z"
  },
  "mapping": {
    "pk": 1,
    "content_type": 1,
    "object_id": 1,
    "content_object": {},
    "integration_type": "hepsiburada",
    "code": "text",
    "created_date": "2026-01-01T00:00:00.000Z",
    "modified_date": "2026-01-01T00:00:00.000Z"
  },
  "integration": {
    "integration": [
      {
        "channel": {
          "id": 1,
          "name": "Commerce Channel",
          "catalog": 1,
          "channel_type": "web",
          "conf": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "category_tree": "text",
          "is_active": true,
          "schema": {},
          "created_date": "2024-11-20T11:22:23.702774Z",
          "modified_date": "2024-11-20T11:22:23.702774Z"
        },
        "content_type": {
          "id": 1,
          "app_label": "text",
          "model": "text"
        },
        "object_id": 1,
        "remote_id": "text",
        "version_date": "2026-01-01T00:00:00.000Z",
        "state": {},
        "local_batch_id": "text",
        "status": "processing",
        "content_object": {}
      }
    ]
  },
  "modified_date": "2026-01-01T00:00:00.000Z",
  "created_date": "2026-01-01T00:00:00.000Z"
}

List order transactions

get

List all order transactions.

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
created_datestring · date-timeOptional

Filter by creation date using supported lookup expressions (e.g., gt, gte, lt, lte, date__gt, etc.).

Example: created_date__gt=2024-01-01T00:00:00Z
modified_datestring · date-timeOptional

Filter by modification date using supported lookup expressions (e.g., gt, gte, lt, lte, date__gt, etc.).

Example: modified_date__lt=2024-01-01T00:00:00Z
uuidstringOptional

Filter by UUID.

Example: 123e4567-e89b-12d3-a456-426614174000
payment_optioninteger[]Optional

Filter by payment option IDs

amountnumber · decimalOptional

Filter by amount.

transaction_typestring · enumOptional

Filter by transaction type.

Example: purchasePossible values:
ordernumberOptional

Filter by order ID.

Example: 123
transaction_content_typestringOptional

Filter by content type of the transaction

Example: Order
transaction_object_idintegerOptional

Filter by object ID of the transaction

Example: 1
customer_idintegerOptional

Filter by customer ID.

Example: 123
related_ordertransactionstringOptional

Filter by related order transaction (exact match)

Example: 123e4567-e89b-12d3-a456-426614174000
related_cancellationplanstringOptional

Filter by related cancellation plan (exact match)

Example: 1
related_cancellation_plan__isnullbooleanOptional

Filter by related cancellation plan is null

Example: true
refund_payment_planstringOptional

Filter by refund payment plan (exact match)

Example: 1
pk__ininteger[]Optional

Filter by multiple primary key values (comma-separated list of integers)

pk__gtstringOptional

Filter by primary key greater than a specific value.

pk__gteintegerOptional

Filters by primary key greater than or equal to the given value

pk__ltintegerOptional

Filters by primary key less than the given value

pk__lteintegerOptional

Filters by primary key less than or equal to the given value

channel_typestring · enumOptional

Type of the channel

Example: sales_channelPossible values:
related_cancellation_plan__plan_typestring · enumOptional

Type of cancellation plan

Example: cancelPossible values:
Responses
200

A list of order transactions.

application/json
countintegerOptional

Total number of results.

nextstring · uri · nullableOptional

URL of the next page of results.

previousstring · uri · nullableOptional

URL of the previous page of results.

get/api/v1/order_transactions/
GET /api/v1/order_transactions/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": "https://example.com",
  "previous": "https://example.com",
  "results": [
    {
      "pk": 1,
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "payment_option": {
        "id": 1,
        "name": "text",
        "slug": "text",
        "payment_type": "credit_card",
        "sort_order": 0,
        "config": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "is_active": true,
        "channel": {
          "id": 1,
          "name": "Commerce Channel",
          "catalog": 1,
          "channel_type": "web",
          "conf": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "category_tree": "text",
          "is_active": true,
          "schema": {},
          "created_date": "2024-11-20T11:22:23.702774Z",
          "modified_date": "2024-11-20T11:22:23.702774Z"
        },
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "amount": 1,
      "transaction_type": "purchase",
      "order": {
        "pk": 1,
        "number": "ORDER12345",
        "channel": 1,
        "customer": 1,
        "date_placed": "2024-11-20T11:22:23.702774Z",
        "extra_field": {
          "special_note": "Handle with care"
        },
        "payment_option": 1,
        "payment_option_slug": "credit-card",
        "bin_number": "123456",
        "installment": 1,
        "installment_count": 6,
        "installment_interest_amount": 50,
        "cargo_company": 1,
        "is_send": false,
        "delivery_type": "next_day",
        "cancellation_info": {
          "reason": "Customer requested cancellation"
        },
        "cancel_status": "cancelled",
        "shipping_interest_amount": 10,
        "external_status": 1,
        "client_type": "default",
        "carrier_shipping_code": "TRACK12345",
        "segment": "premium",
        "checkout_provider_id": 12345,
        "status": 200,
        "currency": "try",
        "amount": 1000,
        "discount_amount": 50,
        "shipping_amount": 20,
        "shipping_tax_rate": 18,
        "refund_amount": 100,
        "discount_refund_amount": 10,
        "shipping_refund_amount": 5,
        "invoice_number": "INV123456",
        "invoice_date": "2024-11-21T11:22:23.702774Z",
        "e_archive_url": "https://earchive.example.com/invoice/123",
        "tracking_number": "TRACK12345",
        "defined_tracking_url": "https://tracking.example.com/track/123",
        "shipping_company": "yurtici",
        "remote_addr": "192.168.0.1",
        "has_gift_box": false,
        "gift_box_note": "Happy Birthday!",
        "language_code": "en",
        "notes": "Leave at the front door.",
        "delivery_range": {
          "start": "2026-01-01T00:00:00.000Z",
          "end": "2026-01-01T00:00:00.000Z"
        },
        "shipping_option_slug": "standard-shipping",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "transaction_content_type": {
        "id": 1,
        "app_label": "text",
        "model": "text"
      },
      "transaction_object_id": 1,
      "transaction": {
        "pk": 1,
        "transaction_type": "purchase",
        "transaction_id": "text",
        "auth_code": "text",
        "pos": "text",
        "main_pos": "text",
        "order": 1,
        "currency": "try",
        "user_email": "text",
        "raw_request": "text",
        "raw_response": "text",
        "is_succeeded": true,
        "amount": 1,
        "remote_addr": "text",
        "is_async_payment": true,
        "transaction_response_status": "approved",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "customer": {
        "pk": 123,
        "email": "example@domain.com",
        "first_name": "John",
        "last_name": "Doe",
        "phone_number": "+123456789",
        "is_active": true,
        "channel_code": "CH123",
        "erp_code": "ERP456",
        "attributes": {
          "logged_ip": "127.0.0.1",
          "register_client_type": "default"
        },
        "attribute_kwargs": {},
        "localized_attributes": {},
        "localized_attribute_kwargs": {},
        "extra_field": {
          "key1": "value1",
          "key2": 100
        },
        "email_allowed": true,
        "sms_allowed": false,
        "call_allowed": true,
        "date_joined": "2023-01-15T10:30:00Z",
        "gender": "female",
        "user_type": "guest",
        "date_of_birth": "1985-08-25",
        "channel": 5
      },
      "related_ordertransaction": {
        "pk": 1,
        "uuid": "123e4567-e89b-12d3-a456-426614174000",
        "payment_option": {
          "id": 1,
          "name": "text",
          "slug": "text",
          "payment_type": "credit_card",
          "sort_order": 0,
          "config": {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          },
          "is_active": true,
          "channel": {
            "id": 1,
            "name": "Commerce Channel",
            "catalog": 1,
            "channel_type": "web",
            "conf": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "category_tree": "text",
            "is_active": true,
            "schema": {},
            "created_date": "2024-11-20T11:22:23.702774Z",
            "modified_date": "2024-11-20T11:22:23.702774Z"
          },
          "translations": {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        },
        "amount": 1,
        "transaction_type": "purchase",
        "order": {
          "pk": 1,
          "number": "ORDER12345",
          "channel": 1,
          "customer": 1,
          "date_placed": "2024-11-20T11:22:23.702774Z",
          "extra_field": {
            "special_note": "Handle with care"
          },
          "payment_option": 1,
          "payment_option_slug": "credit-card",
          "bin_number": "123456",
          "installment": 1,
          "installment_count": 6,
          "installment_interest_amount": 50,
          "cargo_company": 1,
          "is_send": false,
          "delivery_type": "next_day",
          "cancellation_info": {
            "reason": "Customer requested cancellation"
          },
          "cancel_status": "cancelled",
          "shipping_interest_amount": 10,
          "external_status": 1,
          "client_type": "default",
          "carrier_shipping_code": "TRACK12345",
          "segment": "premium",
          "checkout_provider_id": 12345,
          "status": 200,
          "currency": "try",
          "amount": 1000,
          "discount_amount": 50,
          "shipping_amount": 20,
          "shipping_tax_rate": 18,
          "refund_amount": 100,
          "discount_refund_amount": 10,
          "shipping_refund_amount": 5,
          "invoice_number": "INV123456",
          "invoice_date": "2024-11-21T11:22:23.702774Z",
          "e_archive_url": "https://earchive.example.com/invoice/123",
          "tracking_number": "TRACK12345",
          "defined_tracking_url": "https://tracking.example.com/track/123",
          "shipping_company": "yurtici",
          "remote_addr": "192.168.0.1",
          "has_gift_box": false,
          "gift_box_note": "Happy Birthday!",
          "language_code": "en",
          "notes": "Leave at the front door.",
          "delivery_range": {
            "start": "2026-01-01T00:00:00.000Z",
            "end": "2026-01-01T00:00:00.000Z"
          },
          "shipping_option_slug": "standard-shipping",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "transaction_content_type": {
          "id": 1,
          "app_label": "text",
          "model": "text"
        },
        "transaction_object_id": 1,
        "transaction": {
          "pk": 1,
          "transaction_type": "purchase",
          "transaction_id": "text",
          "auth_code": "text",
          "pos": "text",
          "main_pos": "text",
          "order": 1,
          "currency": "try",
          "user_email": "text",
          "raw_request": "text",
          "raw_response": "text",
          "is_succeeded": true,
          "amount": 1,
          "remote_addr": "text",
          "is_async_payment": true,
          "transaction_response_status": "approved",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "customer": {
          "pk": 123,
          "email": "example@domain.com",
          "first_name": "John",
          "last_name": "Doe",
          "phone_number": "+123456789",
          "is_active": true,
          "channel_code": "CH123",
          "erp_code": "ERP456",
          "attributes": {
            "logged_ip": "127.0.0.1",
            "register_client_type": "default"
          },
          "attribute_kwargs": {},
          "localized_attributes": {},
          "localized_attribute_kwargs": {},
          "extra_field": {
            "key1": "value1",
            "key2": 100
          },
          "email_allowed": true,
          "sms_allowed": false,
          "call_allowed": true,
          "date_joined": "2023-01-15T10:30:00Z",
          "gender": "female",
          "user_type": "guest",
          "date_of_birth": "1985-08-25",
          "channel": 5
        },
        "related_ordertransaction": {
          "pk": 1,
          "uuid": "123e4567-e89b-12d3-a456-426614174000",
          "payment_option": {
            "id": 1,
            "name": "text",
            "slug": "text",
            "payment_type": "credit_card",
            "sort_order": 0,
            "config": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            },
            "is_active": true,
            "channel": {
              "id": 1,
              "name": "Commerce Channel",
              "catalog": 1,
              "channel_type": "web",
              "conf": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "category_tree": "text",
              "is_active": true,
              "schema": {},
              "created_date": "2024-11-20T11:22:23.702774Z",
              "modified_date": "2024-11-20T11:22:23.702774Z"
            },
            "translations": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            }
          },
          "amount": 1,
          "transaction_type": "purchase",
          "order": {
            "pk": 1,
            "number": "ORDER12345",
            "channel": 1,
            "customer": 1,
            "date_placed": "2024-11-20T11:22:23.702774Z",
            "extra_field": {
              "special_note": "Handle with care"
            },
            "payment_option": 1,
            "payment_option_slug": "credit-card",
            "bin_number": "123456",
            "installment": 1,
            "installment_count": 6,
            "installment_interest_amount": 50,
            "cargo_company": 1,
            "is_send": false,
            "delivery_type": "next_day",
            "cancellation_info": {
              "reason": "Customer requested cancellation"
            },
            "cancel_status": "cancelled",
            "shipping_interest_amount": 10,
            "external_status": 1,
            "client_type": "default",
            "carrier_shipping_code": "TRACK12345",
            "segment": "premium",
            "checkout_provider_id": 12345,
            "status": 200,
            "currency": "try",
            "amount": 1000,
            "discount_amount": 50,
            "shipping_amount": 20,
            "shipping_tax_rate": 18,
            "refund_amount": 100,
            "discount_refund_amount": 10,
            "shipping_refund_amount": 5,
            "invoice_number": "INV123456",
            "invoice_date": "2024-11-21T11:22:23.702774Z",
            "e_archive_url": "https://earchive.example.com/invoice/123",
            "tracking_number": "TRACK12345",
            "defined_tracking_url": "https://tracking.example.com/track/123",
            "shipping_company": "yurtici",
            "remote_addr": "192.168.0.1",
            "has_gift_box": false,
            "gift_box_note": "Happy Birthday!",
            "language_code": "en",
            "notes": "Leave at the front door.",
            "delivery_range": {
              "start": "2026-01-01T00:00:00.000Z",
              "end": "2026-01-01T00:00:00.000Z"
            },
            "shipping_option_slug": "standard-shipping",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "transaction_content_type": {
            "id": 1,
            "app_label": "text",
            "model": "text"
          },
          "transaction_object_id": 1,
          "transaction": {
            "pk": 1,
            "transaction_type": "purchase",
            "transaction_id": "text",
            "auth_code": "text",
            "pos": "text",
            "main_pos": "text",
            "order": 1,
            "currency": "try",
            "user_email": "text",
            "raw_request": "text",
            "raw_response": "text",
            "is_succeeded": true,
            "amount": 1,
            "remote_addr": "text",
            "is_async_payment": true,
            "transaction_response_status": "approved",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "customer": {
            "pk": 123,
            "email": "example@domain.com",
            "first_name": "John",
            "last_name": "Doe",
            "phone_number": "+123456789",
            "is_active": true,
            "channel_code": "CH123",
            "erp_code": "ERP456",
            "attributes": {
              "logged_ip": "127.0.0.1",
              "register_client_type": "default"
            },
            "attribute_kwargs": {},
            "localized_attributes": {},
            "localized_attribute_kwargs": {},
            "extra_field": {
              "key1": "value1",
              "key2": 100
            },
            "email_allowed": true,
            "sms_allowed": false,
            "call_allowed": true,
            "date_joined": "2023-01-15T10:30:00Z",
            "gender": "female",
            "user_type": "guest",
            "date_of_birth": "1985-08-25",
            "channel": 5
          },
          "related_ordertransaction": {
            "pk": 1,
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "payment_option": {
              "id": 1,
              "name": "text",
              "slug": "text",
              "payment_type": "credit_card",
              "sort_order": 0,
              "config": {
                "ANY_ADDITIONAL_PROPERTY": "anything"
              },
              "is_active": true,
              "channel": {
                "id": 1,
                "name": "Commerce Channel",
                "catalog": 1,
                "channel_type": "web",
                "conf": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "category_tree": "text",
                "is_active": true,
                "schema": {},
                "created_date": "2024-11-20T11:22:23.702774Z",
                "modified_date": "2024-11-20T11:22:23.702774Z"
              },
              "translations": {
                "ANY_ADDITIONAL_PROPERTY": "anything"
              }
            },
            "amount": 1,
            "transaction_type": "purchase",
            "order": {
              "pk": 1,
              "number": "ORDER12345",
              "channel": 1,
              "customer": 1,
              "date_placed": "2024-11-20T11:22:23.702774Z",
              "extra_field": {
                "special_note": "Handle with care"
              },
              "payment_option": 1,
              "payment_option_slug": "credit-card",
              "bin_number": "123456",
              "installment": 1,
              "installment_count": 6,
              "installment_interest_amount": 50,
              "cargo_company": 1,
              "is_send": false,
              "delivery_type": "next_day",
              "cancellation_info": {
                "reason": "Customer requested cancellation"
              },
              "cancel_status": "cancelled",
              "shipping_interest_amount": 10,
              "external_status": 1,
              "client_type": "default",
              "carrier_shipping_code": "TRACK12345",
              "segment": "premium",
              "checkout_provider_id": 12345,
              "status": 200,
              "currency": "try",
              "amount": 1000,
              "discount_amount": 50,
              "shipping_amount": 20,
              "shipping_tax_rate": 18,
              "refund_amount": 100,
              "discount_refund_amount": 10,
              "shipping_refund_amount": 5,
              "invoice_number": "INV123456",
              "invoice_date": "2024-11-21T11:22:23.702774Z",
              "e_archive_url": "https://earchive.example.com/invoice/123",
              "tracking_number": "TRACK12345",
              "defined_tracking_url": "https://tracking.example.com/track/123",
              "shipping_company": "yurtici",
              "remote_addr": "192.168.0.1",
              "has_gift_box": false,
              "gift_box_note": "Happy Birthday!",
              "language_code": "en",
              "notes": "Leave at the front door.",
              "delivery_range": {
                "start": "2026-01-01T00:00:00.000Z",
                "end": "2026-01-01T00:00:00.000Z"
              },
              "shipping_option_slug": "standard-shipping",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "transaction_content_type": {
              "id": 1,
              "app_label": "text",
              "model": "text"
            },
            "transaction_object_id": 1,
            "transaction": {
              "pk": 1,
              "transaction_type": "purchase",
              "transaction_id": "text",
              "auth_code": "text",
              "pos": "text",
              "main_pos": "text",
              "order": 1,
              "currency": "try",
              "user_email": "text",
              "raw_request": "text",
              "raw_response": "text",
              "is_succeeded": true,
              "amount": 1,
              "remote_addr": "text",
              "is_async_payment": true,
              "transaction_response_status": "approved",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "customer": {
              "pk": 123,
              "email": "example@domain.com",
              "first_name": "John",
              "last_name": "Doe",
              "phone_number": "+123456789",
              "is_active": true,
              "channel_code": "CH123",
              "erp_code": "ERP456",
              "attributes": {
                "logged_ip": "127.0.0.1",
                "register_client_type": "default"
              },
              "attribute_kwargs": {},
              "localized_attributes": {},
              "localized_attribute_kwargs": {},
              "extra_field": {
                "key1": "value1",
                "key2": 100
              },
              "email_allowed": true,
              "sms_allowed": false,
              "call_allowed": true,
              "date_joined": "2023-01-15T10:30:00Z",
              "gender": "female",
              "user_type": "guest",
              "date_of_birth": "1985-08-25",
              "channel": 5
            },
            "related_ordertransaction": "[Circular Reference]",
            "related_cancellation_plan": {
              "pk": 1,
              "order": {
                "pk": 1,
                "number": "ORDER12345",
                "channel": 1,
                "customer": 1,
                "date_placed": "2024-11-20T11:22:23.702774Z",
                "extra_field": {
                  "special_note": "Handle with care"
                },
                "payment_option": 1,
                "payment_option_slug": "credit-card",
                "bin_number": "123456",
                "installment": 1,
                "installment_count": 6,
                "installment_interest_amount": 50,
                "cargo_company": 1,
                "is_send": false,
                "delivery_type": "next_day",
                "cancellation_info": {
                  "reason": "Customer requested cancellation"
                },
                "cancel_status": "cancelled",
                "shipping_interest_amount": 10,
                "external_status": 1,
                "client_type": "default",
                "carrier_shipping_code": "TRACK12345",
                "segment": "premium",
                "checkout_provider_id": 12345,
                "status": 200,
                "currency": "try",
                "amount": 1000,
                "discount_amount": 50,
                "shipping_amount": 20,
                "shipping_tax_rate": 18,
                "refund_amount": 100,
                "discount_refund_amount": 10,
                "shipping_refund_amount": 5,
                "invoice_number": "INV123456",
                "invoice_date": "2024-11-21T11:22:23.702774Z",
                "e_archive_url": "https://earchive.example.com/invoice/123",
                "tracking_number": "TRACK12345",
                "defined_tracking_url": "https://tracking.example.com/track/123",
                "shipping_company": "yurtici",
                "remote_addr": "192.168.0.1",
                "has_gift_box": false,
                "gift_box_note": "Happy Birthday!",
                "language_code": "en",
                "notes": "Leave at the front door.",
                "delivery_range": {
                  "start": "2026-01-01T00:00:00.000Z",
                  "end": "2026-01-01T00:00:00.000Z"
                },
                "shipping_option_slug": "standard-shipping",
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "invoice_number": "text",
              "order_previous_status": "cancellation_waiting",
              "shipping_refund_amount": 5,
              "status": "waiting",
              "retail_store_remote_id": "123456",
              "refund_amount": 10,
              "discount_refund_amount": 2,
              "plan_type": "cancel",
              "cancellationplanorderitem_set": [
                {
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                }
              ],
              "staff_remote_id": "654321",
              "created_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "last_updated_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "payment_plan": {},
              "modified_by_id": 1,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "refund_payment_plan": {
              "pk": 1,
              "cancellation_plan": {
                "pk": 1,
                "order": {
                  "pk": 1,
                  "number": "ORDER12345",
                  "channel": 1,
                  "customer": 1,
                  "date_placed": "2024-11-20T11:22:23.702774Z",
                  "extra_field": {
                    "special_note": "Handle with care"
                  },
                  "payment_option": 1,
                  "payment_option_slug": "credit-card",
                  "bin_number": "123456",
                  "installment": 1,
                  "installment_count": 6,
                  "installment_interest_amount": 50,
                  "cargo_company": 1,
                  "is_send": false,
                  "delivery_type": "next_day",
                  "cancellation_info": {
                    "reason": "Customer requested cancellation"
                  },
                  "cancel_status": "cancelled",
                  "shipping_interest_amount": 10,
                  "external_status": 1,
                  "client_type": "default",
                  "carrier_shipping_code": "TRACK12345",
                  "segment": "premium",
                  "checkout_provider_id": 12345,
                  "status": 200,
                  "currency": "try",
                  "amount": 1000,
                  "discount_amount": 50,
                  "shipping_amount": 20,
                  "shipping_tax_rate": 18,
                  "refund_amount": 100,
                  "discount_refund_amount": 10,
                  "shipping_refund_amount": 5,
                  "invoice_number": "INV123456",
                  "invoice_date": "2024-11-21T11:22:23.702774Z",
                  "e_archive_url": "https://earchive.example.com/invoice/123",
                  "tracking_number": "TRACK12345",
                  "defined_tracking_url": "https://tracking.example.com/track/123",
                  "shipping_company": "yurtici",
                  "remote_addr": "192.168.0.1",
                  "has_gift_box": false,
                  "gift_box_note": "Happy Birthday!",
                  "language_code": "en",
                  "notes": "Leave at the front door.",
                  "delivery_range": {
                    "start": "2026-01-01T00:00:00.000Z",
                    "end": "2026-01-01T00:00:00.000Z"
                  },
                  "shipping_option_slug": "standard-shipping",
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                },
                "invoice_number": "text",
                "order_previous_status": "cancellation_waiting",
                "shipping_refund_amount": 5,
                "status": "waiting",
                "retail_store_remote_id": "123456",
                "refund_amount": 10,
                "discount_refund_amount": 2,
                "plan_type": "cancel",
                "cancellationplanorderitem_set": [
                  {
                    "created_date": "2026-01-01T00:00:00.000Z",
                    "modified_date": "2026-01-01T00:00:00.000Z"
                  }
                ],
                "staff_remote_id": "654321",
                "created_by": {
                  "pk": 1,
                  "username": "johndoe",
                  "first_name": "John",
                  "last_name": "Doe",
                  "email": "johndoe@test.com",
                  "is_active": true,
                  "is_staff": false,
                  "is_superuser": false,
                  "date_joined": "2023-10-01T12:00:00Z",
                  "last_login": "2023-10-01T12:00:00Z",
                  "groups": [
                    1
                  ],
                  "can_read_sensitive_data": false,
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                },
                "last_updated_by": {
                  "pk": 1,
                  "username": "johndoe",
                  "first_name": "John",
                  "last_name": "Doe",
                  "email": "johndoe@test.com",
                  "is_active": true,
                  "is_staff": false,
                  "is_superuser": false,
                  "date_joined": "2023-10-01T12:00:00Z",
                  "last_login": "2023-10-01T12:00:00Z",
                  "groups": [
                    1
                  ],
                  "can_read_sensitive_data": false,
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                },
                "payment_plan": {},
                "modified_by_id": 1,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "transaction_type": "cancelled",
              "refund_amount": 1,
              "retry_count": 1,
              "status": "pending",
              "modified_date": "2026-01-01T00:00:00.000Z",
              "created_date": "2026-01-01T00:00:00.000Z"
            },
            "mapping": {
              "pk": 1,
              "content_type": 1,
              "object_id": 1,
              "content_object": {},
              "integration_type": "hepsiburada",
              "code": "text",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "integration": {
              "integration": [
                {
                  "channel": {
                    "id": 1,
                    "name": "Commerce Channel",
                    "catalog": 1,
                    "channel_type": "web",
                    "conf": {
                      "ANY_ADDITIONAL_PROPERTY": "text"
                    },
                    "category_tree": "text",
                    "is_active": true,
                    "schema": {},
                    "created_date": "2024-11-20T11:22:23.702774Z",
                    "modified_date": "2024-11-20T11:22:23.702774Z"
                  },
                  "content_type": {
                    "id": 1,
                    "app_label": "text",
                    "model": "text"
                  },
                  "object_id": 1,
                  "remote_id": "text",
                  "version_date": "2026-01-01T00:00:00.000Z",
                  "state": {},
                  "local_batch_id": "text",
                  "status": "processing",
                  "content_object": {}
                }
              ]
            },
            "modified_date": "2026-01-01T00:00:00.000Z",
            "created_date": "2026-01-01T00:00:00.000Z"
          },
          "related_cancellation_plan": {
            "pk": 1,
            "order": {
              "pk": 1,
              "number": "ORDER12345",
              "channel": 1,
              "customer": 1,
              "date_placed": "2024-11-20T11:22:23.702774Z",
              "extra_field": {
                "special_note": "Handle with care"
              },
              "payment_option": 1,
              "payment_option_slug": "credit-card",
              "bin_number": "123456",
              "installment": 1,
              "installment_count": 6,
              "installment_interest_amount": 50,
              "cargo_company": 1,
              "is_send": false,
              "delivery_type": "next_day",
              "cancellation_info": {
                "reason": "Customer requested cancellation"
              },
              "cancel_status": "cancelled",
              "shipping_interest_amount": 10,
              "external_status": 1,
              "client_type": "default",
              "carrier_shipping_code": "TRACK12345",
              "segment": "premium",
              "checkout_provider_id": 12345,
              "status": 200,
              "currency": "try",
              "amount": 1000,
              "discount_amount": 50,
              "shipping_amount": 20,
              "shipping_tax_rate": 18,
              "refund_amount": 100,
              "discount_refund_amount": 10,
              "shipping_refund_amount": 5,
              "invoice_number": "INV123456",
              "invoice_date": "2024-11-21T11:22:23.702774Z",
              "e_archive_url": "https://earchive.example.com/invoice/123",
              "tracking_number": "TRACK12345",
              "defined_tracking_url": "https://tracking.example.com/track/123",
              "shipping_company": "yurtici",
              "remote_addr": "192.168.0.1",
              "has_gift_box": false,
              "gift_box_note": "Happy Birthday!",
              "language_code": "en",
              "notes": "Leave at the front door.",
              "delivery_range": {
                "start": "2026-01-01T00:00:00.000Z",
                "end": "2026-01-01T00:00:00.000Z"
              },
              "shipping_option_slug": "standard-shipping",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "invoice_number": "text",
            "order_previous_status": "cancellation_waiting",
            "shipping_refund_amount": 5,
            "status": "waiting",
            "retail_store_remote_id": "123456",
            "refund_amount": 10,
            "discount_refund_amount": 2,
            "plan_type": "cancel",
            "cancellationplanorderitem_set": [
              {
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              }
            ],
            "staff_remote_id": "654321",
            "created_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "last_updated_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "payment_plan": {},
            "modified_by_id": 1,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "refund_payment_plan": {
            "pk": 1,
            "cancellation_plan": {
              "pk": 1,
              "order": {
                "pk": 1,
                "number": "ORDER12345",
                "channel": 1,
                "customer": 1,
                "date_placed": "2024-11-20T11:22:23.702774Z",
                "extra_field": {
                  "special_note": "Handle with care"
                },
                "payment_option": 1,
                "payment_option_slug": "credit-card",
                "bin_number": "123456",
                "installment": 1,
                "installment_count": 6,
                "installment_interest_amount": 50,
                "cargo_company": 1,
                "is_send": false,
                "delivery_type": "next_day",
                "cancellation_info": {
                  "reason": "Customer requested cancellation"
                },
                "cancel_status": "cancelled",
                "shipping_interest_amount": 10,
                "external_status": 1,
                "client_type": "default",
                "carrier_shipping_code": "TRACK12345",
                "segment": "premium",
                "checkout_provider_id": 12345,
                "status": 200,
                "currency": "try",
                "amount": 1000,
                "discount_amount": 50,
                "shipping_amount": 20,
                "shipping_tax_rate": 18,
                "refund_amount": 100,
                "discount_refund_amount": 10,
                "shipping_refund_amount": 5,
                "invoice_number": "INV123456",
                "invoice_date": "2024-11-21T11:22:23.702774Z",
                "e_archive_url": "https://earchive.example.com/invoice/123",
                "tracking_number": "TRACK12345",
                "defined_tracking_url": "https://tracking.example.com/track/123",
                "shipping_company": "yurtici",
                "remote_addr": "192.168.0.1",
                "has_gift_box": false,
                "gift_box_note": "Happy Birthday!",
                "language_code": "en",
                "notes": "Leave at the front door.",
                "delivery_range": {
                  "start": "2026-01-01T00:00:00.000Z",
                  "end": "2026-01-01T00:00:00.000Z"
                },
                "shipping_option_slug": "standard-shipping",
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "invoice_number": "text",
              "order_previous_status": "cancellation_waiting",
              "shipping_refund_amount": 5,
              "status": "waiting",
              "retail_store_remote_id": "123456",
              "refund_amount": 10,
              "discount_refund_amount": 2,
              "plan_type": "cancel",
              "cancellationplanorderitem_set": [
                {
                  "created_date": "2026-01-01T00:00:00.000Z",
                  "modified_date": "2026-01-01T00:00:00.000Z"
                }
              ],
              "staff_remote_id": "654321",
              "created_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "last_updated_by": {
                "pk": 1,
                "username": "johndoe",
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@test.com",
                "is_active": true,
                "is_staff": false,
                "is_superuser": false,
                "date_joined": "2023-10-01T12:00:00Z",
                "last_login": "2023-10-01T12:00:00Z",
                "groups": [
                  1
                ],
                "can_read_sensitive_data": false,
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              },
              "payment_plan": {},
              "modified_by_id": 1,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "transaction_type": "cancelled",
            "refund_amount": 1,
            "retry_count": 1,
            "status": "pending",
            "modified_date": "2026-01-01T00:00:00.000Z",
            "created_date": "2026-01-01T00:00:00.000Z"
          },
          "mapping": {
            "pk": 1,
            "content_type": 1,
            "object_id": 1,
            "content_object": {},
            "integration_type": "hepsiburada",
            "code": "text",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "integration": {
            "integration": [
              {
                "channel": {
                  "id": 1,
                  "name": "Commerce Channel",
                  "catalog": 1,
                  "channel_type": "web",
                  "conf": {
                    "ANY_ADDITIONAL_PROPERTY": "text"
                  },
                  "category_tree": "text",
                  "is_active": true,
                  "schema": {},
                  "created_date": "2024-11-20T11:22:23.702774Z",
                  "modified_date": "2024-11-20T11:22:23.702774Z"
                },
                "content_type": {
                  "id": 1,
                  "app_label": "text",
                  "model": "text"
                },
                "object_id": 1,
                "remote_id": "text",
                "version_date": "2026-01-01T00:00:00.000Z",
                "state": {},
                "local_batch_id": "text",
                "status": "processing",
                "content_object": {}
              }
            ]
          },
          "modified_date": "2026-01-01T00:00:00.000Z",
          "created_date": "2026-01-01T00:00:00.000Z"
        },
        "related_cancellation_plan": {
          "pk": 1,
          "order": {
            "pk": 1,
            "number": "ORDER12345",
            "channel": 1,
            "customer": 1,
            "date_placed": "2024-11-20T11:22:23.702774Z",
            "extra_field": {
              "special_note": "Handle with care"
            },
            "payment_option": 1,
            "payment_option_slug": "credit-card",
            "bin_number": "123456",
            "installment": 1,
            "installment_count": 6,
            "installment_interest_amount": 50,
            "cargo_company": 1,
            "is_send": false,
            "delivery_type": "next_day",
            "cancellation_info": {
              "reason": "Customer requested cancellation"
            },
            "cancel_status": "cancelled",
            "shipping_interest_amount": 10,
            "external_status": 1,
            "client_type": "default",
            "carrier_shipping_code": "TRACK12345",
            "segment": "premium",
            "checkout_provider_id": 12345,
            "status": 200,
            "currency": "try",
            "amount": 1000,
            "discount_amount": 50,
            "shipping_amount": 20,
            "shipping_tax_rate": 18,
            "refund_amount": 100,
            "discount_refund_amount": 10,
            "shipping_refund_amount": 5,
            "invoice_number": "INV123456",
            "invoice_date": "2024-11-21T11:22:23.702774Z",
            "e_archive_url": "https://earchive.example.com/invoice/123",
            "tracking_number": "TRACK12345",
            "defined_tracking_url": "https://tracking.example.com/track/123",
            "shipping_company": "yurtici",
            "remote_addr": "192.168.0.1",
            "has_gift_box": false,
            "gift_box_note": "Happy Birthday!",
            "language_code": "en",
            "notes": "Leave at the front door.",
            "delivery_range": {
              "start": "2026-01-01T00:00:00.000Z",
              "end": "2026-01-01T00:00:00.000Z"
            },
            "shipping_option_slug": "standard-shipping",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "invoice_number": "text",
          "order_previous_status": "cancellation_waiting",
          "shipping_refund_amount": 5,
          "status": "waiting",
          "retail_store_remote_id": "123456",
          "refund_amount": 10,
          "discount_refund_amount": 2,
          "plan_type": "cancel",
          "cancellationplanorderitem_set": [
            {
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            }
          ],
          "staff_remote_id": "654321",
          "created_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "last_updated_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "payment_plan": {},
          "modified_by_id": 1,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "refund_payment_plan": {
          "pk": 1,
          "cancellation_plan": {
            "pk": 1,
            "order": {
              "pk": 1,
              "number": "ORDER12345",
              "channel": 1,
              "customer": 1,
              "date_placed": "2024-11-20T11:22:23.702774Z",
              "extra_field": {
                "special_note": "Handle with care"
              },
              "payment_option": 1,
              "payment_option_slug": "credit-card",
              "bin_number": "123456",
              "installment": 1,
              "installment_count": 6,
              "installment_interest_amount": 50,
              "cargo_company": 1,
              "is_send": false,
              "delivery_type": "next_day",
              "cancellation_info": {
                "reason": "Customer requested cancellation"
              },
              "cancel_status": "cancelled",
              "shipping_interest_amount": 10,
              "external_status": 1,
              "client_type": "default",
              "carrier_shipping_code": "TRACK12345",
              "segment": "premium",
              "checkout_provider_id": 12345,
              "status": 200,
              "currency": "try",
              "amount": 1000,
              "discount_amount": 50,
              "shipping_amount": 20,
              "shipping_tax_rate": 18,
              "refund_amount": 100,
              "discount_refund_amount": 10,
              "shipping_refund_amount": 5,
              "invoice_number": "INV123456",
              "invoice_date": "2024-11-21T11:22:23.702774Z",
              "e_archive_url": "https://earchive.example.com/invoice/123",
              "tracking_number": "TRACK12345",
              "defined_tracking_url": "https://tracking.example.com/track/123",
              "shipping_company": "yurtici",
              "remote_addr": "192.168.0.1",
              "has_gift_box": false,
              "gift_box_note": "Happy Birthday!",
              "language_code": "en",
              "notes": "Leave at the front door.",
              "delivery_range": {
                "start": "2026-01-01T00:00:00.000Z",
                "end": "2026-01-01T00:00:00.000Z"
              },
              "shipping_option_slug": "standard-shipping",
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "invoice_number": "text",
            "order_previous_status": "cancellation_waiting",
            "shipping_refund_amount": 5,
            "status": "waiting",
            "retail_store_remote_id": "123456",
            "refund_amount": 10,
            "discount_refund_amount": 2,
            "plan_type": "cancel",
            "cancellationplanorderitem_set": [
              {
                "created_date": "2026-01-01T00:00:00.000Z",
                "modified_date": "2026-01-01T00:00:00.000Z"
              }
            ],
            "staff_remote_id": "654321",
            "created_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "last_updated_by": {
              "pk": 1,
              "username": "johndoe",
              "first_name": "John",
              "last_name": "Doe",
              "email": "johndoe@test.com",
              "is_active": true,
              "is_staff": false,
              "is_superuser": false,
              "date_joined": "2023-10-01T12:00:00Z",
              "last_login": "2023-10-01T12:00:00Z",
              "groups": [
                1
              ],
              "can_read_sensitive_data": false,
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            },
            "payment_plan": {},
            "modified_by_id": 1,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "transaction_type": "cancelled",
          "refund_amount": 1,
          "retry_count": 1,
          "status": "pending",
          "modified_date": "2026-01-01T00:00:00.000Z",
          "created_date": "2026-01-01T00:00:00.000Z"
        },
        "mapping": {
          "pk": 1,
          "content_type": 1,
          "object_id": 1,
          "content_object": {},
          "integration_type": "hepsiburada",
          "code": "text",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "integration": {
          "integration": [
            {
              "channel": {
                "id": 1,
                "name": "Commerce Channel",
                "catalog": 1,
                "channel_type": "web",
                "conf": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "category_tree": "text",
                "is_active": true,
                "schema": {},
                "created_date": "2024-11-20T11:22:23.702774Z",
                "modified_date": "2024-11-20T11:22:23.702774Z"
              },
              "content_type": {
                "id": 1,
                "app_label": "text",
                "model": "text"
              },
              "object_id": 1,
              "remote_id": "text",
              "version_date": "2026-01-01T00:00:00.000Z",
              "state": {},
              "local_batch_id": "text",
              "status": "processing",
              "content_object": {}
            }
          ]
        },
        "modified_date": "2026-01-01T00:00:00.000Z",
        "created_date": "2026-01-01T00:00:00.000Z"
      },
      "related_cancellation_plan": {
        "pk": 1,
        "order": {
          "pk": 1,
          "number": "ORDER12345",
          "channel": 1,
          "customer": 1,
          "date_placed": "2024-11-20T11:22:23.702774Z",
          "extra_field": {
            "special_note": "Handle with care"
          },
          "payment_option": 1,
          "payment_option_slug": "credit-card",
          "bin_number": "123456",
          "installment": 1,
          "installment_count": 6,
          "installment_interest_amount": 50,
          "cargo_company": 1,
          "is_send": false,
          "delivery_type": "next_day",
          "cancellation_info": {
            "reason": "Customer requested cancellation"
          },
          "cancel_status": "cancelled",
          "shipping_interest_amount": 10,
          "external_status": 1,
          "client_type": "default",
          "carrier_shipping_code": "TRACK12345",
          "segment": "premium",
          "checkout_provider_id": 12345,
          "status": 200,
          "currency": "try",
          "amount": 1000,
          "discount_amount": 50,
          "shipping_amount": 20,
          "shipping_tax_rate": 18,
          "refund_amount": 100,
          "discount_refund_amount": 10,
          "shipping_refund_amount": 5,
          "invoice_number": "INV123456",
          "invoice_date": "2024-11-21T11:22:23.702774Z",
          "e_archive_url": "https://earchive.example.com/invoice/123",
          "tracking_number": "TRACK12345",
          "defined_tracking_url": "https://tracking.example.com/track/123",
          "shipping_company": "yurtici",
          "remote_addr": "192.168.0.1",
          "has_gift_box": false,
          "gift_box_note": "Happy Birthday!",
          "language_code": "en",
          "notes": "Leave at the front door.",
          "delivery_range": {
            "start": "2026-01-01T00:00:00.000Z",
            "end": "2026-01-01T00:00:00.000Z"
          },
          "shipping_option_slug": "standard-shipping",
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "invoice_number": "text",
        "order_previous_status": "cancellation_waiting",
        "shipping_refund_amount": 5,
        "status": "waiting",
        "retail_store_remote_id": "123456",
        "refund_amount": 10,
        "discount_refund_amount": 2,
        "plan_type": "cancel",
        "cancellationplanorderitem_set": [
          {
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          }
        ],
        "staff_remote_id": "654321",
        "created_by": {
          "pk": 1,
          "username": "johndoe",
          "first_name": "John",
          "last_name": "Doe",
          "email": "johndoe@test.com",
          "is_active": true,
          "is_staff": false,
          "is_superuser": false,
          "date_joined": "2023-10-01T12:00:00Z",
          "last_login": "2023-10-01T12:00:00Z",
          "groups": [
            1
          ],
          "can_read_sensitive_data": false,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "last_updated_by": {
          "pk": 1,
          "username": "johndoe",
          "first_name": "John",
          "last_name": "Doe",
          "email": "johndoe@test.com",
          "is_active": true,
          "is_staff": false,
          "is_superuser": false,
          "date_joined": "2023-10-01T12:00:00Z",
          "last_login": "2023-10-01T12:00:00Z",
          "groups": [
            1
          ],
          "can_read_sensitive_data": false,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "payment_plan": {},
        "modified_by_id": 1,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "refund_payment_plan": {
        "pk": 1,
        "cancellation_plan": {
          "pk": 1,
          "order": {
            "pk": 1,
            "number": "ORDER12345",
            "channel": 1,
            "customer": 1,
            "date_placed": "2024-11-20T11:22:23.702774Z",
            "extra_field": {
              "special_note": "Handle with care"
            },
            "payment_option": 1,
            "payment_option_slug": "credit-card",
            "bin_number": "123456",
            "installment": 1,
            "installment_count": 6,
            "installment_interest_amount": 50,
            "cargo_company": 1,
            "is_send": false,
            "delivery_type": "next_day",
            "cancellation_info": {
              "reason": "Customer requested cancellation"
            },
            "cancel_status": "cancelled",
            "shipping_interest_amount": 10,
            "external_status": 1,
            "client_type": "default",
            "carrier_shipping_code": "TRACK12345",
            "segment": "premium",
            "checkout_provider_id": 12345,
            "status": 200,
            "currency": "try",
            "amount": 1000,
            "discount_amount": 50,
            "shipping_amount": 20,
            "shipping_tax_rate": 18,
            "refund_amount": 100,
            "discount_refund_amount": 10,
            "shipping_refund_amount": 5,
            "invoice_number": "INV123456",
            "invoice_date": "2024-11-21T11:22:23.702774Z",
            "e_archive_url": "https://earchive.example.com/invoice/123",
            "tracking_number": "TRACK12345",
            "defined_tracking_url": "https://tracking.example.com/track/123",
            "shipping_company": "yurtici",
            "remote_addr": "192.168.0.1",
            "has_gift_box": false,
            "gift_box_note": "Happy Birthday!",
            "language_code": "en",
            "notes": "Leave at the front door.",
            "delivery_range": {
              "start": "2026-01-01T00:00:00.000Z",
              "end": "2026-01-01T00:00:00.000Z"
            },
            "shipping_option_slug": "standard-shipping",
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "invoice_number": "text",
          "order_previous_status": "cancellation_waiting",
          "shipping_refund_amount": 5,
          "status": "waiting",
          "retail_store_remote_id": "123456",
          "refund_amount": 10,
          "discount_refund_amount": 2,
          "plan_type": "cancel",
          "cancellationplanorderitem_set": [
            {
              "created_date": "2026-01-01T00:00:00.000Z",
              "modified_date": "2026-01-01T00:00:00.000Z"
            }
          ],
          "staff_remote_id": "654321",
          "created_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "last_updated_by": {
            "pk": 1,
            "username": "johndoe",
            "first_name": "John",
            "last_name": "Doe",
            "email": "johndoe@test.com",
            "is_active": true,
            "is_staff": false,
            "is_superuser": false,
            "date_joined": "2023-10-01T12:00:00Z",
            "last_login": "2023-10-01T12:00:00Z",
            "groups": [
              1
            ],
            "can_read_sensitive_data": false,
            "created_date": "2026-01-01T00:00:00.000Z",
            "modified_date": "2026-01-01T00:00:00.000Z"
          },
          "payment_plan": {},
          "modified_by_id": 1,
          "created_date": "2026-01-01T00:00:00.000Z",
          "modified_date": "2026-01-01T00:00:00.000Z"
        },
        "transaction_type": "cancelled",
        "refund_amount": 1,
        "retry_count": 1,
        "status": "pending",
        "modified_date": "2026-01-01T00:00:00.000Z",
        "created_date": "2026-01-01T00:00:00.000Z"
      },
      "mapping": {
        "pk": 1,
        "content_type": 1,
        "object_id": 1,
        "content_object": {},
        "integration_type": "hepsiburada",
        "code": "text",
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z"
      },
      "integration": {
        "integration": [
          {
            "channel": {
              "id": 1,
              "name": "Commerce Channel",
              "catalog": 1,
              "channel_type": "web",
              "conf": {
                "ANY_ADDITIONAL_PROPERTY": "text"
              },
              "category_tree": "text",
              "is_active": true,
              "schema": {},
              "created_date": "2024-11-20T11:22:23.702774Z",
              "modified_date": "2024-11-20T11:22:23.702774Z"
            },
            "content_type": {
              "id": 1,
              "app_label": "text",
              "model": "text"
            },
            "object_id": 1,
            "remote_id": "text",
            "version_date": "2026-01-01T00:00:00.000Z",
            "state": {},
            "local_batch_id": "text",
            "status": "processing",
            "content_object": {}
          }
        ]
      },
      "modified_date": "2026-01-01T00:00:00.000Z",
      "created_date": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Create mapping object for the order transaction

post

Create a mapping object for the order transaction with the specified ID

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Body
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional
content_typeintegerOptional

Associated content type id

object_idintegerOptional

Associated content type's object id value

content_objectobject · nullableOptional

Generic foreign key, handled dynamically

integration_typestring · enum · max: 20OptionalPossible values:
codestring · max: 499Optional

Code value of integration mapping

Responses
200

Order transaction mapping object successfully created

application/json
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional
content_typeintegerOptional

Associated content type id

object_idintegerOptional

Associated content type's object id value

content_objectobject · nullableOptional

Generic foreign key, handled dynamically

integration_typestring · enum · max: 20OptionalPossible values:
codestring · max: 499Optional

Code value of integration mapping

post/api/v1/order_transactions/{id}/create_mapping/
POST /api/v1/order_transactions/{id}/create_mapping/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 142

{
  "content_type": 1,
  "object_id": 1,
  "content_object": {},
  "integration_type": "hepsiburada",
  "code": "text",
  "modified_date": "2026-01-01T00:00:00.000Z"
}
{
  "pk": 1,
  "content_type": 1,
  "object_id": 1,
  "content_object": {},
  "integration_type": "hepsiburada",
  "code": "text",
  "created_date": "2026-01-01T00:00:00.000Z",
  "modified_date": "2026-01-01T00:00:00.000Z"
}

Get integration mapping types for the Cancellation Plan

get

Retrieve a list of integration mapping types associated with cancellation plans.

Authorizations
AuthorizationstringRequired
Responses
200

Integration mapping types successfully retrieved

application/json

Type of integration mapping

itemsstring · enumOptional

Type of integration mapping

Example: webPossible values:
get/api/v1/cancellation_plans/get_integration_mapping_types/
GET /api/v1/cancellation_plans/get_integration_mapping_types/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
[
  "web"
]

Get mappings for the cancellation plan with the specified ID

get

Get mappings for the cancellation plan with the specified ID

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200

Order transaction mappings successfully retrieved

application/json
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional
content_typeintegerOptional

Associated content type id

object_idintegerOptional

Associated content type's object id value

content_objectobject · nullableOptional

Generic foreign key, handled dynamically

integration_typestring · enum · max: 20OptionalPossible values:
codestring · max: 499Optional

Code value of integration mapping

get/api/v1/cancellation_plans/{id}/get_mappings/
GET /api/v1/cancellation_plans/{id}/get_mappings/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "created_date": "2026-01-01T00:00:00.000Z",
    "modified_date": "2026-01-01T00:00:00.000Z"
  }
]

Create mapping object for the cancellation plan with the specified ID

post

Create mapping object for the cancellation plan with the specified ID

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Body
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional
content_typeintegerOptional

Associated content type id

object_idintegerOptional

Associated content type's object id value

content_objectobject · nullableOptional

Generic foreign key, handled dynamically

integration_typestring · enum · max: 20OptionalPossible values:
codestring · max: 499Optional

Code value of integration mapping

Responses
200

CancellationPlan mapping object successfully created

application/json
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional
content_typeintegerOptional

Associated content type id

object_idintegerOptional

Associated content type's object id value

content_objectobject · nullableOptional

Generic foreign key, handled dynamically

integration_typestring · enum · max: 20OptionalPossible values:
codestring · max: 499Optional

Code value of integration mapping

post/api/v1/cancellation_plans/{id}/create_mapping/
POST /api/v1/cancellation_plans/{id}/create_mapping/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 142

{
  "content_type": 1,
  "object_id": 1,
  "content_object": {},
  "integration_type": "hepsiburada",
  "code": "text",
  "modified_date": "2026-01-01T00:00:00.000Z"
}
{
  "pk": 1,
  "content_type": 1,
  "object_id": 1,
  "content_object": {},
  "integration_type": "hepsiburada",
  "code": "text",
  "created_date": "2026-01-01T00:00:00.000Z",
  "modified_date": "2026-01-01T00:00:00.000Z"
}

Last updated

Was this helpful?