LogoLogo
  • Welcome to Akinon Documentation
  • Products
    • ACC
    • Omnitron
    • Commerce
    • Order Management System (OMS)
    • Instore
    • Integrator
    • Marketplace Dashboard (MPD)
    • Project Zero (PZ)
    • Seller Center
    • Akifast
    • App Maker
  • API Reference
    • Welcome to Akinon API Reference
  • Omnitron
    • Getting Started
    • Integration
      • Product
        • Product
        • Pre-Product
        • Attribute
        • Attribute Value
        • Attribute Set
        • Product Image
      • Price
        • Price List
        • Product Price
        • Currency Unit Table
      • Stock
        • Stock List
        • Product Stock
      • Order
        • Get Orders
        • Search Order
        • Get Order Detail by Order Number
        • Get Order Item Detail
        • Orders ID Detail Integration
        • Orders Waiting to Send to ERP
        • Update Order and Order Item
        • Stock Reservation Release
        • Order Cancellation
        • Cancellation & Refund Pending Orders
        • Order Discount Items
        • Order Status Codes & Cancellation Statuses
      • Migration
        • Getting Started
        • User Migration
        • Address Migration
        • Old Order Migration
        • Old Order Item Migration
        • View Migration Progress
        • Currency Options
    • PIM
      • Attributes & Sets
      • Mapping
      • Localization
      • Media
    • Catalogue
      • Introduction
      • Price List
      • Stock List
      • Catalogue Item
      • Category Trees
      • Product Collection
      • Product Sorting
    • Channels
      • Introduction
      • Payments
      • Customers
    • Order
      • Getting Started
      • Fulfillment
      • Cancellations & Refunds
    • Retail Stores
      • Retail Stores
    • User Management
      • Roles & Permissions
      • Add & Remove
    • Whippy Ware
      • Introduction
      • Stock
      • Stock Lists
      • Stock List Rules
      • Stock Providers
      • Stock Locations
  • Omnitron OpenAPIs
    • Without Server
      • Customers
      • Reporting
      • Deleted Items
      • Pos
      • AttributeValues
      • Attribute Values
      • Providers
      • LDAPProviders
      • Healthcheck
      • LoyaltyTransactions
      • Policies
      • Exports
      • Dashboard
      • AuthTOTP
      • Price Lists
      • ProductPrices
      • Districts
      • Cities
      • Countries
      • Townships
      • PrometheusMetrics
      • Language
      • Content Types
      • Mappings
      • Applications
      • ApplicationPermissions
      • Error Reports
      • MailTemplates
      • UploadLogo
      • SalesChannelMarketPlaceAttributeSetConfig
      • SalesChannelCancellationRequestImage
      • SalesChannelCities
      • SalesChannelCancellationReasons
      • SalesChannelCargoCompany
      • SalesChannelProductImage
      • SalesChannelAttributeConfig
      • SalesChannelAttributeValueConfig
      • SalesChannelTownships
      • SalesChannelCustomers
      • SalesChannelFailedIntegrations
      • SalesChannelGetStockList
      • SalesChannelRetailStore
      • IntegrationActions
      • SalesChannelOrderShippingInfo
      • SalesChannelBatchRequests
      • SalesChannelAddresses
      • SalesChannelMarketPlaceAttributeSet
      • SalesChannelErrorReports
      • SalesChannelCategoryNodes
      • SalesChannelDistricts
      • SalesChannelProductStock
      • SalesChannelExtraProductStock
      • SalesChannelOrders
      • SalesChannelCancellationPlans
      • SalesChannelExtraProductPrices
      • SalesChannelProduct
      • SalesChannelAttributeSchemas
      • SalesChannelProductCategories
      • SalesChannelCancellationRequests
      • SalesChannelMarketPlaceAttributeValue
      • SalesChannelMappedProduct
      • SalesChannelMarketPlaceAttribute
      • SalesChannelOrderItem
      • SalesChannelProductPrice
      • SalesChannelCreateOrder
      • GetPriceList
      • SalesChannelCountries
      • SalesChannelGetPriceList
      • SalesChannelCategoryTree
    • With Server
      • Customers
      • Reporting
      • Deleted Items
      • Pos
      • AttributeValues
      • Attribute Values
      • Providers
      • LDAPProviders
      • Healthcheck
      • LoyaltyTransactions
      • Policies
      • Exports
      • Dashboard
      • AuthTOTP
      • Price Lists
      • ProductPrices
      • Districts
      • Cities
      • Countries
      • Townships
      • PrometheusMetrics
      • Language
      • Mappings
      • Content Types
      • Applications
      • ApplicationPermissions
      • Error Reports
      • MailTemplates
      • UploadLogo
      • SalesChannelMarketPlaceAttributeSetConfig
      • SalesChannelCancellationRequestImage
      • SalesChannelCities
      • SalesChannelCancellationReasons
      • SalesChannelCargoCompany
      • SalesChannelProductImage
      • SalesChannelAttributeConfig
      • SalesChannelAttributeValueConfig
      • SalesChannelTownships
      • SalesChannelCustomers
      • SalesChannelFailedIntegrations
      • SalesChannelGetStockList
      • IntegrationActions
      • SalesChannelRetailStore
      • SalesChannelOrderShippingInfo
      • SalesChannelBatchRequests
      • SalesChannelAddresses
      • SalesChannelMarketPlaceAttributeSet
      • SalesChannelErrorReports
      • SalesChannelDistricts
      • SalesChannelCategoryNodes
      • SalesChannelProductStock
      • SalesChannelExtraProductStock
      • SalesChannelCountries
      • SalesChannelOrders
      • SalesChannelProduct
      • SalesChannelCancellationPlans
      • SalesChannelExtraProductPrices
      • SalesChannelProductCategories
      • SalesChannelAttributeSchemas
      • SalesChannelCancellationRequests
      • SalesChannelMarketPlaceAttributeValue
      • SalesChannelMappedProduct
      • SalesChannelMarketPlaceAttribute
      • SalesChannelOrderItem
      • SalesChannelProductPrice
      • SalesChannelCreateOrder
      • GetPriceList
      • SalesChannelGetPriceList
      • SalesChannelCategoryTree
  • Commerce
    • Users
      • Getting Started
      • User Management & Authentication
      • Password & OTP Operations
      • User Profile & Segment Management
      • User Payment & Card Management
      • User Orders & Cancellations
      • Anonymous User Orders & Cancellations
      • User Support & Conversation
      • Captcha Validation
      • Currency & Akifast Operations
    • Checkout
      • Payment Related
      • Payment Strategy Related
      • Shipping Related
      • Independent Pages
    • Product
    • User Collections
    • Basket
    • Discount
    • Autocomplete
    • Breadcrumb
    • Pretty URLs
    • Menu
    • Widgets
    • Loyalty Accounts
    • Address Migration
    • Index Configuration
    • Favourite Products
    • User Address
    • Data Warehouse
    • Introduction
      • Filtering Parameters
    • Data Warehouse
    • Default
  • OMS
    • Package Services
    • Package Item Services
    • Package Denial Reason Services
    • Order Services
    • Order Item Services
    • Transfer Order Services
    • Transfer Item Services
    • Channel Services
    • Cancellation Plan Services
    • Cancellation Reason Services
    • Address Setup Services
    • City Services
    • District Services
    • Township Services
    • Stock Location Address Services
    • Webhook Setup Services
    • Webhook Event Services
    • Omnitron Order Webhooks
    • Undelivered Webhook Event Services
    • Inventory Discrepancy Services
    • OMS Setup Services
    • UI Settings Services
    • OMS Audit Events Service
    • Customer Address Services
    • Application Settings Services
    • Content Type Services
    • Customer Services
    • Channel Setup Services
    • Demo Data Service
    • Order Execution Plan Services
    • Invoice Services
    • Localization Services
    • Action Log Services
    • Order Log Services
    • Celery Metrics Service
    • Stock Location Services
    • Stock Location Address Services
    • Stock Location Sender Address Services
    • Stock Location Sender Address Setup Services
    • Cargo Company Condition Services
    • Permission Group Services
  • OMS OpenAPIs
    • Package Services
      • Default
    • Transfer Order Services
      • Default
  • Instore
    • Password Reset Services
  • Integrator
    • Projects
    • Flows
    • Logs
  • Seller Center
    • Languages
    • Categories
    • Introduction
    • Products
    • Packages
    • Orders
    • Claims
    • Shipping Methods
  • Akifast
    • Authentication
  • B2B
    • Quotation
    • Basket
    • Division
    • User
    • Staff User
    • Groups
    • Notification
    • Notification Template
  • Flows
    • Shipment Flows
    • Payment Flows
    • SMS Flows
    • Basket Offer Flows
