Minted Connect
  1. Checkout
Minted Connect
E-Commerce API
  • Partner
  • E-Commerce API
  • Catalog
    • Products
      GET
    • Get Product
      GET
    • Prices
      GET
    • Categories
      GET
  • Customers
    • Create Customer
      POST
    • Update Customer
      PATCH
    • Remove Customer Id
      DELETE
    • Get Customer
      GET
  • Customer Address
    • Customer Address - List
      GET
    • Customer Address - Delete
      DELETE
    • Customer Address - Create (Shipping)
      POST
    • Customer Address - Create (Billing)
      POST
    • Customer Address - Create Multiple
      POST
  • Checkout
    • Get Basket
      GET
    • Get Incomplete Baskets
      GET
    • Add to Basket (New basket)
      POST
    • Add to Basket (Existing Basket)
      POST
    • Set Existing Address
      PATCH
    • Set Custom Address
      PATCH
    • Update Item
      PATCH
    • Delete Item
      DELETE
    • Clear Basket (Delete Items)
      DELETE
    • Payment Get All Types
      GET
    • Complete Basket
      PUT
    • Get Orders
      GET
    • Get Order
      POST
  • Legal
    • Legal Types
    • Partner Legal PDF
  1. Checkout

Get Orders

Testing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
GET
https://api.staging.mintedconnect.com
/partner/ecom/orders
Last modified:2024-08-11 13:02:45
Maintainer:Not configured

Request

Authorization
Provide your encrypted digest scheme data in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
Query Params
page
integer 
optional
Default: 1
>= 1
Example:
1
total
integer 
optional
Default: 10
>= 5<= 30
Example:
10
customer_external_id
string 
optional
Filter by external customer id
>= 1 characters<= 110 characters
sku
string 
optional
Filter by product sku
>= 3 characters<= 21 characters
sortBy
enum<string> 
optional
values: created_at, type, total, customer_external_id
Allowed values:
typetotalcustomer_external_idcreated_at
Example:
created_at
sortType
enum<string> 
optional
values: asc, desc
Allowed values:
ascdesc
Example:
desc
status
enum<string> 
optional
Allowed values:
PendingProcessingCancelledCompletedPreparingPackedShippedTransferringRefundingRefundedPayment Confirmed
Example:
2
startDate
string <date>
optional
Example:
2024-07-01
endDate
string <date>
optional
Example:
2024-07-01
Header Params
api-version
string 
optional
Example:
2
x-client-id
string 
required
Default value: web
Default:
web
Accept-Language
string 
optional
Default:
tr

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.staging.mintedconnect.com/partner/ecom/orders?page=1&total=10&customer_external_id=&sku=&sortBy=created_at&sortType=desc&status=2&startDate&endDate' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr'

Responses

