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 Order

Developing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
POST
https://api.staging.mintedconnect.com
/partner/ecom/getorder
Last modified:2024-08-11 13:03:00
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="***"
Header Params
api-version
string 
optional
Example:
2
x-client-id
string 
required
Default value: web
Default:
web
Accept-Language
string 
optional
Default:
tr
Body Params application/json
customer_external_id
string 
required
>= 1 characters<= 110 characters
cart_token
string 
required
>= 32 characters<= 32 characters
Example
{
    "customer_external_id":"{{external_customer_id}}",
    "cart_token":"wgd9P8wFXpSTX7bgDmV0GMbWMelWoixp"
}

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 POST 'https://api.staging.mintedconnect.com/partner/ecom/getorder' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_external_id":"MTD0018232",
    "cart_token":"wgd9P8wFXpSTX7bgDmV0GMbWMelWoixp"
}'

Responses

🟢200OK
application/json
Body
data
object (Ecom Order) 
required
pricefix
object 
required
id
integer 
required
guid
string 
required
order_creation_status
enum<string> 
required
Allowed values:
basketorder
token
string 
required
external_id
string  | null 
optional
>= 1 characters<= 110 characters
increment_id
string 
required
>= 16 characters<= 16 characters
price
number 
required
tax
number 
required
total
number 
required
delivery_price
number 
required
insurance_price
number 
required
market_commission
number 
required
minted_markup_price
number 
required
silver_craftsmanship
number 
required
paid_total
number 
required
currency_rate
number 
optional
currency_total
number 
optional
status_id
integer 
required
status_name
enum<string> 
required
Allowed values:
PendingProcessingCancelledCompletedPreparingPackedShippedTransferringRefundingRefundedPayment Confirmed
delivery
object  | null 
optional
order_at
string <date-time>
required
Example:
2024-07-19T09:39:03.000000Z
payment_cost
number 
required
items
array[object (Ecom OrderItem) {13}] 
optional
customer
object (Order customer schema) 
required
shippingaddress
optional
billingaddress
optional
payment
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "id": 221,
        "guid": "6DE5CAE4-3029-432E-A342-A18AA29FF845",
        "order_creation_status": "order",
        "external_id": "b3b362f4-2222-4191-9579-317801bae4b9",
        "increment_id": "MC_66C7446E7F53E",
        "token": "is8L3ooUKUKM7YwdULZ33YWJtXNujA2K",
        "price": 32962.54,
        "tax": 0,
        "delivery_price": 65,
        "insurance_price": 8.12,
        "market_commission": 209.69,
        "minted_markup_price": 31.81,
        "silver_craftsmanship": 0,
        "total": 32962.54,
        "payment_cost": 949.32,
        "paid_total": 33911.86,
        "currency_code": "TRY",
        "status_id": 2,
        "status_name": "Pending",
        "customer": {
            "external_id": "6551eeaf4455bb5959555302",
            "firstname": "John",
            "middlename": "",
            "lastname": "Due",
            "fullname": "John Due",
            "email": "[email protected]",
            "phone": "+905071112233",
            "gender": "M",
            "identity_number": "12345678910",
            "birthdate": "1981-06-10"
        },
        "shippingaddress": {
            "id": 22,
            "tax_number": "12345678910",
            "external_id": "",
            "fullname": "John Due",
            "phone": "+905071112233",
            "city": "İstanbul",
            "county": "Beşiktaş",
            "district": "Etiler",
            "street": "Nispetiye",
            "zipcode": "34337",
            "address": "Nispetiye Cad."
        },
        "billingaddress": {
            "id": 21,
            "type": "billing",
            "invoice_type": "Corporate",
            "company_name": "Teknoloji A.Ş.",
            "tax_office": "Ankara Vergi Dairesi",
            "tax_number": "1234567890",
            "external_id": "",
            "fullname": "John Due",
            "phone": "+905071112233",
            "email": "[email protected]",
            "city": "Ankara",
            "county": "Çankaya",
            "district": "Kızılay",
            "street": "Atatürk Bulvarı",
            "zipcode": "06420",
            "address": "Atatürk Bulvarı"
        },
        "payment": {
            "token": "npGt6IBlO1VotJtLMyem6mhiK4iRq2Tj0sGk4AVjCnGht8GYYS8mfpLB86msruYRsbzZ3CFRt91x8ENZaaJg8MGY74XK0q4tShCwdyFWA5pxaAle8s4hpG9CNtSDDAmP",
            "is_3d": true,
            "auth_mode": "auth",
            "amount": 32962.54,
            "state": "success",
            "comission": 949.32,
            "total": 33911.86,
            "details": {
                "card_expiry": "05/28",
                "card_holder": "John Due",
                "card_number": "404809******7528",
                "customer_ip": "192.168.1.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-12T18:22:20.000000Z",
        "items": [
            {
                "item_currency_id": 1000006,
                "item_currency_name": "Physical Gold",
                "product_id": 3000066,
                "sku": "MNT0009",
                "product_name": "Nadir 1 Gr 995,0 Külçe Altın",
                "product_weight": 1.01,
                "price": 2920.14,
                "tax_rate": 0,
                "tax": 0,
                "amount": 5,
                "total": 14600.7,
                "product_images": [
                    "https://minted-tr.mncdn.com/products/21/fTAMAGmwRq7N66SeMZwnzNsGspeyCev6hav9CawI.png",
                    "https://minted-tr.mncdn.com/products/21/8EQMX0oXp74vRgu58hvLpNl9z6jQSdH5mEwBSwkI.png",
                    "https://minted-tr.mncdn.com/products/21/ZY3HWhxMykUqvyJMAayi17vdCMJpFiu9e0tgCksV.png",
                    "https://minted-tr.mncdn.com/products/21/Qt0WDsAiYhegoLVOmwak9aGdmpEr6MTegIvo267J.png"
                ],
                "prices": [
                    {
                        "id": 1,
                        "name": "Minted Markup",
                        "price": 0
                    },
                    {
                        "id": 2,
                        "name": "Sigorta",
                        "price": 5.4
                    },
                    {
                        "id": 4,
                        "name": "Kargo",
                        "price": 0
                    },
                    {
                        "id": 3,
                        "name": "Market Komisyon",
                        "price": 189.32
                    }
                ]
            },
            {
                "item_currency_id": 1000007,
                "item_currency_name": "Physical Silver",
                "product_id": 3000067,
                "sku": "MNT0013",
                "product_name": "Minted 50 Gr Gümüş (Nadir Metal)",
                "product_weight": 50,
                "price": 1960.95,
                "tax_rate": 0,
                "tax": 0,
                "amount": 2,
                "total": 3921.9,
                "product_images": [
                    "https://minted-tr.mncdn.com/products/25/YToYYHKI2qwxGY6hFhLg2t01b7ktbZHeaqip9PvN.png",
                    "https://minted-tr.mncdn.com/products/25/nNuD08frgQLkbrL8UicTht6XexeHP3fSdhs73OTD.png"
                ],
                "prices": [
                    {
                        "id": 1,
                        "name": "Minted Markup",
                        "price": 0
                    },
                    {
                        "id": 2,
                        "name": "Sigorta",
                        "price": 3.66
                    },
                    {
                        "id": 4,
                        "name": "Kargo",
                        "price": 0
                    },
                    {
                        "id": 3,
                        "name": "Market Komisyon",
                        "price": 128.29
                    }
                ]
            },
            {
                "item_currency_id": 1000006,
                "item_currency_name": "Physical Gold",
                "product_id": 3000071,
                "sku": "MNT0002",
                "product_name": "Minted 2,5 Gr 999,9 Külçe Altın",
                "product_weight": 2.52,
                "price": 7219.97,
                "tax_rate": 0,
                "tax": 0,
                "amount": 2,
                "total": 14439.94,
                "product_images": [
                    "https://minted-tr.mncdn.com/products/14/XfRIbpY6xiIEDr99KHosWRI1v8tLMXCiV49WItm7.png",
                    "https://minted-tr.mncdn.com/products/14/KnwRvgXwGe1emq3jNmncg2jwTP6fHHavcAh075HW.png"
                ],
                "prices": [
                    {
                        "id": 1,
                        "name": "Minted Markup",
                        "price": 0
                    },
                    {
                        "id": 2,
                        "name": "Sigorta",
                        "price": 13.47
                    },
                    {
                        "id": 4,
                        "name": "Kargo",
                        "price": 0
                    },
                    {
                        "id": 3,
                        "name": "Market Komisyon",
                        "price": 472.33
                    }
                ]
            }
        ]
    },
    "success": true,
    "code": 0,
    "message": ""
}
🟠422Parameter Error
🟠401Unauthorized
Previous
Get Orders
Next
Legal Types
Built with