Powered by GitBook

© 2025 Akinon. All rights reserved.

On this page

Was this helpful?

  1. Omnitron OpenAPIs
  2. Without Server

SalesChannelOrders

PreviousSalesChannelExtraProductStockNextSalesChannelCancellationPlans

Was this helpful?

Get remote ID of an order

get

Retrieve the remote ID of an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200
Remote ID found successfully
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/{id}/get_remote_id/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "order_id": 123456,
  "remote_id": "123456789"
}

Order find by ID

get

Retrieve order detailed by ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200
Order found successfully
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/{id}/detailed/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Get order gateway pos history

get

Retrieve the gateway pos history for the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200
Gateway pos history found successfully
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/{id}/gateway_pos_history/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "gateway_pos_history": {
    "is_success": true,
    "message": "text",
    "gateway": "text",
    "history": "text"
  }
}

Order find by ID

get

Retrieve order by ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
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
Responses
200
Order found successfully
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/{id}/data_sources/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 0,
  "next": "text",
  "previous": "text",
  "results": [
    {
      "pk": 1,
      "name": "text"
    }
  ]
}

List orders

get

Retrieve a list of orders with optional filtering

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
pk__ininteger[]Optional

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

mappingintegerOptional

Filters by mapping id

statusstring · enumOptional

Status of the order item

Possible values:
is_sendbooleanOptional

Filter by whether the order has been sent

shipping_companystring · enumOptional

Filter by shipping company enum

Possible values:
cancel_statusstring · enumOptional

Filter by cancel status

Possible values:
invoice_numberstringOptional

Filter by invoice number

invoice_number__isnullbooleanOptional

Filter by whether the invoice number is null

customer_idintegerOptional

Filter by customer ID.

Example: 123
currencystring · enumOptional

Currency type for the price list.

Example: tryPossible values:
has_gift_boxbooleanOptional

Filter by whether the order has a gift box

has_gift_notebooleanOptional

Filter by whether the order has a gift note

e_archive_url__isnullbooleanOptional

Filter by whether the e-archive URL is null

date_placedstring · date-timeOptional

Order number (case-insensitive)

date_placed__gtestring · date-timeOptional
date_placed__gtstring · date-timeOptional

Order placed after this date

date_placed__ltstring · date-timeOptional
date_placed__ltestring · date-timeOptional
date_placed__date__gtstring · dateOptional
date_placed__date__gtestring · dateOptional
date_placed__date__ltstring · dateOptional
date_placed__date__ltestring · dateOptional
cargo_company__namestringOptional

Filter by cargo company name

payment_optioninteger[]Optional

Filter by payment option IDs

fund_transfer_payment_bankinteger[]Optional

Filter by fund transfer payment bank IDs

delivery_optioninteger[]Optional

Filter by delivery option IDs

skustringOptional

Product SKU (case-insensitive)

base_codestringOptional

Filter by base code.

Example: BASECODE123
amountnumber · decimalOptional

Filter by order amount

discount_amountnumber · decimalOptional

Filter by discount amount

posstringOptional

Filter by point of sale name

external_statusintegerOptional

Filter by order external status ID

number__exactstringOptional

Filter by exact order number

client_typestring · enumOptional

Type of client

Example: androidPossible values:
cancellation_plan_statusstring · enumOptional

Status of the cancellation plan

Example: waitingPossible values:
shipping_amountnumber · decimalOptional

Filter by shipping amount

shipping_amount__gtnumber · decimalOptional

Filter by shipping amount greater than a value

shipping_amount__gtenumber · decimalOptional

Filter by shipping amount greater than or equal to a value

shipping_amount__ltnumber · decimalOptional

Filter by shipping amount less than a value

shipping_amount__ltenumber · decimalOptional

Filter by shipping amount less than or equal to a value

numberstringOptional

Order number (case-insensitive)

tracking_numberstringOptional

Tracking number (case-insensitive)

coupon_codestringOptional

Filter by coupon code

data_sourceinteger[]Optional

Filter by data source IDs.

vendororder__isnullbooleanOptional

Filter by whether the vendor order is null

brand__exactstringOptional

Filter by exact brand name

succeeded_transaction_or_payment_optioninteger[]Optional

Filter by succeeded transaction or payment option ID

waiting_capturebooleanOptional

Filter by whether the order is waiting for capture

checkout_provider_id__ininteger[]Optional

Filter by checkout provider IDs

erp_codestringOptional

Filter by ERP code (contains)

Example: ERPCODE123
Responses
200
Successful response
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 0,
  "next": "text",
  "previous": "text",
  "results": [
    {
      "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": "2025-05-22T10:08:23.421Z",
        "end": "2025-05-22T10:08:23.421Z"
      },
      "shipping_option_slug": "standard-shipping",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ]
}

List orders with details

get

Retrieve a list of orders with optional filtering and detailed information

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
pk__ininteger[]Optional

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

mappingintegerOptional

Filters by mapping id

statusstring · enumOptional

Status of the order item

Possible values:
is_sendbooleanOptional

Filter by whether the order has been sent

shipping_companystring · enumOptional

Filter by shipping company enum

Possible values:
cancel_statusstring · enumOptional

Filter by cancel status

Possible values:
invoice_numberstringOptional

Filter by invoice number

invoice_number__isnullbooleanOptional

Filter by whether the invoice number is null

customer_idintegerOptional

Filter by customer ID.

Example: 123
currencystring · enumOptional

Currency type for the price list.

Example: tryPossible values:
has_gift_boxbooleanOptional

Filter by whether the order has a gift box

has_gift_notebooleanOptional

Filter by whether the order has a gift note

e_archive_url__isnullbooleanOptional

Filter by whether the e-archive URL is null

date_placedstring · date-timeOptional

Order number (case-insensitive)

date_placed__gtestring · date-timeOptional
date_placed__gtstring · date-timeOptional

Order placed after this date

date_placed__ltstring · date-timeOptional
date_placed__ltestring · date-timeOptional
date_placed__date__gtstring · dateOptional
date_placed__date__gtestring · dateOptional
date_placed__date__ltstring · dateOptional
date_placed__date__ltestring · dateOptional
cargo_company__namestringOptional

Filter by cargo company name

payment_optioninteger[]Optional

Filter by payment option IDs

fund_transfer_payment_bankinteger[]Optional

Filter by fund transfer payment bank IDs

delivery_optioninteger[]Optional

Filter by delivery option IDs

skustringOptional

Product SKU (case-insensitive)

base_codestringOptional

Filter by base code.

Example: BASECODE123
amountnumber · decimalOptional

Filter by order amount

discount_amountnumber · decimalOptional

Filter by discount amount

posstringOptional

Filter by point of sale name

external_statusintegerOptional

Filter by order external status ID

number__exactstringOptional

Filter by exact order number

client_typestring · enumOptional

Type of client

Example: androidPossible values:
cancellation_plan_statusstring · enumOptional

Status of the cancellation plan

Example: waitingPossible values:
shipping_amountnumber · decimalOptional

Filter by shipping amount

shipping_amount__gtnumber · decimalOptional

Filter by shipping amount greater than a value

shipping_amount__gtenumber · decimalOptional

Filter by shipping amount greater than or equal to a value

shipping_amount__ltnumber · decimalOptional

Filter by shipping amount less than a value

shipping_amount__ltenumber · decimalOptional

Filter by shipping amount less than or equal to a value

numberstringOptional

Order number (case-insensitive)

tracking_numberstringOptional

Tracking number (case-insensitive)

coupon_codestringOptional

Filter by coupon code

data_sourceinteger[]Optional

Filter by data source IDs.

vendororder__isnullbooleanOptional

Filter by whether the vendor order is null

brand__exactstringOptional

Filter by exact brand name

succeeded_transaction_or_payment_optioninteger[]Optional

Filter by succeeded transaction or payment option ID

waiting_capturebooleanOptional

Filter by whether the order is waiting for capture

checkout_provider_id__ininteger[]Optional

Filter by checkout provider IDs

erp_codestringOptional

Filter by ERP code (contains)