🟢200OK
application/json
Body
data
object 
required
current_page
integer 
required
data
array[object (Ecom Order) {28}] 
required
first_page_url
string  | null 
required
from
integer 
required
last_page
integer 
required
last_page_url
string 
required
links
array [object {3}] 
required
next_page_url
string  | null 
optional
path
string 
required
per_page
integer 
required
prev_page_url
string  | null 
required
to
integer 
required
total
integer 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 209,
        "guid": "6DE5CAE4-3029-432E-A342-A18AA29FF845",
        "order_creation_status": "order",
        "external_id": "4293becf-36a8-4626-9dad-b9061ad6ce35",
        "increment_id": "MC_66C7446E7F53E",
        "token": "WawNhlfYLFZYBZmYT4B4dYXDYtRp7yOB",
        "price": 2960.3,
        "tax": 0,
        "delivery_price": 65,
        "insurance_price": 8.12,
        "market_commission": 209.69,
        "minted_markup_price": 31.81,
        "silver_craftsmanship": 0,
        "total": 2960.3,
        "payment_cost": 85.26,
        "paid_total": 3045.56,
        "currency_code": "TRY",
        "status_id": 2,
        "status_name": "Pending",
        "customer": {
          "external_id": "{{customer_external_id}}",
          "firstname": "John",
          "middlename": "",
          "lastname": "Due",
          "fullname": "John Due",
          "email": "[email protected]",
          "phone": "+905330000000",
          "gender": "M",
          "identity_number": "12345677937",
          "birthdate": "1970-01-31"
        },
        "shippingaddress": {
          "id": 10,
          "external_id": "6551eeaf4455bb5959555302",
          "tax_number": "1231313133",
          "fullname": "John Due",
          "phone": "+905330000000",
          "city": "İstanbul",
          "county": "Beykoz",
          "district": "Acarlar Mah.",
          "street": "Sokak adı",
          "zipcode": "",
          "address": "54 sok. No: 12"
        },
        "billingaddress": {
          "id": 9,
          "external_id": "6551eeaf4455bb5959555302",
          "type": "billing",
          "invoice_type": "Individual",
          "company_name": "Minted LTD",
          "tax_office": "Beykoz",
          "tax_number": "2838293932",
          "fullname": "John Due",
          "phone": "+905330000000",
          "email": "[email protected]",
          "city": "İstanbul",
          "county": "Beykoz",
          "district": "Acarlar Mah.",
          "street": "Sokak adı",
          "zipcode": "",
          "address": "54 sok. No: 13"
        },
        "payment": {
          "token": "JBVh6qaiL7unDjG5A6X2UyN9mqfVnkFJFBTWJV1pPjMNHPxqYJEBYRqiUSbZD7o0JIUNMBrEwQx8sXfDosPVdffRLoeh1Mkh1EppE2ipaUqZBAFNbF9Adh4n26AoLvZD",
          "is_3d": true,
          "auth_mode": "auth",
          "amount": 2960.3,
          "state": "success",
          "comission": 85.26,
          "total": 3045.56,
          "details": {
            "card_expiry": "05/28",
            "card_holder": "John Due",
            "card_number": "404809******7528",
            "customer_ip": "127.0.0.1",
            "card_association": "Visa"
          }
        },
        "delivery": {
          "cargo_tracking_url": "https://www.yurticikargo.com/tr/online-servisler/gonderi-sorgula?code=102279597491",
          "cargo_tracking_number": "102279597491"
        },
        "order_at": "2024-07-23T10:05:41.000000Z",
        "items": [
          {
            "item_currency_id": 1000006,
            "item_currency_name": "Physical Gold",
            "product_id": 3000065,
            "sku": "MNT0001",
            "product_name": "Minted 1 Gr 999,9 Külçe Altın (NadirGold)",
            "price": 2960.3,
            "tax_rate": 0,
            "tax": 0,
            "amount": 1,
            "total": 2960.3,
            "product_weight": 1.01,
            "prices": [
              {
                "id": 1,
                "name": "Minted Markup",
                "price": 0
              },
              {
                "id": 2,
                "name": "Sigorta",
                "price": 5.52
              },
              {
                "id": 4,
                "name": "Kargo",
                "price": 0
              },
              {
                "id": 3,
                "name": "Market Komisyon",
                "price": 193.66
              }
            ],
            "product_images": [
              "https://minted-tr.mncdn.com/products/10/Z1P5eT1ggOvmgyS5bwFeW1qZwS41zj5FOL3gu4Fv.png",
              "https://minted-tr.mncdn.com/products/10/JxMzuWaZkljzWoVXzfKZPWYY2FeAU1TQY1sAtMnv.png",
              "https://minted-tr.mncdn.com/products/10/qzyXgt51f7ndySM5QpMQqyDN6QBZXqAomsyshp5r.png",
              "https://minted-tr.mncdn.com/products/10/sKZiiWqLA9PdejL5mG2sMWOyPJl7FWD95ILsYtx4.png"
            ]
          }
        ]
      }
    ],
    "first_page_url": "/?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "/?page=1",
    "links": [
      {
        "url": null,
        "label": "pagination.previous",
        "active": false
      },
      {
        "url": "/?page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "pagination.next",
        "active": false
      }
    ],
    "next_page_url": null,
    "path": "/",
    "per_page": 10,
    "prev_page_url": null,
    "to": 1,
    "total": 1
  },
  "success": true,
  "code": 0,
  "message": ""
}
🟠422Parameter Error
🟠401Unauthorized
Modified at 2024-08-11 13:02:45
Previous
Complete Basket
Next
Get Order
Built with