- Partner
- Genel Bakış
- Buy
- Sell
- Customers
- Balances
- Card Storage
- Delivery
- Product PricesGET
- Get OrdersGET
- Get OrderGET
- Get Order (Alternative)POST
- Partner LegalPOST
- Order StatussesGET
- E-Commerce API
- Catalog
- Customers
- Customer Address
- Checkout
- Legal
- WS
- Minted PricesGET
Delivery - Calculate
Testing
Testing Env
Testing Env
POST
https://api.staging.mintedconnect.com/partner/delivery/calculate
Last modified:2023-12-12 09:16:10
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:
web
api-version
string
optional
Default:
3
Accept-Language
string
optional
Default:
tr
Body Params application/json
customer_external_id
string
required
sku
string
required
amount
number
required
payment_type
string
optional
Example
{
"customer_external_id": "{{customer_external_id}}",
"sku": "GAU",
"amount": 3
}
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/calculate' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_external_id": "",
"sku": "GAU",
"amount": 3
}'
Responses
🟢200OK
application/json
Body
data
object
required
total
number
required
delivery_price
number
required
payment_comission
number
required
items
array [object {2}]
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"total": 72.03,
"delivery_price": 70.01,
"payment_comission": 2.02,
"items": [
{
"name": "Kargo",
"value": 70
},
{
"name": "Sigorta",
"value": 0.01
},
{
"name": "Kredi Kartı Komisyonu",
"value": 2.02
}
]
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2023-12-12 09:16:10