Example: ERPCODE123
Responses
200
Successful response
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/detailed/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "pk": 1,
    "number": "ORDER12345",
    "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"
    },
    "status": "cancellation_waiting",
    "date_placed": "2024-11-20T11:22:23.702774Z",
    "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
    },
    "shipping_address": {
      "pk": 1,
      "email": "name@gmail.com",
      "phone_number": "text",
      "first_name": "text",
      "last_name": "text",
      "country": {
        "id": 1,
        "name": "Türkiye",
        "code": "TR",
        "is_active": true,
        "created_date": "2021-07-07T14:00:00Z",
        "modified_date": "2021-07-07T14:00:00Z",
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        }
      },
      "city": {
        "id": 1,
        "name": "Istanbul",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "is_active": true,
        "country": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "priority": 1,
        "postcode": "34000"
      },
      "line": "text",
      "title": "text",
      "township": {
        "pk": 1,
        "name": "Esenler",
        "is_active": true,
        "city": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "district": {
        "pk": 1,
        "name": "Davutpasa",
        "is_active": true,
        "city": 1,
        "township": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "zipcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "postcode": "text",
      "notes": "text",
      "company_name": "text",
      "tax_office": "text",
      "tax_no": "text",
      "e_bill_taxpayer": true,
      "hash_data": "text",
      "address_type": "customer",
      "retail_store": {
        "pk": 1,
        "name": "Downtown Flagship Store",
        "township_id": 12,
        "district_id": 3,
        "address": "500 Market St, San Francisco, CA 94103",
        "phone_number": "+1-234-567-890",
        "fax_phone_number": "+1-234-567-890",
        "image": "https://cdn.example.com/stores/1.jpg",
        "store_hours": [
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "10:00",
            "20:00"
          ],
          [
            "12:00",
            "18:00"
          ]
        ],
        "latitude": 41.0202767,
        "longitude": 28.8888964,
        "is_active": true,
        "click_and_collect": true,
        "kapida_enabled": false,
        "fast_delivery": true,
        "store_type_id": 2,
        "config": {
          "auto_assign": true,
          "capacity_limit": 200
        },
        "group_id": 4,
        "related_retail_stores": [
          102,
          103
        ],
        "sort_order": 10,
        "is_return_accepted": true,
        "channels": [
          1,
          2,
          5
        ],
        "mapping": [
          {
            "created_date": "2025-05-22T10:08:23.421Z",
            "modified_date": "2025-05-22T10:08:23.421Z"
          }
        ],
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "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": "2025-05-22T10:08:23.421Z",
            "state": {},
            "local_batch_id": "text",
            "status": "processing",
            "content_object": {}
          }
        ]
      },
      "remote_id": "text",
      "identity_number": "text",
      "extra_field": {},
      "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
      },
      "is_active": true,
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "billing_address": {
      "pk": 1,
      "email": "name@gmail.com",
      "phone_number": "text",
      "first_name": "text",
      "last_name": "text",
      "country": {
        "id": 1,
        "name": "Türkiye",
        "code": "TR",
        "is_active": true,
        "created_date": "2021-07-07T14:00:00Z",
        "modified_date": "2021-07-07T14:00:00Z",
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        }
      },
      "city": {
        "id": 1,
        "name": "Istanbul",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "is_active": true,
        "country": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "priority": 1,
        "postcode": "34000"
      },
      "line": "text",
      "title": "text",
      "township": {
        "pk": 1,
        "name": "Esenler",
        "is_active": true,
        "city": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "district": {
        "pk": 1,
        "name": "Davutpasa",
        "is_active": true,
        "city": 1,
        "township": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "zipcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "postcode": "text",
      "notes": "text",
      "company_name": "text",
      "tax_office": "text",
      "tax_no": "text",
      "e_bill_taxpayer": true,
      "hash_data": "text",
      "address_type": "customer",
      "retail_store": {
        "pk": 1,
        "name": "Downtown Flagship Store",
        "township_id": 12,
        "district_id": 3,
        "address": "500 Market St, San Francisco, CA 94103",
        "phone_number": "+1-234-567-890",
        "fax_phone_number": "+1-234-567-890",
        "image": "https://cdn.example.com/stores/1.jpg",
        "store_hours": [
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "10:00",
            "20:00"
          ],
          [
            "12:00",
            "18:00"
          ]
        ],
        "latitude": 41.0202767,
        "longitude": 28.8888964,
        "is_active": true,
        "click_and_collect": true,
        "kapida_enabled": false,
        "fast_delivery": true,
        "store_type_id": 2,
        "config": {
          "auto_assign": true,
          "capacity_limit": 200
        },
        "group_id": 4,
        "related_retail_stores": [
          102,
          103
        ],
        "sort_order": 10,
        "is_return_accepted": true,
        "channels": [
          1,
          2,
          5
        ],
        "mapping": [
          {
            "created_date": "2025-05-22T10:08:23.421Z",
            "modified_date": "2025-05-22T10:08:23.421Z"
          }
        ],
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "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": "2025-05-22T10:08:23.421Z",
            "state": {},
            "local_batch_id": "text",
            "status": "processing",
            "content_object": {}
          }
        ]
      },
      "remote_id": "text",
      "identity_number": "text",
      "extra_field": {},
      "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
      },
      "is_active": true,
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "currency": "try",
    "amount": 1000,
    "shipping_amount": 20,
    "shipping_tax_rate": 18,
    "extra_field": {},
    "transaction_set": [
      {
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      }
    ],
    "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"
      }
    },
    "payment_option_slug": "credit-card",
    "bin_number": "123456",
    "cargo_company": {
      "pk": 1,
      "name": "UPS",
      "erp_code": "UPS_001",
      "shipping_company": "yurtici",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "invoice_number": "INV123456",
    "invoice_date": "2024-11-21T11:22:23.702774Z",
    "e_archive_url": "https://earchive.example.com/invoice/123",
    "refund_amount": 100,
    "discount_refund_amount": 10,
    "shipping_refund_amount": 5,
    "discount_amount": 50,
    "cancellation_info": {},
    "status_display": "waiting",
    "tracking_number": "TRACK12345",
    "is_send": false,
    "cancel_status": "waiting",
    "net_shipping_amount": 15,
    "remote_addr": "0.0.0.0",
    "has_gift_box": false,
    "gift_box_note": "Happy Birthday!",
    "external_status": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "code": "text"
    },
    "client_type": "android",
    "shipping_interest_amount": 10,
    "include_unified_order": false,
    "delivery_range": {
      "start": "2025-05-22T10:08:23.421Z",
      "end": "2025-05-22T10:08:23.421Z"
    },
    "segment": "premium",
    "vendororder_set": [
      {
        "data_source": {
          "pk": 1,
          "name": "Example Data Source",
          "slug": "example-data-source",
          "stock_list": 1,
          "price_list": 1,
          "is_active": true,
          "token": "text",
          "conf": {},
          "commission": 5,
          "maturity": 1,
          "supplier_code": "text",
          "supplier_detail": {},
          "easy_return_detail": {},
          "extras": {},
          "data_source_type": "unified",
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      }
    ],
    "defined_tracking_url": "https://tracking.example.com/track/123",
    "installment_free": false
  }
]

Update order status

get

