Minted Connect
  1. Delivery
Minted Connect
Partner
  • Partner
  • E-Commerce API
  • Genel Bakış
    • Genel Bakış
    • Partner cüzdan entegrasyonu
  • Buy
    • Customer - B2B2C
      • From Amount
        • Price Fix (Get Prices)
        • Calculate Price
        • Buy (Gold)
        • Buy (Silver)
        • Buy (Platinum)
      • From Total Price
        • Price Fix (Get Prices)
        • Buy (Gold)
        • Buy (Silver)
    • Partner - B2B
      • Price Fix (Get Prices)
      • Buy (Gold)
      • Buy (Silver)
    • Card Payment
      • Payment Get All Types
      • Card Payment Bin Query (Installments/Comissions)
      • Card Payment Price Fix (Get Prices)
      • Card Payment Buy (with card number)
      • Card Payment Buy (with card token)
      • Card Payment Get Order
  • Sell
    • Customer - B2B2C
      • Price Fix (Get Prices)
      • Sell (Gold)
      • Sell (Silver)
    • Partner - B2B
      • Price Fix (Get Prices)
      • Sell (Gold)
      • Sell (Silver)
  • Customers
    • Create Customer
      POST
    • Create Business Customer
      POST
    • Update Customer
      PATCH
    • Remove Customer Id
      DELETE
    • Get Customer
      GET
    • Customer Wallet Kyc - Get
      GET
    • Customer Wallet Kyc - Upsert
      POST
    • Customer Wallet Kyc - Bulk Upsert
      POST
  • Balances
    • Partner Balance
      GET
    • Customer Balance
      GET
    • Update Customer Cash Balance
      PATCH
    • Stats
      POST
    • Customer Balance 7d Stats
      GET
  • Card Storage
    • Card Storage List
    • Card Storage Add
    • Card Storage Delete
  • Delivery
    • Delivery - List Wallets
      POST
    • Delivery - Calculate
      POST
    • Delivery - Create (Pay With Cash)
      POST
    • Delivery - Create (Pay With Card Payment)
      POST
  • Product Prices
    GET
  • Get Orders
    GET
  • Get Order
    GET
  • Get Order (Alternative)
    POST
  • Partner Legal
    POST
  • Order Statusses
    GET
  1. Delivery

Delivery - Create (Pay With Cash)

Testing
Testing Env
https://api.staging.mintedconnect.com
Testing Env
https://api.staging.mintedconnect.com
POST
https://api.staging.mintedconnect.com
/partner/delivery/create
Last modified:2024-07-18 15:22:01
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
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
Body Params application/json
customer
object 
required
external_id
string 
required
firstname
string 
required
lastname
string 
required
phone
string 
required
email
string 
required
external_id
string 
required
sku
string 
required
amount
integer 
required
address
object (Order Address) 
required
billing
object (Billing Address) 
required
shipping
object (Shipping Address) 
required
Example
{
    "customer": {
        "external_id": "{{customer_external_id}}",
        "firstname": "John",
        "lastname": "Due",
        "phone": "+905180001923",
        "email": "[email protected]"
    },
    "external_id": "{% faker datatype.uuid %}",
    "sku": "GAU",
    "amount": 3,
    "address": {
        "billing": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "invoice_type": "Individual",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        },
        "shipping": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        }
    }
}

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/delivery/create' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer": {
        "external_id": "",
        "firstname": "John",
        "lastname": "Due",
        "phone": "+905180001923",
        "email": "[email protected]"
    },
    "external_id": "{% faker datatype.uuid %}",
    "sku": "GAU",
    "amount": 3,
    "address": {
        "billing": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "invoice_type": "Individual",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        },
        "shipping": {
            "company_name": "Şirket Adı",
            "fullname": "John Due",
            "city": "İstanbul",
            "county": "Beykoz",
            "district": "Acarlar Mah.",
            "address": "No: 37/4"
        }
    }
}'

Responses

🟢200OK
application/json
Body
data
object 
required
total
number 
required
items
array [object {2}] 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "id": 1089,
        "guid": "1C19F9BD-2FCB-47C6-BC32-126CE4288C85",
        "order_code": "RHI1GCW3",
        "external_id": null,
        "channel": "web",
        "tx_type": "delivery",
        "price_token": null,
        "price": 70.01,
        "tax": 0,
        "total": 70.01,
        "currency_rate": 1,
        "currency_total": 70.01,
        "status_id": 1,
        "status_name": "Created",
        "order_at": "2023-12-11T11:21:46+03:00",
        "items": [
            {
                "item_currency_id": 1000004,
                "item_currency_name": "Gold",
                "product_id": 3000001,
                "product_name": "Gold - Digital storage",
                "product_weight": 1,
                "spot_price": 0,
                "price": 0,
                "tax_rate": 0,
                "tax": 0,
                "amount": 3,
                "total": 70.01,
                "currency_id": 1000003,
                "currency_rate": 1,
                "currency_total": 70.01
            }
        ],
        "customer": {
            "external_id": "1710174559",
            "firstname": "Enver Engin",
            "middlename": null,
            "lastname": "Bütün",
            "fullname": "Enver Engin Bütün",
            "email": "[email protected]",
            "phone": "+902123001203",
            "gender": "M",
            "identity_number": "21169718780",
            "birthdate": "1985-08-02"
        }
    },
    "success": true,
    "code": 0,
    "message": ""
}
Previous
Delivery - Calculate
Next
Delivery - Create (Pay With Card Payment)
Built with