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 Incomplete Baskets

Testing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
GET
https://api.staging.mintedconnect.com
/partner/ecom/baskets
Last modified:2024-09-18 10:26:31
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
customer_external_id
string 
required
>= 1 characters<= 110 characters
Example:
6551eeaf4455bb5959555302
page
integer 
optional
Page Number
total
integer 
optional
Number of Rows Per Page
startDate
string <date>
optional
startDate and endDate must be used together
endDate
string <date>
optional
startDate and endDate must be used together
card_bin
string 
optional
Set cardBin for the calculation payment commissions
>= 6 characters<= 6 characters
Header Params
x-client-id
string 
required
Default value: web
Default:
web
api-version
string 
optional
Latest version: 3
Default:
3
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/baskets?customer_external_id=6551eeaf4455bb5959555302&page=&total=&startDate&endDate&card_bin' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--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 
required
from
integer 
required
last_page
integer 
required
last_page_url
string 
required
links
array [object {3}] 
required
next_page_url
null 
required
path
string 
required
per_page
integer 
required
prev_page_url
null 
required
to
integer 
required
total
integer 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 330,
        "guid": "EBDCEDDF-7E56-442F-A2EC-BFD2FA1BB2F0",
        "order_creation_status": "basket",
        "external_id": null,
        "increment_id": "MC_66C7446E7F53E",
        "token": "oABVm4sOlCrpCpFkQdh1NkJrk1oofOAp",
        "price": 2914.73,
        "tax": 0,
        "delivery_price": 65,
        "insurance_price": 8.12,
        "market_commission": 209.69,
        "minted_markup_price": 31.81,
        "silver_craftsmanship": 0,
        "total": 2914.73,
        "payment_cost": 0,
        "paid_total": 2914.73,
        "currency_code": "TRY",
        "status_id": 1,
        "status_name": "Created",
        "customer": {
          "external_id": "6551eeaf4455bb5959555302",
          "firstname": "John",
          "middlename": "",
          "lastname": "Due",
          "fullname": "John Due",
          "email": "[email protected]",
          "phone": "+905556242399",
          "gender": "M",
          "identity_number": "96356247895",
          "birthdate": "1981-06-10"
        },
        "shippingaddress": {
          "id": 66,
          "tax_number": "12313123312",
          "external_id": "66b3666fcc19b0487e691695",
          "fullname": "John Due",
          "phone": "+905071112233",
          "city": "Ankara",
          "county": "Çankaya",
          "district": "District",
          "street": "",
          "zipcode": "",
          "address": "açık adres"
        },
        "billingaddress": {
          "id": 65,
          "type": "billing",
          "invoice_type": "Individual",
          "company_name": "",
          "tax_office": "",
          "tax_number": "123131231",
          "external_id": "66b3666fcc19b0487e691695",
          "fullname": "John Due",
          "phone": "+905071112233",
          "email": "[email protected]",
          "city": "Ankara",
          "county": "Çankaya",
          "district": "District",
          "street": "",
          "zipcode": "",
          "address": "açık adres"
        },
        "payment": null,
        "order_at": "2024-08-05T12:47:15.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)",
            "product_weight": 1.01,
            "price": 2914.73,
            "tax_rate": 0,
            "tax": 0,
            "amount": 1,
            "total": 2914.73,
            "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"
            ],
            "prices": [
              {
                "id": 1,
                "name": "Minted Markup",
                "price": 0
              },
              {
                "id": 2,
                "name": "Sigorta",
                "price": 5.44
              },
              {
                "id": 4,
                "name": "Kargo",
                "price": 0
              },
              {
                "id": 3,
                "name": "Market Komisyon",
                "price": 190.68
              }
            ]
          }
        ]
      }
    ],
    "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": ""
}
🟠401Unauthorized
Modified at 2024-09-18 10:26:31
Previous
Get Basket
Next
Add to Basket (New basket)
Built with