Update order status of the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200
Order status successfully updated
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/{id}/update_order_status/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "pk": 1,
    "number": "ORDER12345",
    "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"
    },
    "status": "cancellation_waiting",
    "date_placed": "2024-11-20T11:22:23.702774Z",
    "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
    },
    "shipping_address": {
      "pk": 1,
      "email": "name@gmail.com",
      "phone_number": "text",
      "first_name": "text",
      "last_name": "text",
      "country": {
        "id": 1,
        "name": "Türkiye",
        "code": "TR",
        "is_active": true,
        "created_date": "2021-07-07T14:00:00Z",
        "modified_date": "2021-07-07T14:00:00Z",
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        }
      },
      "city": {
        "id": 1,
        "name": "Istanbul",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "is_active": true,
        "country": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "priority": 1,
        "postcode": "34000"
      },
      "line": "text",
      "title": "text",
      "township": {
        "pk": 1,
        "name": "Esenler",
        "is_active": true,
        "city": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "district": {
        "pk": 1,
        "name": "Davutpasa",
        "is_active": true,
        "city": 1,
        "township": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "zipcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "postcode": "text",
      "notes": "text",
      "company_name": "text",
      "tax_office": "text",
      "tax_no": "text",
      "e_bill_taxpayer": true,
      "hash_data": "text",
      "address_type": "customer",
      "retail_store": {
        "pk": 1,
        "name": "Downtown Flagship Store",
        "township_id": 12,
        "district_id": 3,
        "address": "500 Market St, San Francisco, CA 94103",
        "phone_number": "+1-234-567-890",
        "fax_phone_number": "+1-234-567-890",
        "image": "https://cdn.example.com/stores/1.jpg",
        "store_hours": [
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "10:00",
            "20:00"
          ],
          [
            "12:00",
            "18:00"
          ]
        ],
        "latitude": 41.0202767,
        "longitude": 28.8888964,
        "is_active": true,
        "click_and_collect": true,
        "kapida_enabled": false,
        "fast_delivery": true,
        "store_type_id": 2,
        "config": {
          "auto_assign": true,
          "capacity_limit": 200
        },
        "group_id": 4,
        "related_retail_stores": [
          102,
          103
        ],
        "sort_order": 10,
        "is_return_accepted": true,
        "channels": [
          1,
          2,
          5
        ],
        "mapping": [
          {
            "created_date": "2025-05-22T10:08:23.421Z",
            "modified_date": "2025-05-22T10:08:23.421Z"
          }
        ],
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "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": "2025-05-22T10:08:23.421Z",
            "state": {},
            "local_batch_id": "text",
            "status": "processing",
            "content_object": {}
          }
        ]
      },
      "remote_id": "text",
      "identity_number": "text",
      "extra_field": {},
      "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
      },
      "is_active": true,
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "billing_address": {
      "pk": 1,
      "email": "name@gmail.com",
      "phone_number": "text",
      "first_name": "text",
      "last_name": "text",
      "country": {
        "id": 1,
        "name": "Türkiye",
        "code": "TR",
        "is_active": true,
        "created_date": "2021-07-07T14:00:00Z",
        "modified_date": "2021-07-07T14:00:00Z",
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        }
      },
      "city": {
        "id": 1,
        "name": "Istanbul",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "is_active": true,
        "country": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "priority": 1,
        "postcode": "34000"
      },
      "line": "text",
      "title": "text",
      "township": {
        "pk": 1,
        "name": "Esenler",
        "is_active": true,
        "city": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "district": {
        "pk": 1,
        "name": "Davutpasa",
        "is_active": true,
        "city": 1,
        "township": 1,
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "postcode": "34000",
        "zipcode": "34000",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "postcode": "text",
      "notes": "text",
      "company_name": "text",
      "tax_office": "text",
      "tax_no": "text",
      "e_bill_taxpayer": true,
      "hash_data": "text",
      "address_type": "customer",
      "retail_store": {
        "pk": 1,
        "name": "Downtown Flagship Store",
        "township_id": 12,
        "district_id": 3,
        "address": "500 Market St, San Francisco, CA 94103",
        "phone_number": "+1-234-567-890",
        "fax_phone_number": "+1-234-567-890",
        "image": "https://cdn.example.com/stores/1.jpg",
        "store_hours": [
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "09:00",
            "21:00"
          ],
          [
            "10:00",
            "20:00"
          ],
          [
            "12:00",
            "18:00"
          ]
        ],
        "latitude": 41.0202767,
        "longitude": 28.8888964,
        "is_active": true,
        "click_and_collect": true,
        "kapida_enabled": false,
        "fast_delivery": true,
        "store_type_id": 2,
        "config": {
          "auto_assign": true,
          "capacity_limit": 200
        },
        "group_id": 4,
        "related_retail_stores": [
          102,
          103
        ],
        "sort_order": 10,
        "is_return_accepted": true,
        "channels": [
          1,
          2,
          5
        ],
        "mapping": [
          {
            "created_date": "2025-05-22T10:08:23.421Z",
            "modified_date": "2025-05-22T10:08:23.421Z"
          }
        ],
        "translations": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z",
        "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": "2025-05-22T10:08:23.421Z",
            "state": {},
            "local_batch_id": "text",
            "status": "processing",
            "content_object": {}
          }
        ]
      },
      "remote_id": "text",
      "identity_number": "text",
      "extra_field": {},
      "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
      },
      "is_active": true,
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "currency": "try",
    "amount": 1000,
    "shipping_amount": 20,
    "shipping_tax_rate": 18,
    "extra_field": {},
    "transaction_set": [
      {
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      }
    ],
    "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"
      }
    },
    "payment_option_slug": "credit-card",
    "bin_number": "123456",
    "cargo_company": {
      "pk": 1,
      "name": "UPS",
      "erp_code": "UPS_001",
      "shipping_company": "yurtici",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "invoice_number": "INV123456",
    "invoice_date": "2024-11-21T11:22:23.702774Z",
    "e_archive_url": "https://earchive.example.com/invoice/123",
    "refund_amount": 100,
    "discount_refund_amount": 10,
    "shipping_refund_amount": 5,
    "discount_amount": 50,
    "cancellation_info": {},
    "status_display": "waiting",
    "tracking_number": "TRACK12345",
    "is_send": false,
    "cancel_status": "waiting",
    "net_shipping_amount": 15,
    "remote_addr": "0.0.0.0",
    "has_gift_box": false,
    "gift_box_note": "Happy Birthday!",
    "external_status": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "code": "text"
    },
    "client_type": "android",
    "shipping_interest_amount": 10,
    "include_unified_order": false,
    "delivery_range": {
      "start": "2025-05-22T10:08:23.421Z",
      "end": "2025-05-22T10:08:23.421Z"
    },
    "segment": "premium",
    "vendororder_set": [
      {
        "data_source": {
          "pk": 1,
          "name": "Example Data Source",
          "slug": "example-data-source",
          "stock_list": 1,
          "price_list": 1,
          "is_active": true,
          "token": "text",
          "conf": {},
          "commission": 5,
          "maturity": 1,
          "supplier_code": "text",
          "supplier_detail": {},
          "easy_return_detail": {},
          "extras": {},
          "data_source_type": "unified",
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      }
    ],
    "defined_tracking_url": "https://tracking.example.com/track/123",
    "installment_free": false
  }
]
  • POSTBulk replace products in an order
  • GETOrder find by ID
  • PUTUpdates an order
  • PATCHPartial update of an order
  • POSTUpdate cancel status of an order
  • GETGet remote ID of an order
  • GETOrder find by ID
  • GETGet order gateway pos history
  • POSTCapture order
  • POSTAccept an order in retail store
  • POSTBulk update tracking number status
  • PATCHChange order status
  • POSTChange order shipping address
  • POSTBulk replace products and reduce weights in an order
  • POSTCancel an order
  • GETOrder find by ID
  • GETList orders
  • POSTCreate a new order
  • GETList orders with details
  • POSTCreate mapping object for the order
  • POSTChange order billing address
  • POSTRefund an order
  • POSTDeliver an order in retail store to the customer
  • POSTStatus of the bulk update tracking number action
  • POSTMark order as not sent
  • GETUpdate order status
  • POSTCancel an order
  • POSTSplit packages of an order
  • POSTBulk reduce weights in an order
  • POSTCancel an order

Order find by ID

get

Retrieve order by ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200
Order found successfully
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
get
GET /api/v1/channel/{channel_id}/orders/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Bulk replace products in an order

post

Replace multiple products in an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body

List of order items for product replacement

order_itemintegerOptional

Order item ID for product replacement

Example: 1
new_product_skustringOptional

New product SKU for replacement

Example: NEW_SKU_123
Responses
200
Products successfully replaced in the order
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/bulk_replace_product/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

[]
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Updates an order

put

Updates the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
pkintegerOptional

Unique identifier for the order.

Example: 1
numberstringRequired

Order number, unique within the context of a channel.

Example: ORDER12345
channelintegerRequired

ID of the channel associated with the order.

customerintegerRequired

ID of the customer who placed the order.

Example: 1
date_placedstring · date-timeRequired

Timestamp when the order was placed.

Example: 2024-11-20T11:22:23.702774Z
payment_optionintegerOptional

ID of the payment option used for the order.

Example: 1
payment_option_slugstring | nullableOptional

Slug of the payment option.

Example: credit-card
bin_numberstring | nullableOptional

First 6 digits of the customer's card used in the transaction.

Example: 123456
installmentintegerOptional

ID of the installment object used for the order.

Example: 1
installment_countinteger | nullableOptional

Number of installments for the payment.

Example: 6
installment_interest_amountnumber · decimalOptional

Interest charged on installment payments.

Example: 50
cargo_companyintegerOptional

ID of the cargo company used for shipping.

Example: 1
is_sendbooleanOptional

Indicates whether the order has been sent.

Example: false
delivery_typestring · enum | nullableOptional

Type of delivery selected for the order.

Example: next_dayPossible values:
cancellation_infoobjectOptional

Details regarding the cancellation of the order.

Example: {"reason":"Customer requested cancellation"}
cancel_statusstring · enum | nullableOptional

Status of the order cancellation.

Example: cancelledPossible values:
shipping_interest_amountnumber · decimalOptional

Interest applied to the shipping cost.

Example: 10
external_statusintegerOptional

ID of the external status associated with the order.

Example: 1
client_typestring · enumOptional

Type of client placing the order.

Example: defaultPossible values:
carrier_shipping_codestring | nullableOptional

Tracking code assigned by the carrier.

Example: TRACK12345
segmentstring | nullableOptional

Customer segment for the order.

Example: premium
checkout_provider_idinteger | nullableOptional

ID of the provider used for checkout.

Example: 12345
statusstring · enumRequired

Status of the order

Example: 200Possible values:
currencystring · enumOptional

Currency type for the order, following ISO 4217 currency codes.

Example: tryPossible values:
amountnumber · decimalRequired

Total amount for the order.

Example: 1000
discount_amountnumber · decimalOptional

Discount applied to the order.

Example: 50
shipping_amountnumber · decimalOptional

Shipping charge for the order.

Example: 20
shipping_tax_ratenumber · decimal | nullableOptional

Tax rate applied to the shipping charge.

Example: 18
refund_amountnumber · decimalOptional

Total refund amount for the order. Shipping refund amount included.

Example: 100
discount_refund_amountnumber · decimalOptional

Refund amount for the discount.

Example: 10
shipping_refund_amountnumber · decimalOptional

Refund amount for the shipping.

Example: 5
invoice_numberstring | nullableOptional

Invoice number for the order.

Example: INV123456
invoice_datestring · date-time | nullableOptional

Invoice date for the order.

Example: 2024-11-21T11:22:23.702774Z
e_archive_urlstring · url | nullableOptional

URL for the e-archive of the invoice.

Example: https://earchive.example.com/invoice/123
tracking_numberstring | nullableOptional

Tracking number for the order.

Example: TRACK12345
defined_tracking_urlstring · url | nullableOptional

URL for tracking the order.

Example: https://tracking.example.com/track/123
shipping_companystring · enumOptional

Shipping company options

Example: yurticiPossible values:
remote_addrstring · ipv4 | nullableOptional

IP address from where the order was placed.

Example: 192.168.0.1
has_gift_boxbooleanOptional

Indicates whether the order has a gift box.

Example: false
gift_box_notestring | nullableOptional

Message for the gift box.

Example: Happy Birthday!
language_codestring | nullableOptional

Language code for the order.

Example: en
notesstring | nullableOptional

Customer instructions for the order.

Example: Leave at the front door.
shipping_option_slugstring | nullableOptional

Slug for the shipping option.

Example: standard-shipping
created_datestring · date-timeOptional

Creation Date

modified_datestring · date-timeOptional

Last Modification Date

Responses
200
Order successfully updated
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
put
PUT /api/v1/channel/{channel_id}/orders/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1406

{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}
{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Partial update of an order

patch

Partially updates the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
pkintegerOptional

Unique identifier for the order.

Example: 1
numberstringRequired

Order number, unique within the context of a channel.

Example: ORDER12345
channelintegerRequired

ID of the channel associated with the order.

customerintegerRequired

ID of the customer who placed the order.

Example: 1
date_placedstring · date-timeRequired

Timestamp when the order was placed.

Example: 2024-11-20T11:22:23.702774Z
payment_optionintegerOptional

ID of the payment option used for the order.

Example: 1
payment_option_slugstring | nullableOptional

Slug of the payment option.

Example: credit-card
bin_numberstring | nullableOptional

First 6 digits of the customer's card used in the transaction.

Example: 123456
installmentintegerOptional

ID of the installment object used for the order.

Example: 1
installment_countinteger | nullableOptional

Number of installments for the payment.

Example: 6
installment_interest_amountnumber · decimalOptional

Interest charged on installment payments.

Example: 50
cargo_companyintegerOptional

ID of the cargo company used for shipping.

Example: 1
is_sendbooleanOptional

Indicates whether the order has been sent.

Example: false
delivery_typestring · enum | nullableOptional

Type of delivery selected for the order.

Example: next_dayPossible values:
cancellation_infoobjectOptional

Details regarding the cancellation of the order.

Example: {"reason":"Customer requested cancellation"}
cancel_statusstring · enum | nullableOptional

Status of the order cancellation.

Example: cancelledPossible values:
shipping_interest_amountnumber · decimalOptional

Interest applied to the shipping cost.

Example: 10
external_statusintegerOptional

ID of the external status associated with the order.

Example: 1
client_typestring · enumOptional

Type of client placing the order.

Example: defaultPossible values:
carrier_shipping_codestring | nullableOptional

Tracking code assigned by the carrier.

Example: TRACK12345
segmentstring | nullableOptional

Customer segment for the order.

Example: premium
checkout_provider_idinteger | nullableOptional

ID of the provider used for checkout.

Example: 12345
statusstring · enumRequired

Status of the order

Example: 200Possible values:
currencystring · enumOptional

Currency type for the order, following ISO 4217 currency codes.

Example: tryPossible values:
amountnumber · decimalRequired

Total amount for the order.

Example: 1000
discount_amountnumber · decimalOptional

Discount applied to the order.

Example: 50
shipping_amountnumber · decimalOptional

Shipping charge for the order.

Example: 20
shipping_tax_ratenumber · decimal | nullableOptional

Tax rate applied to the shipping charge.

Example: 18
refund_amountnumber · decimalOptional

Total refund amount for the order. Shipping refund amount included.

Example: 100
discount_refund_amountnumber · decimalOptional

Refund amount for the discount.

Example: 10
shipping_refund_amountnumber · decimalOptional

Refund amount for the shipping.

Example: 5
invoice_numberstring | nullableOptional

Invoice number for the order.

Example: INV123456
invoice_datestring · date-time | nullableOptional

Invoice date for the order.

Example: 2024-11-21T11:22:23.702774Z
e_archive_urlstring · url | nullableOptional

URL for the e-archive of the invoice.

Example: https://earchive.example.com/invoice/123
tracking_numberstring | nullableOptional

Tracking number for the order.

Example: TRACK12345
defined_tracking_urlstring · url | nullableOptional

URL for tracking the order.

Example: https://tracking.example.com/track/123
shipping_companystring · enumOptional

Shipping company options

Example: yurticiPossible values:
remote_addrstring · ipv4 | nullableOptional

IP address from where the order was placed.

Example: 192.168.0.1
has_gift_boxbooleanOptional

Indicates whether the order has a gift box.

Example: false
gift_box_notestring | nullableOptional

Message for the gift box.

Example: Happy Birthday!
language_codestring | nullableOptional

Language code for the order.

Example: en
notesstring | nullableOptional

Customer instructions for the order.

Example: Leave at the front door.
shipping_option_slugstring | nullableOptional

Slug for the shipping option.

Example: standard-shipping
created_datestring · date-timeOptional

Creation Date

modified_datestring · date-timeOptional

Last Modification Date

Responses
200
Order successfully updated
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
patch
PATCH /api/v1/channel/{channel_id}/orders/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1406

{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}
{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Update cancel status of an order

post

Update the cancel status of the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
orderintegerOptional

ID of the order to be updated.

Example: 1
order_itemsinteger[]Optional

List of order item IDs to be updated.

Example: [1,2,3]
cancel_statusstring · enumOptional

Cancellation status of the order item

Example: waitingPossible values:
Responses
200
Order cancel status successfully updated
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/update_cancel_status/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "order": 1,
  "order_items": [
    [
      1,
      2,
      3
    ]
  ],
  "cancel_status": "waiting"
}
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Capture order

post

Capture order with given id

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
force_refundbooleanOptionalExample: true
Responses
200
Order capture done successfully
application/json
Responseobject

An empty dictionary

400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/capture_order/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "force_refund": true
}
{}

Accept an order in retail store

post

Accept when staff took the order in retail store. Update order item statuses to ready_for_pickup.

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
objectOptional

An empty dictionary

Responses
200
Order successfully accepted in store
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/accept_in_store/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Bulk update tracking number status

post
Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
filenamestring · binaryOptional

The file containing the tracking numbers to be updated.

Responses
200
Tracking number status successfully updated
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/bulk_tracking_number_update/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: form-data
Accept: */*
Content-Length: 21

{
  "filename": "binary"
}
{
  "cache": "123e4567-e89b-12d3-a456-426614174000"
}

Change order status

patch

Change the status of the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
statusstring · enumOptional

Status of the order item

Possible values:
Responses
200
Order status successfully updated
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
patch
PATCH /api/v1/channel/{channel_id}/orders/{id}/change_order_status/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "status": "cancellation_waiting"
}

No content

Change order shipping address

post

Change the shipping address of the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
pkintegerOptional

Primary key of the address

emailstring · emailOptional

Email address of the contact person

phone_numberstringRequired

Phone number of the contact person

first_namestringOptional

First name of the contact person

last_namestringOptional

Last name of the contact person

linestringOptional

Street address line

titlestringOptional

Title of the contact person

postcodestringOptional

Postal code

notesstringOptional

Additional notes about the address

company_namestringOptional

Company name associated with the address

tax_officestringOptional

Tax office name

tax_nostringOptional

Tax number

e_bill_taxpayerbooleanOptional

Indicates if the address is an e-bill taxpayer

hash_datastringRead-onlyOptional

Hash data for the address

address_typestring · enumOptional

Type of address

Example: customerPossible values:
remote_idstringOptional

Remote ID for the address

identity_numberstring | nullableOptional

Identity number of the contact person

extra_fieldobjectOptional

Extra field for additional data

is_activebooleanOptional

Indicates if the address is active

modified_datestring · date-timeOptional

Date when the address was last modified

Responses
200
Order shipping address successfully updated
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/change_shipping_address/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2521

{
  "pk": 1,
  "email": "name@gmail.com",
  "phone_number": "text",
  "first_name": "text",
  "last_name": "text",
  "country": {
    "name": "Türkiye",
    "code": "TR",
    "is_active": true
  },
  "city": {
    "name": "Istanbul",
    "is_active": true,
    "country": 1,
    "priority": 1,
    "postcode": "34000"
  },
  "line": "text",
  "title": "text",
  "township": {
    "pk": 1,
    "name": "Esenler",
    "is_active": true,
    "city": 1,
    "postcode": "34000",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "district": {
    "name": "Davutpasa",
    "is_active": true,
    "city": 1,
    "township": 1,
    "postcode": "34000",
    "zipcode": "34000",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "postcode": "text",
  "notes": "text",
  "company_name": "text",
  "tax_office": "text",
  "tax_no": "text",
  "e_bill_taxpayer": true,
  "address_type": "customer",
  "retail_store": {
    "name": "Downtown Flagship Store",
    "township_id": 12,
    "district_id": 3,
    "address": "500 Market St, San Francisco, CA 94103",
    "phone_number": "+1-234-567-890",
    "fax_phone_number": "+1-234-567-890",
    "image": "https://cdn.example.com/stores/1.jpg",
    "store_hours": [
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "10:00",
        "20:00"
      ],
      [
        "12:00",
        "18:00"
      ]
    ],
    "latitude": 41.0202767,
    "longitude": 28.8888964,
    "is_active": true,
    "click_and_collect": true,
    "kapida_enabled": false,
    "fast_delivery": true,
    "store_type_id": 2,
    "config": {
      "auto_assign": true,
      "capacity_limit": 200
    },
    "group_id": 4,
    "related_retail_stores": [
      102,
      103
    ],
    "sort_order": 10,
    "is_return_accepted": true,
    "channels": [
      1,
      2,
      5
    ],
    "modified_date": "2025-05-22T10:08:23.421Z",
    "integration": [
      {
        "channel": {
          "name": "Commerce Channel",
          "catalog": 1,
          "channel_type": "web",
          "conf": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "category_tree": "text",
          "is_active": true,
          "schema": {},
          "modified_date": "2024-11-20T11:22:23.702774Z"
        },
        "content_type": {
          "app_label": "text",
          "model": "text"
        },
        "object_id": 1,
        "remote_id": "text",
        "version_date": "2025-05-22T10:08:23.421Z",
        "state": {},
        "local_batch_id": "text",
        "status": "processing",
        "content_object": {}
      }
    ]
  },
  "remote_id": "text",
  "identity_number": "text",
  "extra_field": {},
  "customer": {
    "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
  },
  "is_active": true,
  "modified_date": "2025-05-22T10:08:23.421Z"
}

No content

Bulk replace products and reduce weights in an order

post

Replace multiple products and reduce their weights in an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body

List of order items for product replacement and weight reduction

order_itemintegerOptional

Order item ID for product replacement and weight reduction

Example: 1
new_product_skustringOptional

New product SKU for replacement

Example: NEW_SKU_123
new_weightnumber · decimalOptional

New weight for the order item

Example: 2.5
Responses
200
Products successfully replaced and weights reduced in the order
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/bulk_replace_product_and_reduce_weight/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

[]
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Cancel an order

post

Approve cancellation of an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
objectOptional

An empty dictionary

Responses
200
Order successfully cancelled
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/cancellation_approved_order/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Create a new order

post

Creates a new order in the system for the specified channel

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Body
pkintegerOptional

Unique identifier for the order.

Example: 1
numberstringRequired

Order number, unique within the context of a channel.

Example: ORDER12345
channelintegerRequired

ID of the channel associated with the order.

customerintegerRequired

ID of the customer who placed the order.

Example: 1
date_placedstring · date-timeRequired

Timestamp when the order was placed.

Example: 2024-11-20T11:22:23.702774Z
payment_optionintegerOptional

ID of the payment option used for the order.

Example: 1
payment_option_slugstring | nullableOptional

Slug of the payment option.

Example: credit-card
bin_numberstring | nullableOptional

First 6 digits of the customer's card used in the transaction.

Example: 123456
installmentintegerOptional

ID of the installment object used for the order.

Example: 1
installment_countinteger | nullableOptional

Number of installments for the payment.

Example: 6
installment_interest_amountnumber · decimalOptional

Interest charged on installment payments.

Example: 50
cargo_companyintegerOptional

ID of the cargo company used for shipping.

Example: 1
is_sendbooleanOptional

Indicates whether the order has been sent.

Example: false
delivery_typestring · enum | nullableOptional

Type of delivery selected for the order.

Example: next_dayPossible values:
cancellation_infoobjectOptional

Details regarding the cancellation of the order.

Example: {"reason":"Customer requested cancellation"}
cancel_statusstring · enum | nullableOptional

Status of the order cancellation.

Example: cancelledPossible values:
shipping_interest_amountnumber · decimalOptional

Interest applied to the shipping cost.

Example: 10
external_statusintegerOptional

ID of the external status associated with the order.

Example: 1
client_typestring · enumOptional

Type of client placing the order.

Example: defaultPossible values:
carrier_shipping_codestring | nullableOptional

Tracking code assigned by the carrier.

Example: TRACK12345
segmentstring | nullableOptional

Customer segment for the order.

Example: premium
checkout_provider_idinteger | nullableOptional

ID of the provider used for checkout.

Example: 12345
statusstring · enumRequired

Status of the order

Example: 200Possible values:
currencystring · enumOptional

Currency type for the order, following ISO 4217 currency codes.

Example: tryPossible values:
amountnumber · decimalRequired

Total amount for the order.

Example: 1000
discount_amountnumber · decimalOptional

Discount applied to the order.

Example: 50
shipping_amountnumber · decimalOptional

Shipping charge for the order.

Example: 20
shipping_tax_ratenumber · decimal | nullableOptional

Tax rate applied to the shipping charge.

Example: 18
refund_amountnumber · decimalOptional

Total refund amount for the order. Shipping refund amount included.

Example: 100
discount_refund_amountnumber · decimalOptional

Refund amount for the discount.

Example: 10
shipping_refund_amountnumber · decimalOptional

Refund amount for the shipping.

Example: 5
invoice_numberstring | nullableOptional

Invoice number for the order.

Example: INV123456
invoice_datestring · date-time | nullableOptional

Invoice date for the order.

Example: 2024-11-21T11:22:23.702774Z
e_archive_urlstring · url | nullableOptional

URL for the e-archive of the invoice.

Example: https://earchive.example.com/invoice/123
tracking_numberstring | nullableOptional

Tracking number for the order.

Example: TRACK12345
defined_tracking_urlstring · url | nullableOptional

URL for tracking the order.

Example: https://tracking.example.com/track/123
shipping_companystring · enumOptional

Shipping company options

Example: yurticiPossible values:
remote_addrstring · ipv4 | nullableOptional

IP address from where the order was placed.

Example: 192.168.0.1
has_gift_boxbooleanOptional

Indicates whether the order has a gift box.

Example: false
gift_box_notestring | nullableOptional

Message for the gift box.

Example: Happy Birthday!
language_codestring | nullableOptional

Language code for the order.

Example: en
notesstring | nullableOptional

Customer instructions for the order.

Example: Leave at the front door.
shipping_option_slugstring | nullableOptional

Slug for the shipping option.

Example: standard-shipping
created_datestring · date-timeOptional

Creation Date

modified_datestring · date-timeOptional

Last Modification Date

Responses
201
Order created successfully
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1406

{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}
{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Create mapping object for the order

post

Create a mapping object for the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
codestringOptional

Unique code for the mapping.

Example: mapping_info
integration_typestring · enumOptional

Type of integration mapping

Example: webPossible values:
content_typeintegerOptional

Content type of the mapping.

Example: 1
object_idintegerOptional

ID of the object associated with the mapping.

Example: 12345
Responses
200
Order mapping object successfully created
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/create_mapping/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 83

{
  "code": "mapping_info",
  "integration_type": "web",
  "content_type": 1,
  "object_id": 12345
}
{
  "pk": 1,
  "code": "mapping_info",
  "integration_type": "web",
  "content_type": 1,
  "object_id": 12345,
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Change order billing address

post

Change the billing address of the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
pkintegerOptional

Primary key of the address

emailstring · emailOptional

Email address of the contact person

phone_numberstringRequired

Phone number of the contact person

first_namestringOptional

First name of the contact person

last_namestringOptional

Last name of the contact person

linestringOptional

Street address line

titlestringOptional

Title of the contact person

postcodestringOptional

Postal code

notesstringOptional

Additional notes about the address

company_namestringOptional

Company name associated with the address

tax_officestringOptional

Tax office name

tax_nostringOptional

Tax number

e_bill_taxpayerbooleanOptional

Indicates if the address is an e-bill taxpayer

hash_datastringRead-onlyOptional

Hash data for the address

address_typestring · enumOptional

Type of address

Example: customerPossible values:
remote_idstringOptional

Remote ID for the address

identity_numberstring | nullableOptional

Identity number of the contact person

extra_fieldobjectOptional

Extra field for additional data

is_activebooleanOptional

Indicates if the address is active

modified_datestring · date-timeOptional

Date when the address was last modified

Responses
200
Order billing address successfully updated
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/change_billing_address/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2521

{
  "pk": 1,
  "email": "name@gmail.com",
  "phone_number": "text",
  "first_name": "text",
  "last_name": "text",
  "country": {
    "name": "Türkiye",
    "code": "TR",
    "is_active": true
  },
  "city": {
    "name": "Istanbul",
    "is_active": true,
    "country": 1,
    "priority": 1,
    "postcode": "34000"
  },
  "line": "text",
  "title": "text",
  "township": {
    "pk": 1,
    "name": "Esenler",
    "is_active": true,
    "city": 1,
    "postcode": "34000",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "district": {
    "name": "Davutpasa",
    "is_active": true,
    "city": 1,
    "township": 1,
    "postcode": "34000",
    "zipcode": "34000",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "postcode": "text",
  "notes": "text",
  "company_name": "text",
  "tax_office": "text",
  "tax_no": "text",
  "e_bill_taxpayer": true,
  "address_type": "customer",
  "retail_store": {
    "name": "Downtown Flagship Store",
    "township_id": 12,
    "district_id": 3,
    "address": "500 Market St, San Francisco, CA 94103",
    "phone_number": "+1-234-567-890",
    "fax_phone_number": "+1-234-567-890",
    "image": "https://cdn.example.com/stores/1.jpg",
    "store_hours": [
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "09:00",
        "21:00"
      ],
      [
        "10:00",
        "20:00"
      ],
      [
        "12:00",
        "18:00"
      ]
    ],
    "latitude": 41.0202767,
    "longitude": 28.8888964,
    "is_active": true,
    "click_and_collect": true,
    "kapida_enabled": false,
    "fast_delivery": true,
    "store_type_id": 2,
    "config": {
      "auto_assign": true,
      "capacity_limit": 200
    },
    "group_id": 4,
    "related_retail_stores": [
      102,
      103
    ],
    "sort_order": 10,
    "is_return_accepted": true,
    "channels": [
      1,
      2,
      5
    ],
    "modified_date": "2025-05-22T10:08:23.421Z",
    "integration": [
      {
        "channel": {
          "name": "Commerce Channel",
          "catalog": 1,
          "channel_type": "web",
          "conf": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "category_tree": "text",
          "is_active": true,
          "schema": {},
          "modified_date": "2024-11-20T11:22:23.702774Z"
        },
        "content_type": {
          "app_label": "text",
          "model": "text"
        },
        "object_id": 1,
        "remote_id": "text",
        "version_date": "2025-05-22T10:08:23.421Z",
        "state": {},
        "local_batch_id": "text",
        "status": "processing",
        "content_object": {}
      }
    ]
  },
  "remote_id": "text",
  "identity_number": "text",
  "extra_field": {},
  "customer": {
    "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
  },
  "is_active": true,
  "modified_date": "2025-05-22T10:08:23.421Z"
}

No content

Refund an order

post

Refund an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
is_refund_successbooleanRequired

Indicates whether the refund was successful.

Example: true
Responses
200
Order successfully refunded
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/refund/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 26

{
  "is_refund_success": true
}
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Deliver an order in retail store to the customer

post

Deliver when staff deliver the order to the customer in retail store. Update order item statuses to delivered.

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
objectOptional

An empty dictionary

Responses
200
Order delivered in store successfully
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/deliver_in_store/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Status of the bulk update tracking number action

post

Status of the bulk update tracking number specified with cache key

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
cachestring · uuidOptional

The cache ID for the tracking number update operation.

Responses
200
Tracking number status successfully updated
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/bulk_tracking_number_update_status/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "cache": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "progress": [
    [
      1,
      2
    ],
    [
      3,
      4
    ]
  ],
  "errors": [
    "Error 1",
    "Error 2"
  ],
  "chunk_count": 5,
  "status": "waiting"
}

Mark order as not sent

post

Mark the order with the specified ID as not sent

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
objectOptional

An empty dictionary

Responses
200
Order successfully marked as not sent
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/mark_as_not_sent/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "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": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "created_date": "2025-05-22T10:08:23.421Z",
  "modified_date": "2025-05-22T10:08:23.421Z"
}

Cancel an order

post

Cancel an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
orderintegerOptional

ID of the order to be cancelled.

Example: 1
is_allbooleanOptional

Indicates whether to cancel all items in the order.

Example: true
cancel_itemsinteger[]Optional

List of order item IDs to be cancelled.

Example: [1,2,3]
forced_refund_amountnumber · decimalOptional

Amount to be refunded.

Example: 100
reasonsobjectOptional

Cancellation reasons for each order item.

Example: {"1":"reason_id_1","2":"reason_id_2"}
is_cargo_refundbooleanOptional

Indicates whether to refund the shipping amount.

Example: true
refund_invoice_numberstringOptional

Invoice number for the refund.

Example: REFUND123456
holder_namesobjectOptional

Holder names for the cancel items.

Example: {"1":"John Doe","2":"Jane Smith"}
fully_refund_as_loyalty_moneybooleanOptional

Indicates whether to fully refund as loyalty money.

Example: false
Responses
200
Order successfully cancelled
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/cancel/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 274

{
  "order": 1,
  "is_all": true,
  "cancel_items": [
    [
      1,
      2,
      3
    ]
  ],
  "forced_refund_amount": 100,
  "reasons": {
    "1": "reason_id_1",
    "2": "reason_id_2"
  },
  "is_cargo_refund": true,
  "refund_invoice_number": "REFUND123456",
  "holder_names": {
    "1": "John Doe",
    "2": "Jane Smith"
  },
  "fully_refund_as_loyalty_money": false
}
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Split packages of an order

post

Split the packages of the order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
payloadobjectOptional

Payload containing the split packages.

Responses
200
Order packages successfully split
application/json
ResponseobjectExample: {"result":"Successfully splitted"}
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/split_packages/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "payload": {}
}
{
  "result": "Successfully splitted"
}

Bulk reduce weights in an order

post

Reduce the weights of multiple products in an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body

List of order items for weight reduction

order_itemintegerOptional

Order item ID for weight reduction

Example: 1
new_weightnumber · decimalOptional

New weight for the order item

Example: 2.5
Responses
200
Weights successfully reduced in the order
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/bulk_reduce_weights/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

[]
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}

Cancel an order

post

Reject a cancellation of an order with the specified ID

Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
objectOptional

An empty dictionary

Responses
200
Order successfully cancelled
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
post
POST /api/v1/channel/{channel_id}/orders/{id}/cancellation_reject_order/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "pk": 1,
  "number": "ORDER12345",
  "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"
  },
  "status": "cancellation_waiting",
  "date_placed": "2024-11-20T11:22:23.702774Z",
  "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
  },
  "shipping_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "billing_address": {
    "pk": 1,
    "email": "name@gmail.com",
    "phone_number": "text",
    "first_name": "text",
    "last_name": "text",
    "country": {
      "id": 1,
      "name": "Türkiye",
      "code": "TR",
      "is_active": true,
      "created_date": "2021-07-07T14:00:00Z",
      "modified_date": "2021-07-07T14:00:00Z",
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "city": {
      "id": 1,
      "name": "Istanbul",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "is_active": true,
      "country": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "priority": 1,
      "postcode": "34000"
    },
    "line": "text",
    "title": "text",
    "township": {
      "pk": 1,
      "name": "Esenler",
      "is_active": true,
      "city": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "district": {
      "pk": 1,
      "name": "Davutpasa",
      "is_active": true,
      "city": 1,
      "township": 1,
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "postcode": "34000",
      "zipcode": "34000",
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "postcode": "text",
    "notes": "text",
    "company_name": "text",
    "tax_office": "text",
    "tax_no": "text",
    "e_bill_taxpayer": true,
    "hash_data": "text",
    "address_type": "customer",
    "retail_store": {
      "pk": 1,
      "name": "Downtown Flagship Store",
      "township_id": 12,
      "district_id": 3,
      "address": "500 Market St, San Francisco, CA 94103",
      "phone_number": "+1-234-567-890",
      "fax_phone_number": "+1-234-567-890",
      "image": "https://cdn.example.com/stores/1.jpg",
      "store_hours": [
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "09:00",
          "21:00"
        ],
        [
          "10:00",
          "20:00"
        ],
        [
          "12:00",
          "18:00"
        ]
      ],
      "latitude": 41.0202767,
      "longitude": 28.8888964,
      "is_active": true,
      "click_and_collect": true,
      "kapida_enabled": false,
      "fast_delivery": true,
      "store_type_id": 2,
      "config": {
        "auto_assign": true,
        "capacity_limit": 200
      },
      "group_id": 4,
      "related_retail_stores": [
        102,
        103
      ],
      "sort_order": 10,
      "is_return_accepted": true,
      "channels": [
        1,
        2,
        5
      ],
      "mapping": [
        {
          "created_date": "2025-05-22T10:08:23.421Z",
          "modified_date": "2025-05-22T10:08:23.421Z"
        }
      ],
      "translations": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "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": "2025-05-22T10:08:23.421Z",
          "state": {},
          "local_batch_id": "text",
          "status": "processing",
          "content_object": {}
        }
      ]
    },
    "remote_id": "text",
    "identity_number": "text",
    "extra_field": {},
    "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
    },
    "is_active": true,
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "currency": "try",
  "amount": 1000,
  "shipping_amount": 20,
  "extra_field": {},
  "orderitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z",
      "attributes": {
        "key1": "value1",
        "key2": "value2"
      },
      "attributes_kwargs": {
        "key1": "value1",
        "key2": "value2"
      },
      "localized_attributes": {
        "name": {
          "en": "English",
          "es": "Spanish"
        }
      },
      "localized_attributes_kwargs": {
        "key": {
          "key1": "value1",
          "key2": "value2"
        }
      }
    }
  ],
  "discountitem_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "transaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "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"
    }
  },
  "payment_option_slug": "credit-card",
  "bin_number": "123456",
  "installment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "bank_interest_rate": 1,
    "card": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "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"
      },
      "name": "text",
      "slug": "text",
      "bank": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/bank-xyz.png",
        "integration": {},
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_type": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "logo": "https://example.com/logos/credit-card.png",
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "card_payment_type": "credit",
      "cash_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "installment_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "three_d_payment": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "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"
        },
        "name": "text",
        "slug": "text",
        "gateway": "garanti",
        "resource_url": "https://example.com",
        "three_d_resource_url": "https://example.com",
        "config": {
          "currency": "USD",
          "retries": 3
        },
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "is_commerce_card": false,
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    },
    "installment_count": 1,
    "label": "text",
    "interest_rate": 1,
    "is_active": true,
    "config": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "translations": {},
    "created_date": "2024-01-01T12:00:00Z",
    "modified_date": "2024-01-02T12:00:00Z"
  },
  "installment_count": 6,
  "installment_interest_amount": 10,
  "cargo_company": {
    "pk": 1,
    "name": "UPS",
    "erp_code": "UPS_001",
    "shipping_company": "yurtici",
    "created_date": "2025-05-22T10:08:23.421Z",
    "modified_date": "2025-05-22T10:08:23.421Z"
  },
  "invoice_number": "INV123456",
  "invoice_date": "2024-11-21T11:22:23.702774Z",
  "e_archive_url": "https://earchive.example.com/invoice/123",
  "refund_amount": 100,
  "discount_refund_amount": 10,
  "shipping_refund_amount": 5,
  "discount_amount": 50,
  "cancellation_info": {},
  "status_display": "waiting",
  "tracking_number": "TRACK12345",
  "is_send": false,
  "cancel_status": "waiting",
  "net_shipping_amount": 15,
  "remote_addr": "0.0.0.0",
  "language_code": "tr-tr",
  "fundstransfertransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "user_email": "text",
      "remote_addr": "text",
      "amount": 1,
      "chosen_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "date_paid": "2025-05-22T10:08:23.421Z",
      "paid_bank_account": {
        "pk": 1,
        "bank": 1,
        "slug": "text",
        "holder_name": "text",
        "iban": "text",
        "is_active": true,
        "sort_order": 1,
        "description": "text",
        "channel": 1,
        "created_date": "2025-05-22T10:08:23.421Z",
        "modified_date": "2025-05-22T10:08:23.421Z"
      },
      "user_holder_name": "text",
      "user_iban": "text",
      "transaction_type": "purchase",
      "status": "paid",
      "pos": 1,
      "raw_request": "text",
      "raw_response": "text",
      "is_succeeded": true,
      "reference_code": "text",
      "currency": "try"
    }
  ],
  "has_gift_box": false,
  "gift_box_note": "Happy Birthday!",
  "tracking_url": "https://tracking.example.com/track/123",
  "external_status": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "code": "text"
  },
  "payondeliverytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "loyaltytransaction_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "bextransaction_set": [],
  "b2btransaction_set": [
    {
      "pk": 1,
      "order": 1,
      "amount": 1,
      "transaction_type": "purchase",
      "user_email": "text",
      "remote_addr": "text",
      "created_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cancellationplan_set": [
    {
      "created_date": "2025-05-22T10:08:23.421Z",
      "modified_date": "2025-05-22T10:08:23.421Z"
    }
  ],
  "cashregistertransaction_set": [
    {
      "pk": 1,
      "transaction_id": "text",
      "order": 1,
      "user_email": "text",
      "raw_request": "text",
      "raw_response": "text",
      "amount": 1,
      "remote_addr": "text",
      "staff_id": 1,
      "staff_remote_id": "text",
      "staff_email": "text",
      "store_id": 1,
      "store_remote_id": "text",
      "transaction_type": "purchase",
      "is_succeeded": true
    }
  ],
  "client_type": "android",
  "shipping_interest_amount": 10,
  "delivery_type": "same_day",
  "notes": "Leave at the front door.",
  "delivery_range": {
    "start": "2025-05-22T10:08:23.421Z",
    "end": "2025-05-22T10:08:23.421Z"
  },
  "shipping_option_slug": "standard-shipping",
  "segment": "premium",
  "carrier_shipping_code": "TRACK12345",
  "defined_tracking_url": "https://tracking.example.com/track/123",
  "installment_free": false
}